Home
DEFINE SERVICE
Compaq NSK HP OpenVMS i5/OS UNIX systems Windows z/OS X X X
Use DEFINE SERVICE to define a new WebSphere MQ service definition, and set its parameters. A service is used to define the user programs that are to be started and stopped when the queue manager is started and stopped. We can also start and stop these programs by issuing the START SERVICE and STOP SERVICE commands.
For more information about services, see the WebSphere MQ System Administration Guide.
Synonym:
DEFINE SERVICE >>-DEFINE SERVICE--(--name--)--+------------------+-------------> '-| define attrs |-' >--+-------------------+--------------------------------------->< '-| service attrs |-' Define attrs (1) .-DESCR(' ')----------. |--+---------------------+--+--------------------------+--------> '-DESCR--(--string--)-' '-LIKE--(--service-name--)-' .-NOREPLACE-. >--+-----------+------------------------------------------------| '-REPLACE---' Service attrs (1) (1) .-CONTROL(MANUAL)-----. .-SERVTYPE(COMMAND)-----. |--+---------------------+--+-----------------------+-----------> +-CONTROL(QMGR)-------+ '-SERVTYPE(SERVER)------' '-CONTROL(STARTONLY)--' (1) (1) .-STARTARG(' ')----------. .-STARTCMD(' ')----------. >--+------------------------+--+------------------------+-------> '-STARTARG--(--string--)-' '-STARTCMD--(--string--)-' (1) (1) .-STDERR(' ')----------. .-STDOUT(' ')----------. >--+----------------------+--+----------------------+-----------> '-STDERR--(--string--)-' '-STDOUT--(--string--)-' (1) (1) .-STOPARG(' ')----------. .-STOPCMD(' ')----------. >--+-----------------------+--+-----------------------+---------| '-STOPARG--(--string--)-' '-STOPCMD--(--string--)-'
Notes:
- This is the default supplied with WebSphere MQ, but your installation might have changed it.
Parent topic:
The MQSC commands
sc11260_
Home