Author |
Message
|
RAHULTHOTA |
Posted: Thu Jan 30, 2003 8:13 pm Post subject: [Solved] BROWSE QUEUE FOR MESSAGE NSKTandem |
|
|
Novice
Joined: 13 Dec 2002 Posts: 13
|
I am working on NSKTandem with MQ5.1 . I just want to know is there any way i can browse through the message in the queue as available in UNIX and WINDOWS. |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Jan 31, 2003 5:48 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I've never messed with Tandem, but I would assume that they ship the amqsbcg0.c sample. This program will browse a message queue. |
|
Back to top |
|
 |
mqonnet |
Posted: Fri Jan 31, 2003 5:59 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
AMQSBCG in ZMQSSMPL subvolume is your answer.
Cheers
Kumar _________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
LuisFer |
Posted: Fri Jan 31, 2003 8:20 am Post subject: |
|
|
 Partisan
Joined: 17 Aug 2002 Posts: 302
|
Kumar:
The sample is AMQSGBR (the exe) & AMQSGBR0 (the source). Remember, loading the PARAM MQDEFAULTPREFIX in the TACL sesion.(or wil obtain a 2058 RC).
Regards. |
|
Back to top |
|
 |
mqonnet |
Posted: Fri Jan 31, 2003 10:11 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
AMQSBCGR???
On which platform.
On NSK 5.1 the standard supplied samples has AMQSBCG which is the executable and AMQSBCG0 which is the source.
Cheers.
Kumar _________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
LuisFer |
Posted: Sat Feb 01, 2003 12:42 am Post subject: |
|
|
 Partisan
Joined: 17 Aug 2002 Posts: 302
|
Hi Kumar:
In MQSeries NSK V51 ,in the ZMQSSMPL Subvol the program AMQSGBR 700 Code File is a MQGET with Browse options, in C Leng. The AMQ0GBR is another sample in Cobol. |
|
Back to top |
|
 |
mqonnet |
Posted: Mon Feb 03, 2003 5:45 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
LuisFer,
AMQSBCG is to read the md and the context for each message on queue, whereas AMQSGBR is to read ONLY the message from the queue. That was the subtle difference.
Cheers.
Kumar _________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
LuisFer |
Posted: Mon Feb 03, 2003 8:50 am Post subject: |
|
|
 Partisan
Joined: 17 Aug 2002 Posts: 302
|
It's true
Tkanks too. |
|
Back to top |
|
 |
|