START SERVICE on Multiplatforms
Use the MQSC command START SERVICE to start a service. The identified service definition is started within the queue manager and inherits the environment and security variables of the queue manager.
Use MQSC commands
For information on how we use MQSC commands, see Performing local administration tasks using MQSC commands.
Synonym:
START SERVICE
Parameter descriptions for START SERVICE
- ( service-name )
-
The name of the service definition to be
started. This is required. The name must that of an existing service on this queue manager.
If the service is already running, and the operating system task is active, an error is returned.
- IGNSTATE
- This parameter allows you to specify whether we want the command to return an error return
code, if the object is already in the state the command would move it to. Possible values are:
- NO
- If the service being started is already in that state, the command returns RC=10. This is the existing behavior, and NO is the default value.
- YES
- If the service being started is already in that state, the command returns RC=0. The return code is the case as if the service is not running.
Parent topic: MQSC commands
Related information