Ranjish Beginner

Joined: 22 Dec 2002 Posts: 64 Topics: 28 Location: Chennai
|
Posted: Thu Aug 11, 2011 6:52 am Post subject: MQ Error 2110 |
|
|
Hi,
We are facing a strange error in MQ process using CICS program.
When we process the records from this MQ, the first record alone is giving an error 2110 (Format error). Rest of all the records are processing fine.
Lets say, the first 3 records of the MQ are of ref1, ref2 and ref3. When we ran the transaction first time, ref1 gave this 2110 RC, but ref2 and ref3 got fetched fine with RC as ZEROES. We did not do a COMMIT here just to retain the records.
Then we executed transaction with ref1 alone and committed, so that ref1 record is removed from the queue. Then transaction was executed again with ref2 and ref3 as its first 2 records. Now Ref2 gave RC as 2110 but the remaining records (including ref3) processed fine with RC = 0.
Any help on the above issue will be very much appreciated.
thanks, Ranjish |
|
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Aug 11, 2011 10:38 am Post subject: |
|
|
Ranjish,
An Error code of 2010 is a MQRC_DATA_LENGTH_ERROR. I am guessing that you are not initializing the Data_length field on your first call.
Other things to check are
1. What is the Maxmsgln of the qmgr?
2. Is your message greater than 4 MB?
3. What is the language used (cobol , C++....)? |
|