MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MQ Error 2110

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
Ranjish
Beginner


Joined: 22 Dec 2002
Posts: 64
Topics: 28
Location: Chennai

PostPosted: Thu Aug 11, 2011 6:52 am    Post subject: MQ Error 2110 Reply with quote

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
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Aug 11, 2011 10:38 am    Post subject: Reply with quote

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++....)?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group