ENDSRVJOB (End Service Job)
ENDSRVJOB Command syntax diagram
Purpose
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.
Restrictions
- If tracing or debugging is active in the serviced job when this command is entered, the remote service operation is not ended.
- This command is shipped with public *EXCLUDE authority.
- The following user profiles have private authorities to use the command:
- QPGMR
- QSYSOPR
- QSRV
- QSRVBAS
There are no parameters for this command.
Example for ENDSRVJOB
ENDSRVJOBThis command stops the service operation of the job currently being serviced.
Error messages for ENDSRVJOB