Command reference / job
ENDSRVJOB
End Service Job
The End Service Job (ENDSRVJOB) command ends the remote job service operation. This command stops the service operation that began when the Start Service Job (STRSRVJOB) command was entered.
Allowed environments: *ALL.
Positional parameters: 0.
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.
- If tracing or debugging is active in the serviced job when this command is entered, the remote service operation is not ended.
- There are no parameters for this command.
Parameters
No parameters.
Examples
ENDSRVJOB
This command stops the service operation of the job currently being serviced.
Generated from os/cl/catalog/ENDSRVJOB.json and os/cl/help/ENDSRVJOB.json.