more than 10k records from MQ at a time

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
harryhome
Participant
Posts: 112
Joined: Wed Oct 18, 2006 7:10 am

more than 10k records from MQ at a time

Post by harryhome »

Hi

The DS version we are using is 7.5 and it is an Enterprise Edition.

The problem we are facing is :
we are fetching records from MQ Stage in a server job.
when on the queue there are more than 10000 records, the job aborts giving an FATAL error -
SrcMQREQMsg..xfm_Rm_CntrlM: Failed to get message from the queue. Reason code 2024.

Do we need to set any option explicitly do avoid this?
And so that we can run more than 10k records at a time from the MQ stage?
Krazykoolrohit
Charter Member
Charter Member
Posts: 560
Joined: Wed Jul 13, 2005 5:36 am
Location: Ohio

Post by Krazykoolrohit »

There is nothing much datastage can do for you. Ask your mainframe admin about this reason code. He may have a better explanation for you.

Datastage will not give a database reason code when it stops/aborts. It just uses the queue to run your query and displays the records database sends it. In case your query aborts at database side, Datastage just fetches the message and shows it to you.

You see, Datastage is very smart. it never takes the blame onto itself
kaps
Participant
Posts: 452
Joined: Tue May 10, 2005 12:36 pm

Post by kaps »

Check the maximum limit of the messages which the queue can hold.
Your queue must have filled up. Either you need to increase the queue size or delete the messages as soon as you read and stores somewhere.

Thanks
harryhome
Participant
Posts: 112
Joined: Wed Oct 18, 2006 7:10 am

Post by harryhome »

Hi All

Thanks for the reply.

I have QMANGER to which i have admin access , so i want to know that where are these parameter 's like queue length are present in QMANGER(Its a unix box ) . i was not able to find it


plz help on same
Post Reply