CL Command Reference - SIGNOFF

CL Command List > SIGNOFF Reference

Description:

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:

1. This command is valid only in an interactive job.

2. If the SIGNOFF command is issued in a CL program, all subsequent commands in the CL program are bypassed.


Examples:

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.