John J. Leonard
2014-03-18 15:00:04 UTC
We have an application which generates its own 24 byte all character
message-id. Example ‘123456789012345678901234’ . Before the put the
application moves the character message-id to MQMD-MSGID defined in the
MQMD copybook. Than it does the put. Next the application takes the
character message-id and places it in the body of a second message. Then it
puts the second message on a queue.
The second message is picked up by a distributed application. The distributed
application takes the message-id ‘123456789012345678901234’ from the body
of the message and uses it as the correlation id to do a get by correlation-id
to read the first message. That get by correlation-id fails no-message
available.
The only way we can make that get by correlation-id work is preface each
number with F? End up with this
X’F1F2F3F4F5F6F7F8F9F0F1F2F3F4F5F6F7F8F9F0F1F2F3F4’.
Yes I am aware F1 is EBCIDIC for ‘1’ etc…but I don’t understand why the
distributed application can’t just use the character message-id as is.
<br><hr><center><font size=-1>
<a href="http://listserv.meduniwien.ac.at/archives/mqser-l.html">List Archive</a> -
<a href="http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1">Manage Your List Settings</a> -
<a href="mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%20mqseries">Unsubscribe</a>
</font><font size=-1><p>
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at <a href="http://www.lsoft.com/resources/manuals.asp">http://www.lsoft.com</a>
</p></font>
</center>
message-id. Example ‘123456789012345678901234’ . Before the put the
application moves the character message-id to MQMD-MSGID defined in the
MQMD copybook. Than it does the put. Next the application takes the
character message-id and places it in the body of a second message. Then it
puts the second message on a queue.
The second message is picked up by a distributed application. The distributed
application takes the message-id ‘123456789012345678901234’ from the body
of the message and uses it as the correlation id to do a get by correlation-id
to read the first message. That get by correlation-id fails no-message
available.
The only way we can make that get by correlation-id work is preface each
number with F? End up with this
X’F1F2F3F4F5F6F7F8F9F0F1F2F3F4F5F6F7F8F9F0F1F2F3F4’.
Yes I am aware F1 is EBCIDIC for ‘1’ etc…but I don’t understand why the
distributed application can’t just use the character message-id as is.
<br><hr><center><font size=-1>
<a href="http://listserv.meduniwien.ac.at/archives/mqser-l.html">List Archive</a> -
<a href="http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1">Manage Your List Settings</a> -
<a href="mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%20mqseries">Unsubscribe</a>
</font><font size=-1><p>
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at <a href="http://www.lsoft.com/resources/manuals.asp">http://www.lsoft.com</a>
</p></font>
</center>