Service properties
We can configure properties for custom service objects in the Service properties dialog.
The following table lists all the properties that we can set.
For each property, there is a brief description of when you might need to configure the property. The tables also give the equivalent MQSC parameter for the DEFINE, ALTER and DISPLAY SERVICE commands. For more information about MQSC commands, see Administration using MQSC commands.
General page
The following table lists the properties that we can set on the General page of the Service properties dialog.
Parent topic: Properties
Property Meaning MQSC parameter Service name Read-only. This property 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 we 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 property 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 property 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 property shows the current status of the service. STATUS
Related tasks
Related reference