Author |
Message |
Topic: Question on MQHRF2 data format |
chandru3183
Replies: 28 Views: 53509
|
Forum: Mainframe, CICS, TXSeries Posted: Wed Apr 26, 2017 10:42 am Subject: Question on MQHRF2 data format |
Can anyone please provide the sample COBOL statements before and after the MQSETMP call? |
Topic: Question on MQHRF2 data format |
chandru3183
Replies: 28 Views: 53509
|
Forum: Mainframe, CICS, TXSeries Posted: Wed Apr 26, 2017 10:15 am Subject: Question on MQHRF2 data format |
Perhaps this is the code snippet Bruce was referencing:
IF COMPCODE NOT = MQCC-OK THEN
MOVE 'SETMP' TO ERROR-REQUEST
MOVE REASON TO ERR-RC
GO TO ... |
Topic: Question on MQHRF2 data format |
chandru3183
Replies: 28 Views: 53509
|
Forum: Mainframe, CICS, TXSeries Posted: Wed Apr 26, 2017 9:40 am Subject: Question on MQHRF2 data format |
I hope we need to call MQPUT.
I referred the below links but they did not talk about what needs to be performed after the MQSETMP call.
https://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex ... |
Topic: Question on MQHRF2 data format |
chandru3183
Replies: 28 Views: 53509
|
Forum: Mainframe, CICS, TXSeries Posted: Mon Apr 24, 2017 10:04 am Subject: Question on MQHRF2 data format |
Thanks all for the response. The provided manual says CALL 'MQSETMP' statement creates new properties. We need to call MQCRTMH prior to this call. |
Topic: Question on MQHRF2 data format |
chandru3183
Replies: 28 Views: 53509
|
Forum: Mainframe, CICS, TXSeries Posted: Tue Apr 18, 2017 6:49 pm Subject: Question on MQHRF2 data format |
I referred MQSETMP program from the below link and trying to incorporate the changes in my program.
WORKING-STORAGE SECTION.
Declare the parameters as follows:
** Connection handle
01 ... |
Topic: Question on MQHRF2 data format |
chandru3183
Replies: 28 Views: 53509
|
Forum: Mainframe, CICS, TXSeries Posted: Mon Apr 17, 2017 11:08 pm Subject: Question on MQHRF2 data format |
I have searched with the above combination but unable to get the exact COBOL statement to populate the header or Meta data like the below. I really don't know where I am lacking.
Message Type: ... |
Topic: Question on MQHRF2 data format |
chandru3183
Replies: 28 Views: 53509
|
Forum: Mainframe, CICS, TXSeries Posted: Sat Apr 15, 2017 6:35 am Subject: Question on MQHRF2 data format |
Thanks for the response.
I searched in Google with multiple combination of above keywords but didn't get the expected variable in COBOL.
I have also tried the options in MQMD parameters and related ... |
Topic: Question on MQHRF2 data format |
chandru3183
Replies: 28 Views: 53509
|
Forum: Mainframe, CICS, TXSeries Posted: Fri Apr 14, 2017 8:58 pm Subject: Question on MQHRF2 data format |
Could you please let me know which property name I should use in COBOL program to implement user defined header caption.
I searched in Google but no luck |
Topic: Question on MQHRF2 data format |
chandru3183
Replies: 28 Views: 53509
|
Forum: Mainframe, CICS, TXSeries Posted: Fri Apr 14, 2017 9:06 am Subject: Question on MQHRF2 data format |
Could you please let me know whether it is possible to replace header with User defined header using
COBOL application program?
For example
Before changes:
Header 0:
After changes:
My header: |
Topic: Question on MQHRF2 data format |
chandru3183
Replies: 28 Views: 53509
|
Forum: Mainframe, CICS, TXSeries Posted: Sat Apr 08, 2017 8:33 am Subject: Question on MQHRF2 data format |
Thank you all for the response. MQ admin was on vacation. As suggested in the post, he configured using message properties. All the headers are coming as expected now. |
Topic: Question on MQHRF2 data format |
chandru3183
Replies: 28 Views: 53509
|
Forum: Mainframe, CICS, TXSeries Posted: Sat Apr 01, 2017 11:20 pm Subject: Question on MQHRF2 data format |
Hi ,
We have developed COBOL-CICS to call 'MQPUT' for MQHRF2 format.
When we see the MQ output, we are getting the payload message with junk character.
Sample format
Encoding : '273'
... |