|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Conversion to EBCDIC |
« View previous topic :: View next topic » |
Author |
Message
|
mq_pm |
Posted: Thu Apr 08, 2004 9:51 am Post subject: Conversion to EBCDIC |
|
|
Centurion
Joined: 27 Aug 2003 Posts: 132
|
Hi,
I used to use TSO console for messages to check the responses from the Mainframe. But now I don't have access to it, so need to construct a flow which does this function.
I have a request message which v give in the TSO console like
seq\/ad1any street\/ad2anytown\/ad3frankfurk,de\/dlcfrxx26413j\/dob01jan52\....
Since Mainframe accepts EBCDIC, I just can't put the message like that, I need to convert to EBCDIC.
Basically I don't want use the conversion to MRM so......Is there any other way???
I tried like i/p node takes the text message and setting the header attributes in the compute node and setting th Encoding=785 and CCSID=37. But no luck. Hope the Question is clear.
Any help would be appreciated.
Thanks in Advance. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 08, 2004 10:02 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's not really clear, but I'll take a stab at it.
You're trying to pass a message to a program that has replaced a TSO console screen. You want to know how to construct that message, so that when this replacement program receives it, it is in EBCDIC.
What should happen is that the replacement program should use the Convert option on the GET, to convert the message data from whatever codepage and encoding it's in when it's on the queue.
Then you can build your message in a local codepage and encoding, and trust that the conversion will happen automatically. There are some character encoding issues to be aware of, though, like certain EBCDIC code pages do not properly support converting the pipe '|' character to and from ASCII. But otherwise, you should be okay.
If you can't change the receiving program to issue the Convert option, you can enable your channels to perform the needed data conversion.
But if you're not passing messages across MQSeries channels, and you can't change the receiving program, you will have to manually convert the data.
Or perhaps you could use the ASBITSTREAM function to collapse a Unicode message tree in the WBIMB into an EBCDIC bitstream. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mq_pm |
Posted: Mon Apr 26, 2004 10:43 am Post subject: |
|
|
Centurion
Joined: 27 Aug 2003 Posts: 132
|
Hi,
Let me clear the Question:
we have MQSI 2.1. PTF CSD03.
I need to construct a flow where the input message is like this:
12000099PGEN px/dob01jan52\/PUD25nov02/....
So now i need to send this message to mainframes. Usually we do using the MRM format and do transformation.........But now i don't want to do any transformations to the message. I will take the incoming message and send the message to mainframes. So before sending i can't just send the text message. The message before going to mainframe should be in the EBCDIC format.So how can i do that.
I am passing the messages thro MQ channels.
I hope the Q is clear.
ASBITSTREAM need a PTF of CSD04 i guess.
Any help is appreciated.
Thanks in advance. |
|
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
|
|
|
|