ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » RFH and Cobol on OS/390

Post new topic  Reply to topic
 RFH and Cobol on OS/390 « View previous topic :: View next topic » 
Author Message
RNStanich
PostPosted: Fri May 03, 2002 12:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
dod
PostPosted: Mon May 06, 2002 5:38 am    Post subject: Reply with quote

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
View user's profile Send private message
RNStanich
PostPosted: Mon May 06, 2002 9:28 am    Post subject: Reply with quote

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
View user's profile Send private message
RNStanich
PostPosted: Mon May 06, 2002 9:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » RFH and Cobol on OS/390
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.