|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
EBCDIC-Ascii Channel conversion - problem with RFH2 header. |
« View previous topic :: View next topic » |
Author |
Message
|
afjt |
Posted: Mon May 19, 2003 5:00 am Post subject: EBCDIC-Ascii Channel conversion - problem with RFH2 header. |
|
|
Newbie
Joined: 16 May 2003 Posts: 6 Location: Crewe, Cheshire, UK
|
I'm sending a message from mainframe OS/390 in EBCDIC (CCSID 285) to an ascii platform. Data is being done via channel conversion. The message contains an RFH2 header (which obviously contains binary fields). However, try as I might, I cannot get the channel conversion to work properly with the RFH2 header, presumably due to the presence of these binary fields.
Has anyone else managed to succeed where I've failed ? |
|
Back to top |
|
 |
vmcgloin |
Posted: Mon May 19, 2003 8:01 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Hi,
I seem to remember that MQ does not convert the RFH(2) by design. However if you make sure that your NameValueLength is a multiple of 4 this might help.
Also, have you checked out Chapter 17 of the App Prog Ref (5.3 revision)?
Good luck. |
|
Back to top |
|
 |
rajmq |
Posted: Tue May 20, 2003 3:16 am Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi
I had same issues while doing the our project implementation.
But Solving this issues we need to write own parser on OS/400 Side,it will convert ASCII to EBCDIC.
Hope this will help
regards
raj |
|
Back to top |
|
 |
zpat |
Posted: Tue May 20, 2003 4:30 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Why use channel conversion instead of MQGMO_CONVERT on the MQGET? |
|
Back to top |
|
 |
pgorak |
Posted: Tue May 20, 2003 5:31 am Post subject: |
|
|
 Disciple
Joined: 15 Jul 2002 Posts: 158 Location: Cracow, Poland
|
NameValueData must be in unicode, anyway, so your only concern is the encoding of MQLONG fields in MQRFH2 structure. I'm transferring messages with MQRFH2 between OS/390 and HP-UX and I use channel agent conversion.
Piotr |
|
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
|
|
|
|