- RET: Return to command input from SYSDTA

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-.

Note:

CFS processes the DO command in the following way: If lib(element) or %name is specified, then the CFS procedure to be executed has been unequivocally specified. In all other cases, an attempt is made to find the procedure according to the following hierarchy:

a) CFS looks in the assigned userlib (Standard: CFS.USERLIB) for an element with the specified name.

b) The secondary userlib will then be searched. This userlib is set up by /FILE ...,LINK=USERLIB, or by a library with the name $user-id.CFS.USERLIB.STD, where $user-id is the userid in which the CFS phase is stored.

c) A file will be sought matching the given description.

If a), b) or c) do not provide a satisfactory result, an error message will be generated. To change the standard userlib, refer to the commannd UL on page 18-.