Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is value can i pass to message options (MQGMO-OPTIONS)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
Naga Rajender.K

New User


Joined: 19 Dec 2008
Posts: 13
Location: Hyderabad

PostPosted: Tue Apr 21, 2009 12:28 pm    Post subject: What is value can i pass to message options (MQGMO-OPTIONS)
Reply with quote

Hi,

I am developing cobol-mq program. I need to pass buffflen to MQGET call as input. From where should i get the value into this variable... Please help me out.

What is value can i pass to message options (MQGMO-OPTIONS)

Thanks in advance,
Back to top
View user's profile Send private message

Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Apr 21, 2009 2:14 pm    Post subject:
Reply with quote

Quote:
I need to pass buffflen to MQGET call as input.

The BUFFLEN you specify should be large enough to hold the largest message you expect. If you specify MQGMO_ACCEPT_TRUNCATED MSG, it should be large enough to contain as much of the message as are prepared to process. If you don't specify MQGMO_ACCEPT_TRUNCATED_MSG and the buffer is too small, the DATALENGTH value is set so you can allocate a large enough buffer and re-issue the MQGET with that length.

There are many options you can specify in MQGMO-OPTIONS.

The fine manual is very helpful.

Garry.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Truncated error message after VERIFY ... David Sde TSO/ISPF 4 Mon Sep 05, 2016 11:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us