COBOL examples
The examples in this appendix are taken from the WebSphere MQ for z/OS sample applications. They are applicable to all platforms, except where noted.
The examples in this appendix demonstrate the following techniques:
- Connecting to a queue manager
- Disconnecting from a queue manager
- Creating a dynamic queue
- Opening an existing queue
- Closing a queue
- Putting a message using MQPUT
- Putting a message using MQPUT1
- Getting a message
- Getting a message using the wait option
- Getting a message using signaling
- Inquiring about the attributes of an object
- Set the attributes of a queue
- Connecting to a queue manager
- Disconnecting from a queue manager
- Creating a dynamic queue
- Opening an existing queue
- Closing a queue
- Putting a message using MQPUT
- Putting a message using MQPUT1
- Getting a message
- Getting a message using the wait option
- Getting a message using signaling
- Inquiring about the attributes of an object
- Set the attributes of a queue
Parent topic:
Application Programming Guide
fg18930_