Commands can be issued to control a queue server using the MVS™ MODIFY (F) command specifying the job or started task name of the server region. The general form of a queue server command is as follows:
F server,cmd parameter,parameter... comments
The MVS STOP command is equivalent to issuing the server command STOP using the MVS MODIFY command.
The queue server supports the following commands:
The command can be abbreviated to P, as for the MVS STOP command.
For information about CANCEL RESTART see The CANCEL command options.
The server also responds to XES events such as an operator SETXCF command to alter the structure size. If the server can no longer access the coupling facility, it automatically issues a server CANCEL command to close itself down immediately.
DISPLAY or PRINT can display the values of any initialization parameters plus the following additional information:
This keyword can also be coded as BUFST.
This keyword can also be coded as CFST or STATSCF.
This keyword can also be coded as POOLST.
This keyword can also be coded as STGST, STGSTATS, or STORAGEST.
The keyword can also be coded PARM, PARMS, or PARAM.
This keyword can also be coded as ALLPARMS.
This keyword can also be coded as STAT or STATS.
This keyword can also be coded as INIT.
This keyword can be coded as ARMSTATUS.
You can use the CANCEL command to request automatic restart by specifying the following parameter:
If the server encounters an unrecoverable problem with the coupling facility connection, consisting either of lost connectivity or a structure failure, it cancels itself using the CANCEL RESTART=YES command. This terminates the existing connection and shuts down the server. A new instance of the server job is then started.
A server can also be restarted explicitly using either the server command CANCEL RESTART=YES or the MVS command CANCEL jobname,ARMRESTART.
You can also enter RESTART on its own for RESTART=YES, NORESTART for RESTART=NO.