Author |
Message
|
sridhsri |
Posted: Thu Sep 25, 2008 9:17 am Post subject: TCP nodes: convert from ASCII to EBCIDIC |
|
|
Master
Joined: 19 Jun 2008 Posts: 297
|
I have message flow running on a broker on Windows that receives a message from a TCPServerInput node. This message then needs to be sent to a mainframe TCP server. I need to convert this message from ASCII to EBCDIC. Does anyone know how I can do this conversion ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 25, 2008 9:48 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
Change the CCSID on the data....  _________________ MQ & Broker admin |
|
Back to top |
|
 |
zpat |
Posted: Thu Sep 25, 2008 11:58 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5867 Location: UK
|
Use CAST in ESQL in a compute node. |
|
Back to top |
|
 |
Bill.Matthews |
Posted: Thu Sep 25, 2008 4:40 pm Post subject: |
|
|
 Master
Joined: 23 Sep 2003 Posts: 232 Location: IBM (Retired)
|
I'll second fjb_saper's response.
When the input message is read, the message tree (unless it is read as a blob, is stored using 2 bytes per character. It is converted back to a single byte based on the CCSID associated with the message.
Thats really all it takes. _________________ Bill Matthews |
|
Back to top |
|
 |
sridhsri |
Posted: Fri Sep 26, 2008 8:02 am Post subject: |
|
|
Master
Joined: 19 Jun 2008 Posts: 297
|
thanks fjb_saper and Bill.Matthews. I'll try it out.
zpat, I don't think cast would work in this case. |
|
Back to top |
|
 |
|