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

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).

Type
*QUAL
Required
No
Default
*
Case
Uppercase

Suggested / special values: *

Qualified parts (object, then library; write LIBRARY/OBJECT)

Job name Job name

Type
*NAME
Required
No
Length
10
Case
Uppercase

User User

Type
*NAME
Required
No
Length
10
Case
Uppercase

Number Number

Type
*CHAR
Required
No
Length
6
Case
Uppercase

DUPJOBOPT Duplicate job option

Specifies what to do when the job name matches more than one job.

Type
*CHAR
Required
No
Default
*SELECT
Length
7
Case
Uppercase

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.

IBM command documentation

Generated from os/cl/catalog/DSPSRVSTS.json and os/cl/help/DSPSRVSTS.json.