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 IBM MQ Support » MQGet from Zos queue

Post new topic  Reply to topic
 MQGet from Zos queue « View previous topic :: View next topic » 
Author Message
DeonM
PostPosted: Wed Feb 17, 2016 4:28 am    Post subject: MQGet from Zos queue Reply with quote

Newbie

Joined: 23 May 2008
Posts: 6

Hi, need some help on he following.

client application using the following option on the MQGET from Zos queue:

gmo.setOptions(MQGMO_CONVERT + MQGMO_NO_WAIT + MQGMO_SYNCPOINT + MQGMO_FAIL_IF_QUIESCING + MQGMO_LOGICAL_ORDER + MQGMO_ALL_MSGS_AVAILABLE + MQGMO_ALL_SEGMENTS_AVAILABLE);
mesg.setCharacterSet(CCSID_UTF8);

The message in the client application is unreadable (message still in EBCDIC). When using MQMon or MQExplorer to browse it's fine (Message display in ASCII.)

Can it also be something on the put options ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 17, 2016 5:22 am    Post subject: Re: MQGet from Zos queue Reply with quote

Grand High Poobah

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

DeonM wrote:
Hi, need some help on he following.

client application using the following option on the MQGET from Zos queue:

gmo.setOptions(MQGMO_CONVERT + MQGMO_NO_WAIT + MQGMO_SYNCPOINT + MQGMO_FAIL_IF_QUIESCING + MQGMO_LOGICAL_ORDER + MQGMO_ALL_MSGS_AVAILABLE + MQGMO_ALL_SEGMENTS_AVAILABLE);
mesg.setCharacterSet(CCSID_UTF8);

The message in the client application is unreadable (message still in EBCDIC). When using MQMon or MQExplorer to browse it's fine (Message display in ASCII.)

Can it also be something on the put options ?

What is the format of the message?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PaulClarke
PostPosted: Wed Feb 17, 2016 10:21 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

Just because MO71 displays the text as readable doesn't necessarily mean that the data has been converted. MO71 has a preference option 'Convert EBCDIC for display' where it will try to predict whether the character data it is looking at is ASCII or EBCDIC and display is accordingly. This can be very useful for displaying the content of a message without converting it or looking at the characters making up a Message Id or Correl Id. However, it does not imply that the data was converted successfully by the Queue Manager.

Cheers,

Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQGet from Zos queue
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.