Command reference / job

STRSRVJOB

Start Service Job

The Start Service Job (STRSRVJOB) command starts the remote service operation for a specified job (other than the job issuing the command) so that other service commands can be entered to service the specified job. Any dump, debug, and trace commands can be run in that job until service operation ends. Service operation continues until the End Service Job (ENDSRVJOB) command is run.

Allowed environments: *ALL. Positional parameters: 1.

Restrictions

Parameters

JOB Job name

Specifies the job to be serviced. If no job number is given, all of the jobs currently in the system are searched for the simple job name. If duplicates of the specified name are found, messages are sent to the user, and user name and job number must be specified. The job name entered cannot be the name of the job issuing the command. This is a required parameter.

Type
*QUAL
Required
Yes
Case
Uppercase
Qualifier 1: Job name: name
Specify the name of the job.
Qualifier 2: User: name
Specify the user name that identifies the user profile under which the job was run.
000000-999999
Specify the system-assigned job number of the job to be serviced.
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 the action taken when duplicate jobs are found by this command.

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

Allowed values: *SELECT, *MSG

*SELECT
The selection display is shown when duplicate jobs are found during an interactive session. Otherwise, an escape message is issued.
*MSG
An escape message is issued when duplicate jobs are found.

Examples

STRSRVJOB JOB(ABCD)

This command starts the remote service operation so that any trace, debug, or dump commands entered in this job are applied to the job named ABCD.

IBM command documentation

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