+

Search Tips | Advanced Search

Services

Service objects are a way of defining programs to be run when a queue manager starts or stops.

Programs can be one of the following types:

    Servers
    A server is a service object that has the parameter SERVTYPE specified as SERVER. A server service object is the definition of a program that will be executed when a specified queue manager is started. Only one instance of a server process can be executed concurrently. While running, the status of a server process can be monitored using the MQSC command, DISPLAY SVSTATUS. Typically server service objects are definitions of programs such as dead letter handlers or trigger monitors, however the programs that can be run are not limited to those supplied with IBM MQ . Additionally, a server service object can be defined to include a command that will be run when the specified queue manager is shut down to end the program.

    Commands
    A command is a service object that has the parameter SERVTYPE specified as COMMAND. A command service object is the definition of a program that will be executed when a specified queue manager is started or stopped. Multiple instances of a command process can be executed concurrently. Command service objects differ from server service objects in that once the program is executed the queue manager will not monitor the program. Typically command service objects are definitions of programs that are short lived and will perform a specific task such as starting one, or more, other tasks.

Important: Serive objects are not supported on IBM MQ for z/OS . Parent topic: Object types


Related information

Last updated: 2020-10-04