What is the difference between the commands CALL, RETURN, TFRCTL?
In a CALL, the calling program receives the control after the called program finishes the processing at the command after the call to called program. Control is thus returned up the program stack. The RETURN command has no parameters and removes the program from the program stack. If no RETURN statement is coded in a CL program, a return is performed after the last executable statement is performed. The TRFCTL command transfers the control to the program and removes the transferring program from the program stack. It returns the control to the statement after the most recently run CALL command in the program that called the transferring program. No statements after the TFRCTL in a CL program will be executed.