Can u run the program under either Intertest (CICS) or Experditor
(CICS/BATCH) and verify the value of the Correl ID befor the PUT and before
the GET?? Also the value of the same field in the working program after the
successful GET????



    bobbee






From: "Shah, Urvesh (CAP, GEFA Contractor)" <[EMAIL PROTECTED]>
Reply-To: MQSeries List <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: MQGET with CORRELID on OS/390.
Date: Mon, 18 Nov 2002 20:55:31 -0500

Thanks for your responses.

I changed the MQGMO-VERSION to 2 but no luck.

With respect to some previous suggestions from Nick DiLauro (1,2) and Tim
Armstrong (3):

1. The messages are committed to the queue as I can display those messages
using a different program that reads the queue without using any match
options.

2. To check if the byte values are the same in the actual correlid and the
one that I am moving, I used an intermediate variable with same definition
in both the programs and then used that variable to move the value to
MQMD-CORRELID field.

3. As regards z/OS and the IndexType attribute - the queue is indexed on
correlid as mentioned in my 1st email post and I am working on OS/390 v2.1
which is a predecessor to z/OS. I had also checked the IndexType attribute
earlier but did not find anything specific to z/OS.

Thanks again and best regards,

Urvesh.

-----Original Message-----
From: Randy J Clark [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 6:48 PM
To: [EMAIL PROTECTED]
Subject: Re: MQGET with CORRELID on OS/390.


Is your  MQGMO-VERSION = (2 or 3)

If not and its set to the default of 1 then I believe matchoptions are
ignored.






"DiLauro, Nick" <[EMAIL PROTECTED]>@AKH-WIEN.AC.AT> on 11/18/2002 03:32:16
PM

Please respond to MQSeries List <[EMAIL PROTECTED]>

Sent by:    MQSeries List <[EMAIL PROTECTED]>


To:    [EMAIL PROTECTED]
cc:
Subject:    Re: MQGET with CORRELID on OS/390.


The default on OS390 is 3 which is the combination of 1 (match msg id) and
2
(match correlid), so adding 2 more gives 5 which is 4 (match group id) and
1
(match msg id), I think.  Anyway, you're original code of moving MQMO-NONE
(0) and then adding MQMO-MATCH-CORREL-ID (2) should have given you the
desired value of 2.  Are you sure the messages are committed to the queue?
Are you sure the value '12345' you are moving into the field (right filled
with spaces) has the same byte value as the actual correlid of the message?



-----Original Message-----
From: Shah, Urvesh (CAP, GEFA Contractor)
[mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 2:28 PM
To: [EMAIL PROTECTED]
Subject: Re: MQGET with CORRELID on OS/390.


I have. Sorry, I did not mention it before.

I have these 2 lines *before* the code I mentioned in my previous email.

MOVE MQMI-NONE TO MQMD-MSGID
MOVE MQCI-NONE TO MQMD-CORRELID

Thanks and regards,

Urvesh.

-----Original Message-----
From: Ronald Weinger [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 4:33 PM
To: [EMAIL PROTECTED]
Subject: Re: MQGET with CORRELID on OS/390.


Try moving the appropriate 'none' value to MQMD-MSGID.






"Shah, Urvesh (CAP, GEFA Contractor)" <[EMAIL PROTECTED]>
@AKH-Wien.AC.AT> on 11/18/2002 03:23:16 PM

Please respond to "MQSeries List" <[EMAIL PROTECTED]>

Sent by:    "MQSeries List" <[EMAIL PROTECTED]>


To:    [EMAIL PROTECTED]
cc:
Subject:    MQGET with CORRELID on OS/390.

Hi,

I am trying to select a message based on the value in MQMD-CORRELID and am
not able to.

Here's what I am doing:

1. Putting 3 messages in a local queue in batch mode with the correlId's
set
as '12345', '88888' and '99999'.
2. Trying to get the message with the correlId = '12345' with the following
code (again using a different program in batch):

        MOVE '12345' TO MQMD-CORRELID
        MOVE MQMO-NONE TO MQGMO-MATCHOPTIONS
        ADD MQMO-MATCH-CORREL-ID TO MQGMO-MATCHOPTIONS

The queue is PUT and GET enabled with INDEX TYPE = C (for CORREL-ID).

I tried commenting the second line in the code above making the
MATCHOPTIONS
field value = 5 (3 default + 2 for MQMO-CORREL-ID), but it doesn't seem to
retrieve the message with correl-id = '12345'.

Any pointers??

Thanks in advance for your help.

Best regards,

Urvesh.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive







The information contained in this message may be CONFIDENTIAL and is for
the
intended addressee only.  Any unauthorized use, dissemination of the
information, or copying of this message is prohibited.  If you are not the
intended addressee, please notify the sender immediately and delete this
message.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to