CSUS - suspend CRUN temporarily.

Syntax:

CSUS command

Options:

command
is the command line of any TSS command.

Description:

CSUS may be used inside a CRUN to suspend the CRUN temporarily. CSUS leaves command file mode and executes the given command via a CALLSS. After the command has finished execution, CSUS returns to command file mode.

Use CSUS if you want to execute a command whose output is not sent to the output file for the CRUN.

The major reason for the existence of CSUS is the way that CRUN handles interrupts (e.g. pressing the BREAK key). CRUN immediately kills the command that is running, giving no chance for the command to clean up after itself. A command like MAIL must be able to clean up after itself to avoid security problems, so MAIL will not operate inside CRUNs. If you want to run a MAIL command inside a command file, you can use CSUS to escape from CRUN processing, as in

csus mail *s +u

If CSUS is not executed from a command file, or if it is executed in a DRUN, it simply invokes the given command via a GOTOSS.

Copyright © 1996, Thinkage Ltd.