|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
RFH and Cobol on OS/390 |
« View previous topic :: View next topic » |
Author |
Message
|
RNStanich |
Posted: Fri May 03, 2002 12:03 pm Post subject: |
|
|
Acolyte
Joined: 23 Apr 2002 Posts: 64
|
Howdy, does anyone have any experience with passing a RFH2 header between WMQI and OS/390, using Cobol? We recently upgraded to V5.2 on the "big box" to expose the rfh structure, but using it still seems bit oriented. Might be easier in assembler...
Any tips, techniques, guidelines you would care to share using these pieces of MQ? Parsing through the variable rfh information? Rebuild the rfh leaving MVS?
_________________ Regards, Bob |
|
Back to top |
|
 |
dod |
Posted: Mon May 06, 2002 5:38 am Post subject: |
|
|
Newbie
Joined: 15 Apr 2002 Posts: 4
|
Can't help you there, but do have one small question - Does MQ on the "big box" handle the conversion of the header from UTF to EBCDIC, or are you doing this yourself?
|
|
Back to top |
|
 |
RNStanich |
Posted: Mon May 06, 2002 9:28 am Post subject: |
|
|
Acolyte
Joined: 23 Apr 2002 Posts: 64
|
Truthfully, I'm in the middle of figuring that out now. This is where I stand on conversion, perhaps someone with experience can offer some thoughts.
The message originates from WMQI on W2K. It contains an rfh header, an <mcd> folder and a <usr> folder, plus 47 bytes of "application data". By specifing rfh-encoding = 546, rfh-codedcharsetid = 437, rfh-format="MQSTR " and rfh-namevalueccsid = 1208, the following happens. The 36 bytes of the fixed rfh header are converted to EBCDIC. The application data is converted to EBCDIC. The data within the <mcd> and <usr> tags are ignored.
Is this the proper behavior? Converting the rfh fixed area and the application data is good, but by not converting the namevalue paired data, I cannot use it. At least not without my own conversion process. Should I expect that the OS/390 qmgr (BTW V5.2) would convert the namevalue data? Is the CCSID of 1208 causing the problem on OS/390?
_________________ Regards, Bob |
|
Back to top |
|
 |
RNStanich |
Posted: Mon May 06, 2002 9:28 am Post subject: |
|
|
Acolyte
Joined: 23 Apr 2002 Posts: 64
|
Truthfully, I'm in the middle of figuring that out now. This is where I stand on conversion, perhaps someone with experience can offer some thoughts.
The message originates from WMQI on W2K. It contains an rfh header, an <mcd> folder and a <usr> folder, plus 47 bytes of "application data". By specifing rfh-encoding = 546, rfh-codedcharsetid = 437, rfh-format="MQSTR " and rfh-namevalueccsid = 1208, the following happens. The 36 bytes of the fixed rfh header are converted to EBCDIC. The application data is converted to EBCDIC. The data within the <mcd> and <usr> tags are ignored.
Is this the proper behavior? Converting the rfh fixed area and the application data is good, but by not converting the namevalue paired data, I cannot use it. At least not without my own conversion process. Should I expect that the OS/390 qmgr (BTW V5.2) would convert the namevalue data? Is the CCSID of 1208 causing the problem on OS/390?
_________________ Regards, Bob |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|