Command reference / sec
SIGNOFF
Sign Off
Ends an interactive job, or causes all jobs in a group to end. Enter this command to sign off at a workstation.
Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC.
Positional parameters: 3.
Restrictions
- Valid only in an interactive job.
- If SIGNOFF is issued in a CL program, all subsequent commands in that program are bypassed.
Parameters
LOG
Job log
Specifies whether the job log for this interactive job is deleted or included in the job's spooled output for printing. This takes precedence over the log value set for the job itself.
Allowed values:
*NOLIST, *LIST
*NOLIST- The job log, already displayed during the job, is no longer needed and is deleted.
*LIST- The job log is spooled for printing with the job's remaining spooled output.
DROP
Drop line
For switched lines only, specifies whether the line is disconnected when no other workstations on it are signed on. It is ignored for nonswitched lines.
Allowed values:
*DEVD, *YES, *NO
*DEVD- The DROP value in the workstation's device description is used.
*YES- The switched line is disconnected when the job ends if no other workstation on the line is signed on.
*NO- The switched line is not disconnected when the job ends.
ENDCNN
End connection
Specifies whether to end the connection to the current system, which returns the user to the source system and bypasses the target system's sign-on display.
Allowed values:
*NO, *YES
*NO- The connection does not end, and the target system's sign-on display is shown.
*YES- The connection ends and the user returns to the source system, with no target sign-on or error screens shown.
Examples
SIGNOFF LOG(*LIST) DROP(*NO)
Ends the interactive job but leaves the switched line connected. The job log is printed with the job's spooled output.
Generated from os/cl/catalog/SIGNOFF.json and os/cl/help/SIGNOFF.json.