RET Return Control to CFS Procedure

RET Further input for CFS is requested via the input source SYSDTA. If CFS has been started with a STARTUP file, then RET has the effect of reading the next input from the startup file.

The RET command presupposes that control will have been passed from the procedure to the user at some stage in the command/startup file with a *DIA statement. The RET command will then pass control back to the procedure.

RET file | RET lib (element)

By entering a parameter with the RET command, a new input source for SYSDTA may be specified before switching back to procedure mode.

SYSFILE SYSDTA=file | SYSFILE SYSDTA=lib (element).

Notes:

For further information on running CFS in a procedure, see Chapter 19 "Procedure Language".

The procedure language of CFS also offers commands to control the point at which the procedure restarts, based on particular conditions (e.g. user input). For further information, see page 19-.