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
- This command is shipped with exclude (*EXCLUDE) public authority and the QPGMR, QSYSOPR, QSRV, and QSRVBAS user profiles are shipped with private authorities to use this command.
- You must have use (*USE) authority to the user profile of the job being serviced.
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.
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
User
User
Number
Number
DUPJOBOPT
Duplicate job option
Specifies the action taken when duplicate jobs are found by this command.
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.
Generated from os/cl/catalog/STRSRVJOB.json and os/cl/help/STRSRVJOB.json.