View previous topic :: View next topic |
Author |
Message |
powerhawk Beginner
Joined: 08 Nov 2004 Posts: 28 Topics: 4 Location: Stockholm
|
Posted: Wed Jan 13, 2016 8:28 am Post subject: Using message properties in MQ |
|
|
I'm struggle with having this to work but I fail.
I've set the message properties using
CALL 'MQCRTMH' and CALL 'MQSETMP' getting 0 in Compcode and reasoncode
In the MQPUT session I've moved the message handle I got from MQCRTMH to MQPMO-ORIGINALMSGHANDLE
The MQPUT give 0 in Compcode and reasoncode but I can't find my message properties in the MQ Message.
Do anyone know if I have to do other changes in MQOPEN och MQPUT to get this to work? |
|
Back to top |
|
|
powerhawk Beginner
Joined: 08 Nov 2004 Posts: 28 Topics: 4 Location: Stockholm
|
Posted: Wed Jan 13, 2016 10:27 am Post subject: |
|
|
The best thing with Forums like this is when you describe your problem you increase the possibility of solving the problem. I've solved it myself.
Added the statement MOVE MQPMO-VERSION-3 TO MQPMO-VERSION before the MQPUT and the properties appeared. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12367 Topics: 75 Location: San Jose
|
Posted: Wed Jan 13, 2016 10:41 am Post subject: |
|
|
powerhawk wrote: | The best thing with Forums like this is when you describe your problem you increase the possibility of solving the problem. I've solved it myself.
Added the statement MOVE MQPMO-VERSION-3 TO MQPMO-VERSION before the MQPUT and the properties appeared. |
Powerhawk,
Great job. Kudos to you. You not only the solved the problem but also helped future posters who run into the same issue. Thanks _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|