![]() |
MAIN Return form CFS to the Main Program
MAIN Return to the Main program.
This command is only valid if CFS was called as a subprogram from another program.
Notes:
CFS is capable of running as a subprogram in so far as it can be called as a module from any program (dynamically linked, or bound). A full description of the interface can be found on page 17-.
CFS can be called in dialog mode. It presents the same mask as though called via the /EXEC command.
CFS can also be called in procedure mode through the subroutine interface. In this case, the calling program passes CFS statements which are executed by CFS in procedure mode. The statements can be passed via SYSDTA or Format-V type records in memory.
For further information, see Chapter 19 "Procedure Language".