Darren,

Ian is correct in his explanation.  You want to make sure the program that is
doing the MQPUT is setting the format of the data portion of the message to
MQSTR for the convert to work when calling MQGET.

Thanks,
Ernest Hanington
Sara Lee Business Services
336/519-2778 (Office)
502/386-2256 (Cell)
[EMAIL PROTECTED]



                      Ian Metcalfe
                      <[EMAIL PROTECTED]>         To:       [EMAIL PROTECTED]
                      Sent by: MQSeries        cc:
                      List                     Subject:  Re: Data conversion on 
mainframe
                      <[EMAIL PROTECTED]
                      n.AC.AT>


                      03/14/2003 05:59
                      AM
                      Please respond to
                      MQSeries List






Hey Darren,

If I understand what you're asking correctly, I believe the recommended way
is to simply use MQGMO_CONVERT on any MQGET calls on queues that may contain
messages from other platforms. If it's a text message type, like MQSTR for
example, it'll automatically be converted to the appropriate type for the
platform you're on.

This works in all cases in my experience, and manually converting within the
application seems to be a bit of a waste of effort to me.

Ian

-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Darren
Douch
Sent: Friday, 14 March 2003 21:29
To: [EMAIL PROTECTED]
Subject: Data conversion on mainframe


Folks

has anyone out there used this call on the mainframe?  I'm trying to use it
in a C / CICS program and not having much joy building (linking) the
application (MQXCNVC not resolving).

Can anyone tell me what MQ uses under the covers for data conversion on the
mainframe ie the equivalent of iconv on AIX... if I can't use MQXCNVC is
there some other way I can do character conversion?

Thanks
Darren.





_________________________________________________________________
Overloaded with spam? With MSN 8, you can filter it out
http://join.msn.com/?page=features/junkmail&pgmarket=en-gb&XAPID=32&DI=1059

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to