Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Sign Off (SIGNOFF) command ends an interactive job or causes all jobs in a group to end. You enter this command to sign off at a work station.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
LOG | Job log | *NOLIST, *LIST | Optional, Positional 1 |
DROP | Drop line | *DEVD, *YES, *NO | Optional, Positional 2 |
ENDCNN | End connection | *NO, *YES | Optional, Positional 3 |
Top |
Specifies whether the job log for this interactive job is deleted or is included in the job's spooled output for printing. This entry takes precedence over the log value specified for the job itself.
Top |
Specifies, for switched lines only, whether the switched line attached to the work station is disconnected (dropped) if no other work stations on the same line are signed on. This parameter is ignored if the work station is attached to a nonswitched line.
Top |
Specifies whether to end the connection to the current system. Ending the connection allows the user to bypass the sign-on display of the target system and return to the source system. For communication functions that do not support this option, this parameter is ignored.
Top |
Example 1: Signing Off and Ending an Interactive Job
SIGNOFF
This command signs off the user of the work station and ends the interactive job. The switched line is dropped only if specified in the device description of this work station and if no other work station on this line is active. An end-of-job message that gives the job start and stop times is written in the job's log.
Example 2: Printing the Job Log
SIGNOFF LOG(*LIST) DROP(*NO)
This command ends the interactive job, but the switched line is not released. The job log is printed with the job's spooled output.
Example 3: Signing Off and Ending the Connection
SIGNOFF ENDCNN(*YES)
This command ends the connection and transfers the user back to the source system.
Top |
None
Top |