IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Getting Junk values while mqget in COBOL CICS


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Thamilselvi

New User


Joined: 22 Jun 2012
Posts: 57
Location: Chennai

PostPosted: Mon Jul 02, 2012 12:43 pm
Reply with quote

Hi,

I have written a cobol cics program to get message from MQ. The message has put by java application. When i tried to get that message from MQ, I am getting junk values.

Please guide me how to resolve this issue. Do i need to any code conversion. If so, please guide me how to do that.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Mon Jul 02, 2012 1:04 pm
Reply with quote

Yes

Ensure your MQMD-FORMAT has value MQSTR
Back to top
View user's profile Send private message
Thamilselvi

New User


Joined: 22 Jun 2012
Posts: 57
Location: Chennai

PostPosted: Mon Jul 02, 2012 1:18 pm
Reply with quote

hi,

I am getting MQ open error 2033.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Mon Jul 02, 2012 1:26 pm
Reply with quote

Did you google that 2033?

I see you are showing good immunity to learn icon_cry.gif

The problem is you are not handling perform and end of queue properly
Back to top
View user's profile Send private message
Thamilselvi

New User


Joined: 22 Jun 2012
Posts: 57
Location: Chennai

PostPosted: Mon Jul 02, 2012 1:31 pm
Reply with quote

Yes, u are rite. I haven't handle perform in my program. I am just doing the trial version of mqget with 1 message. Thanks for helping me
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top