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 » IBM MQ API Support » Unicode on Z/OS and buffer length of MQGET

Post new topic  Reply to topic
 Unicode on Z/OS and buffer length of MQGET « View previous topic :: View next topic » 
Author Message
JohnGee
PostPosted: Tue Aug 23, 2005 12:28 pm    Post subject: Unicode on Z/OS and buffer length of MQGET Reply with quote

Newbie

Joined: 07 Apr 2005
Posts: 8

MQ V5.2 on the mainframe. Just trying to confirm a problem and solution and any help would be appreciated. When using MQGET for a unicode message and the buffer & buffer length is not double what the true message size is we get truncated messages. If the buffer is long enough to hold the message in unicode format then it gets converted to ebcdic correctly and the ending message length is the true, character, message length.

Does an application really need to set the buffer length based upon the codeset of the message?

Thanks!
Back to top
View user's profile Send private message
JohnGee
PostPosted: Tue Aug 23, 2005 2:40 pm    Post subject: Reply with quote

Newbie

Joined: 07 Apr 2005
Posts: 8

Nevermind, though I welcome all comments. I found an APAR(CSQC746E) from IBM that states the buffer specified must be large enough to accommodate the message both before and after conversion.
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 » IBM MQ API Support » Unicode on Z/OS and buffer length of MQGET
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.