UNIX systems and Windows systems

 

The C version of the program takes 2 parameters

  1. The name of the source queue (necessary)

  2. The name of the queue manager (optional)

If a queue manager is not specified, it connects to the default one. For example, enter one of the following:

where myqueue is the name of the queue that the messages will be viewed from, and qmanagername is the queue manager that owns myqueue.

If you omit the qmanagername, when running the C sample, it assumes that the default queue manager owns the queue.

The COBOL version does not have any parameters. It connects to the default queue manager and when you run it you are prompted:

Please enter the name of the target queue

Only the first 50 characters of each message are displayed, followed by - - - truncated when this is the case.

 

Parent topic:

The Browse sample programs


fg17240_