Issue with MQ Stage - reading only part of the message

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
CGI_SUREN
Premium Member
Premium Member
Posts: 32
Joined: Fri Feb 22, 2008 10:28 am
Contact:

Issue with MQ Stage - reading only part of the message

Post by CGI_SUREN »

We are trying to read MQ messages using MQ Plugin Stage in DataStage Parallel Job.

We are trying to read a message, which contains a XML file.

We had set the following properties in the MQ Plug in Stage:

WaitTime is set - 1 (Unlimited)
Message Limit is set 1 (Since we want to read one message at a time)
End of Data Message is set to 0

The issue we are encountering is DataStage is reading only part of the message (only 99 characters).

We are testing using 'amqsput' command. In the 'amqsput' command we specified more than 99 characters as one message.

Is there any setting that need to be set either on MQ or on DataStage, to read the entire message at a time, rather than few characters.
Suren V
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Do you have a tool such as MQJexplorer or similar available to you? I suspect that only 99 characters are being put into the message, as the MQ Stage can certainly read quite a bit more than that.
Try writing messages to the MQ Series queue using a Datastage job, that might work better for you.
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

There's a "truncate on metadata mismatch" setting...make sure that is not set.....

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply