Author |
Message
|
sairamyogeta |
Posted: Wed Feb 18, 2009 1:31 am Post subject: Read the MQ ?? HOW ? |
|
|
Newbie
Joined: 18 Feb 2009 Posts: 4
|
Hello everybody,
I would want to see if the messages inside the Queue being Persistent or not. How do i find that ??
Regards,
Yogeetha
Systems programmer |
|
Back to top |
|
 |
exerk |
Posted: Wed Feb 18, 2009 1:40 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Look in the MQMD!  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 18, 2009 1:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
As you're new, I'll politely point out that double posting is considered rude, and if you find your post is in the wrong section you should ask a moderator to move it.
I'll less politely point out that the answer to a question seldom changes even if you ask it twice, and point you to the answer I gave you here!
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sairamyogeta |
Posted: Wed Feb 18, 2009 2:24 am Post subject: |
|
|
Newbie
Joined: 18 Feb 2009 Posts: 4
|
Hello Vitor,
Yes, i was thinking i made a blunder there and posted here so people could reply. Not being rude to any..
INfact this is my first post...
I am into Mainframes and totally new to MQ, I am into CICS support and now have taken over MQ. So would really need Novice support |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 18, 2009 3:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sairamyogeta wrote: |
So would really need Novice support |
No, you need a) a training course and b) some serious time with the manuals. The forum's not a training resource. Imagine being sat down in front of a CICS system with no training; you'd not get far.
Start with the Intercommunication manual, work through the various z/OS manuals (note that there are significant differences between z/OS and distributed platforms in terms of implementation & administration) then skim through the application programming manuals so you've some idea what the app teams are talking about. _________________ Honesty is the best policy.
Insanity is the best defence.
Last edited by Vitor on Wed Feb 18, 2009 3:29 am; edited 1 time in total |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 18, 2009 3:24 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
sairamyogeta wrote: |
I am into Mainframes and totally new to MQ, I am into CICS support and now have taken over MQ. So would really need Novice support |
Please pay attention to this.
This forum DOES NOT PROVIDE SUPPORT. This forum DOES NOT PROVIDE TRAINING.
Go read the documentation, twice. If there's a piece of the documentation that you don't understand, attempt to design an experiment to assist you with it. If it doesn't work, or if you do not understand why it DOES work, you may get someone to explain a specific, particular piece of things. But you'd likely get a lot of flack if you don't post the full details.
Troubleshooting 101: What is the error message? What does the documentation say about the error message? |
|
Back to top |
|
 |
MQEnthu |
Posted: Thu Feb 19, 2009 1:22 am Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
|
Back to top |
|
 |
zpat |
Posted: Thu Feb 19, 2009 2:05 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If you are simply curious to see the messages, then use a tool like MQ Explorer, support pac MO71 or IH03, or some other tool.
These will show (optionally) fields from the MQMD (which they do by browsing messages).
If you need to programmatically look at persistence (can't imagine why) then the MQMD (message descriptor) is returned by MQGET.
The MQMD fields are listed in the programming reference manual.
If you need a mainframe specific way of doing this please ask. Most tools will connect to mainframe QMs as a client though. |
|
Back to top |
|
 |
|