Start Service

The Start Service (MQCMD_START_SERVICE) command starts an existing IBM® MQ service definition.

HP Integrity NonStop Server IBM i UNIX and Linux® Windows z/OS®
  X X X  

Required parameters

ServiceName (MQCFST)
Service name (parameter identifier: MQCA_SERVICE_NAME).

This parameter is the name of the service definition to be started. The maximum length of the string is MQ_OBJECT_NAME_LENGTH.

Error codes

This command might return the following error codes in the response format header, in addition to the values shown in Error codes applicable to all commands.

Reason (MQLONG)
The value can be any of the following values:
MQRCCF_NO_START_CMD
The StartCommand parameter of the service is blank.
MQRCCF_SERVICE_RUNNING
Service is already running.