*RET Return to the Procedure from Dialog

RET [ file | lib (element) ]

This command, entered in the COMMAND field, switches the input medium from the keyboard to SYSDTA. From this point on, CFS will run in procedure-controlled mode. The RET command is the counterpart to the *DIA procedure statement.

file | lib(element) Specifying a parameter with the RET command will reassign the input source for SYSDTA before switching back to procedure mode as follows: SYSFILE SYSDTA=file | SYSFILE SYSDTA=lib (element).

If lib(element) is specified, the CFS procedure to be executed is determined explicitly. Otherwise, CFS first searches the specified userlib (Default: CFS.USERLIB) for an element with the specified name. If no such element exists in the userlib, then a file of that name will be sought. To amend the standard CFS userlib, see the UL command on page 18-.

Resuming a procedure automatically when certain contextual conditions have been met can be achieved with the *ON procedure statement:

*ON [%END | %TERM | %ABEND | %CMD | %LST | %IN | %OUT | %INP].