Page 1 of 1

MQ read Failed to get message from the queueReason code 2024

Posted: Thu Mar 16, 2006 1:11 pm
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?

Posted: Thu Mar 16, 2006 3:27 pm
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.

Posted: Mon Mar 20, 2006 12:20 am
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