MQ read Failed to get message from the queueReason code 2024

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
abha.kalra
Participant
Posts: 37
Joined: Fri Oct 21, 2005 4:09 am

MQ read Failed to get message from the queueReason code 2024

Post by abha.kalra »

Hi
i m getting a error -" Failed to get message from the queue. Reason code 2024" while reading the message from Queue . Queue details are-

Max Message length -8000.
Max Queue Depth - 250000

i m putting data from a flat file stage transform into xml output and load to mQ.
While reading i m doing destructive read by checking the option

Output/option-
1 ."destructive read" and
2. "Commit/backout only once at the end of the job."
but if un checked the option "Commit/backout only once at the end of the job." no error is coming.

so please tell me why this is so and i want to have the setting of MQ with both the options checked so How should i Proceed?
Thanks and Regards
Abha
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This post gives you a URL from which you can get the MQ Series manuals, from which you will be able to decode what 2024 means, which ought to give some insight into the cause of your problem.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
abha.kalra
Participant
Posts: 37
Joined: Fri Oct 21, 2005 4:09 am

Post by abha.kalra »

Hi,
thanx for the link.
i m able find out that this reason code is due to the exceed in the limit of no of uncommited message set in queuemanager
for this solution is eitherto call MQCMIT
or EXEC CICS SYNCPOINT

how to achieve this in MQ Stage
Thanks and Regards
Abha
Post Reply