+

Search Tips | Advanced Search

Service properties

We can configure attributes for custom service objects in the Service properties dialog.

The following table lists all the attributes that we can set.

For each attribute, there is a brief description of when you might need to configure the attribute. The tables also give the equivalent MQSC parameter for the ALTER SERVICE and DISPLAY SERVICE commands. For more information about MQSC commands, see Script (MQSC) Commands in the online IBM MQ product documentation.


General page

The following table lists the attributes that we can set on the General page of the Service properties dialog.

Attribute Meaning MQSC parameter
Service name Read-only. This attribute shows the name of the service. SERVICE
Description Type a meaningful description of the purpose of the service. See Entering strings in IBM MQ Explorer. DESCR
Service control To configure the service to start and stop automatically when the queue manager starts and stops, click Queue Manager; to configure the service to start automatically when the queue manager starts but not to stop when the queue manager stops, click Queue Manager Start; to configure the service so that you must manually start and stop it, click Manual. CONTROL
Start command Type the fully-qualified path to the start command program that runs when the service starts; for example, C:\Program Files\IBM\WebSphere MQ\bin\runmqchi.exe STARTCMD
Start args Type any arguments that are to be passed to the program when it starts. STARTARG
Stop command Type the fully-qualified path to the stop command program that runs when the service stops. STOPCMD
Stop args Type any arguments that are to be passed to the program when it stops. STOPARG
StdOut Type the path to the file to which the standard output of the service program is written. If the file does not exist when the service program is started, the file is created; if the file already exists, the new standard output is appended to the existing file. If the value of this attribute is blank, the standard output is discarded. STDOUT
StdErr Type the path to the file to which the standard error of the service program is written. If the file does not exist when the service program is started, the file is created; if the file already exists, the new standard error is appended to the existing file. If the value of this attribute is blank, the standard error is discarded. STDERR
Service type To enable only one instance of the service to run at a time, click Server; to enable multiple instances of the service to run at a time, click Command. SERVTYPE
Service status Read-only. This attribute shows the current status of the service. STATUS