Posted: Wed Apr 13, 2005 12:37 pm Post subject: putting copybook data in binary on MQ
Newbie
Joined: 13 Apr 2005 Posts: 1
Hi,
We are attempting to put Cobol copybook data into an MQ message as raw binary. Unfortunately it keeps converting it to text and mangling the binary components. Has anybody had any luck in doing something like this?
Posted: Wed Apr 13, 2005 5:01 pm Post subject: Re: putting copybook data in binary on MQ
Poobah
Joined: 15 May 2001 Posts: 7722
BPR wrote:
Unfortunately it keeps converting it to text and mangling the binary components.
How do you know that is happening?
Or you doing an MQGET with MQGMO_CONVERT, and the message is MQMD_FORMAT of "MQSTR ". If yes, that is the way its supposed to work.
If you don't want conversion, don't set the MQMD_FORMAT to anything. And don't ask for convert on the MQGET. _________________ Peter Potkay
Keep Calm and MQ On
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