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 » General Discussion » problem when sending EBCDIC msg from TPF to a UNIX machine.

Post new topic  Reply to topic
 problem when sending EBCDIC msg from TPF to a UNIX machine. « View previous topic :: View next topic » 
Author Message
aninair
PostPosted: Wed Jan 15, 2003 11:07 pm    Post subject: problem when sending EBCDIC msg from TPF to a UNIX machine. Reply with quote

Novice

Joined: 30 Oct 2002
Posts: 10

> One of our projects face a translation problem when sending EBCDIC msg
from
> TPF to a UNIX machine.
>
> The flow of the message is TPF -> MQ -> JMS Client.
>
> TPF will put EBCDIC message on the MQ Server, and the JMS Client will
> retrieve it as ASCII.
>
> The client, previously on NT, have no problems in translating all the
> EBCDIC characters in the message.
>
> When moved to UNIX, the client could not decode the EBCDIC CR/LF to
ASCII.
> The CR/LF is given as 156C in EBCDIC and should be translated to 0A0D in
> ASCII.
>
> I have changed the CCSID to 819 on the UNIX machine but the CR/LF is
still
> not translated. All other characters are translated correctly except for
> the carriage return and line feed.
>
> Could u provide some insight on this?
>
> Below is a sample MQMD sent by TPF, as viewed in MQ server:
>
> MQMD (Message Descriptor):
>
> StrucId MD
> Version 1
> Report 0x00000000 (MQRO_COPY_MSG_ID_TO_CORREL_ID)
> (MQRO_NEW_MSG_ID)
> (MQRO_NONE)
> MsgType 0x00000008 (MQMT_DATAGRAM)
> Expiry -1 (MQEI_UNLIMITED)
> Feedback 0x00000000 (MQFB_NONE)
> Encoding 0x00000000 (MQENC_INTEGER_UNDEFINED)
> (MQENC_DECIMAL_UNDEFINED)
> (MQENC_FLOAT_UNDEFINED)
> CodedCharSetId 500
> Format MQSTR
> Priority 1
> Persistence 0x00000001 (MQPER_PERSISTENT)
> MsgId 0x414D5120 51444D53 44303020 20202020 3E1CFFA7
> 01B9C013
> CorrelId 0x00000000 00000000 00000000 00000000 00000000
> 00000000
> BackoutCount 0
> ReplyToQ
> ReplyToQMgr QDMSD00
> UserIdentifier mqm
> ApplIdentityData
> PutApplType 23
> PutApplName UMQ0
> PutDate 20030114
> PutTime 04005850
> ApplOriginData
>
>
> Thanks.



_________________
anita nair
Back to top
View user's profile Send private message
mrlinux
PostPosted: Thu Jan 16, 2003 4:41 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well 3 Questions

1) Did your NT MQ Channels have CONVERT set to YES ???
2) Are you using MQGET with CONVERT ???
3) Is the message format in the MQMD set to MQFMT_STRING ????
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » problem when sending EBCDIC msg from TPF to a UNIX machine.
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.