Command reference / job
DSPSRVSTS
Display Service Status
Shows the current service status of the specified job: the name of the job it is servicing, or the name of the job servicing it.
Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC.
Positional parameters: 1.
Restrictions
- Shipped with public *EXCLUDE authority; the QPGMR, QSYSOPR, QSRV and QSRVBAS profiles have private authorities.
- All object (*ALLOBJ) special authority is required.
Parameters
JOB
Job name
Specifies the job whose service status is shown. * is the job in which the command is entered. A simple job name must be unique in the system (CPF3520 when not found, CPF3524 when several jobs match).
Suggested / special values:
*
Qualified parts (object, then library; write LIBRARY/OBJECT)
Job name
Job name
User
User
Number
Number
DUPJOBOPT
Duplicate job option
Specifies what to do when the job name matches more than one job.
Allowed values:
*SELECT, *MSG
*SELECT- A selection display is shown in an interactive job; otherwise an escape message is issued.
*MSG- An escape message is issued when duplicate jobs are found.
Examples
DSPSRVSTS
Shows the service status information for the job from which the command is entered.
Generated from os/cl/catalog/DSPSRVSTS.json and os/cl/help/DSPSRVSTS.json.