The qmgr utility is an interactive, command line utility for managing batch jobs and queues. It also allows you to manage the batch server. The qmgr utility takes as input a series of commands specifying batch management operations. It performs each operation in sequence, and returns a message indicating the success or failure of the operation. If the operation was a request for information, then qmgr displays the information in a readable format. The qmgr utility cannot be used to submit jobs.
You can use the qmgr utility to create a batch file with a series of commands to manage the queues. This reduces the administrative workload across all client machines. For example, when you run the below command lines on a batch file that exists on all client machines, you create the same piped queues on each client:
create pipe_queue <Pipe queue Name> priority = queue-priority [ destination =dest-name
] [ run_limit = run-limit ]
enable queue <Pipe queue Name>
start queue <Pipe queue Name>
Synopsis
qmgr