We are getting the data in MQSERIES queue from some other system. Mainframe COBOL program gets those messages, processes it and then puts back to the sender with message as "Successfully processed" along with Correlation ID. My concern is that I am not getting the valid Correlation ID value.
Steps that I did
- Gets the message from queue with syntax as
COMPUTE MQGMO-OPTIONS = (MQGMO-NO-SYNCPOINT +
Following standard MQ reply processing, you should move the inbound MSG-ID to the reply message's MQMD.CorrelId. The requesting program would then issue its MQGET specifying the request MSG-ID as the reply's CORRELID. What advantage would you have in generating a new unique CORRELID on the reply?