Posted: Mon May 07, 2007 12:36 am Post subject: Broker to AS/400 - MQMD setttings
Master
Joined: 21 Apr 2007 Posts: 282
Hi
I am sending my messages from broker to AS/400
Do i need to set the MQMD properties like CCSID, encoding and Format?
if so, Any idea what the values could be for AS/400.
I believe it would depend upon your AS/400 application's requirements. In our environment, the CCSID, Encoding etc are set to the native values on our broker and the Format is set to MQSTR (meaning string) as its an XML message.
The application reading the messages on the AS/400 specifies an MQGMO_CONVERT option and the AS/400 qmgr converts from the UNIX endian/char set/encoding etc into the AS/400's required values for us.
You might have to tweak around to get CR/LF converted to EBCDIC line feeds if you're coming from a WIndows machine.
If your as/400 app does not use MQGMO_CONVERT, you can get the channel to do the work for you using the convert(YES) attribute of the channel. _________________ Regards
John
The pain of low quaility far outlasts the joy of low price.
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