Author |
Message
|
bruce2359 |
Posted: Tue Sep 16, 2008 9:27 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
What ReasonCode did you receive? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
VijayGoparaju` |
Posted: Tue Sep 16, 2008 9:33 pm Post subject: |
|
|
Acolyte
Joined: 26 Aug 2008 Posts: 72
|
I am getting only the First Message always....When I cilck NEXT Button... |
|
Back to top |
|
 |
Mr Butcher |
Posted: Tue Sep 16, 2008 10:51 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
Just rename the button to "FIRST" and you are fine.
sorry, could not resist  _________________ Regards, Butcher |
|
Back to top |
|
 |
VijayGoparaju` |
Posted: Tue Sep 16, 2008 10:55 pm Post subject: |
|
|
Acolyte
Joined: 26 Aug 2008 Posts: 72
|
Please tell me how to move the Cursor position to the next Records and Display them without putting them in a loop...
Where to put this line:
queueGetMessageOptions.Options = MQC.MQGMO_BROWSE_MSG_UNDER_CURSOR;
Please Help Me,
I am in a urgent need to do this..
Thanks in Advance,
Vijay. |
|
Back to top |
|
 |
markt |
Posted: Tue Sep 16, 2008 11:28 pm Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
Are you trying to get someone to do your homework for you? Please READ THE DOCUMENTATION and GET SOME TRAINING. |
|
Back to top |
|
 |
VijayGoparaju` |
Posted: Wed Sep 17, 2008 1:10 am Post subject: |
|
|
Acolyte
Joined: 26 Aug 2008 Posts: 72
|
I have tried already but I didn't get that..
Please Help me,
Vijay |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Sep 17, 2008 6:06 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
At successful completion of MQGET, the msgid and correlid fields in the MQMD are set to the msgid/correlid of the message.
After you successfully MQGET the particular message you want (by setting msgid and correlid in the MQMD), in order to get the next message in the queue, BEFORE the next MQGET you must initialize the msgid and correlid in the MQMD to MQMI_NONE and MQCI_NONE. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Sep 17, 2008 6:10 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
markt wrote: |
Are you trying to get someone to do your homework for you? Please READ THE DOCUMENTATION and GET SOME TRAINING. |
My high school junior is always trying to get me to do some of his homework for him. About all that I'll do is read over what he has done and give criticism. How often do you get a teenager to ask you to criticize them?  |
|
Back to top |
|
 |
VijayGoparaju` |
Posted: Wed Sep 17, 2008 8:39 pm Post subject: |
|
|
Acolyte
Joined: 26 Aug 2008 Posts: 72
|
Is there any method where we can send the Index?
Thanks,
Vijay... |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Sep 18, 2008 4:50 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
VijayGoparaju` wrote: |
Is there any method where we can send the Index? |
Did I miss something? I'm not sure what the Index is. As far as sending it is concerned, just copy it to the payload of the message and issue an MQPUT. |
|
Back to top |
|
 |
dkeister |
Posted: Thu Sep 18, 2008 5:35 am Post subject: |
|
|
Disciple
Joined: 25 Mar 2002 Posts: 184 Location: Purchase, New York
|
Who knows what he is thinking. The Index might be the browse cursor which was referenced in other posts from this person who obviously does not have much MQ knowledge and does not appear to want to put the effort in to read and UNDERSTAND the GOOD manuals provided by IBM. However, it might be something totally different, but I'm not aware of
By the way for ANYONE INTERESTED, there is a detailed description on 'Browsing messages on a queue' starting on page 142 of the MQSeries Application Programming Guide. It is in Chapter 10 - Getting messages from a queue which if read and understood would answer almost all of the questions recently posted on this topic.
By the way, the only reference to Index in the APG is for Indexed queues, IMS, and INDEX TYPE(z/OS only), which I don't believe should be part of the 'exercise' so who knows??? _________________ Dean Keister |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Thu Sep 18, 2008 7:37 am Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
If nothing else, this thread has been good for a laugh this morning. |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Sep 18, 2008 9:07 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
dkeister wrote: |
By the way for ANYONE INTERESTED, there is a detailed description on 'Browsing messages on a queue' starting on page 142 of the MQSeries Application Programming Guide. It is in Chapter 10 - Getting messages from a queue which if read and understood would answer almost all of the questions recently posted on this topic. |
I found this really cool link on the internet. It is to the WMQ documentation:
http://www-01.ibm.com/software/integration/wmq/library/
 |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Sep 18, 2008 9:08 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Whoop! Whoop! Whoop! Sarcasm alert. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Sep 18, 2008 9:09 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
<just read my signature> _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|