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 » WebSphere Message Broker (ACE) Support » TCP nodes: convert from ASCII to EBCIDIC

Post new topic  Reply to topic
 TCP nodes: convert from ASCII to EBCIDIC « View previous topic :: View next topic » 
Author Message
sridhsri
PostPosted: Thu Sep 25, 2008 9:17 am    Post subject: TCP nodes: convert from ASCII to EBCIDIC Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Sep 25, 2008 9:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Change the CCSID on the data....
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Thu Sep 25, 2008 11:58 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Use CAST in ESQL in a compute node.
Back to top
View user's profile Send private message
Bill.Matthews
PostPosted: Thu Sep 25, 2008 4:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
sridhsri
PostPosted: Fri Sep 26, 2008 8:02 am    Post subject: Reply with quote

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
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 » WebSphere Message Broker (ACE) Support » TCP nodes: convert from ASCII to EBCIDIC
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.