[UNIX, Linux, Windows, IBM i]

START SERVICE (start a 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.

Using MQSC commands

For information on how you use MQSC commands, see Performing local administration tasks using MQSC commands.

Synonym:

STA SERVICE

Read syntax diagramSkip visual syntax diagram START SERVICE ( service-name ) IGNSTATE(NO)(YES)

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.

[MQ 9.2.0 Jul 2020][UNIX, Linux, Windows, IBM i]IGNSTATE
Specifies whether the command fails if the service is already running. The possible values are:
NO
The command fails if the service is already running. This is the default value.
YES
The command succeeds regardless of the current state of the service.