Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ERROR NO 2045

Status
Not open for further replies.

hhtrann

Programmer
Feb 23, 2005
2
US
Hi,
I received MQRC 2045 when trying to open a local queue as an output using CICS COBOL. What I wanted to do is to modify some fields in the MQM-MESSAGE-DESCRIPTOR.
Here are my codes to set it up before the 'MQOPEN'. How can I do that, open the queue for modifying the MQM-MESSAGE-DESCRIPTOR

MOVE MQOT-Q TO MQOD-OBJECTTYPE
MOVE MQOO-SET-ALL-CONTEXT TO MQGMO-OPTIONS

Thanks,
 
MQOO is for output objects....GMO is for input (as in GET message options). Context is set on a PUT not a GET.

Application Programming Guide Chapter 9 :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top