Posted: Thu Feb 03, 2011 2:02 am Post subject: Re: How to simulate EBCDIC Charset (284)on non mainframe QM?
Grand Master
Joined: 25 Jun 2008 Posts: 1415
starki78 wrote:
I know that I must set MQ-convert but I would like to test this in my local environment where I don't have mainframe and
the command below is not working (as expected)
alter qmgr ccsid (284)
1 : alter qmgr ccsid (284)
AMQ7090: The queue manager CCSID is not valid.
Don't confuse the qmgr ccsid attribute with the MQMD CodedCharacterSetID field.
For a message on a queue, the qmgr ccsid describes the character data within the MQMD header itself, while the MQMD ccsid describes the character data in the message that follows the MQMD header.
For Windows and Unix platforms, the qmgr ccsid must be ASCII based; for mainframe platforms, the qmgr ccsid must be EBCDIC. The MQMD ccsid could be either.
For MQPUT, the application must provide the MQMD ccsid (and other fields) that describe the message data.
For MQGET, if the application specifies the MQGMO_CONVERT option, then the application must provide the desired target ccsid (and other fields) for the message data.
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