Running the amqsget and amqsgetc samples
These programs each take two parameters:
- The name of the source queue (required)
- The name of the queue manager (optional)
If a queue manager is not specified, amqsget connects to the default queue manager, and amqsgetc connects to the queue manager identified by an environment variable or the client channel definition file.
To run these programs, enter one of the following:
- amqsget myqueue qmanagername
- amqsgetc myqueue qmanagername
where myqueue is the name of the queue from which the program will get messages, and qmanagername is the queue manager that owns myqueue.
If you omit the qmanagername, the programs assume the default, or, in the case of the MQI client, the queue manager identified by an environment variable or the client channel definition file.
Parent topic:
The Get sample programs
fg17290_