Transfer control to improve performance

The Transfer Control (TFRCTL) command calls the program specified on the command, passes control to it, and removes the transferring program from the call stack.

Reducing the number of programs on the call stack can have a performance benefit. When a Call (CALL) command is used, the program called returns control to the program containing the Call (CALL) command. When a Transfer Control (TFRCTL) command is used, control returns to the first program in the call stack. The first program then initiates the next sequential instruction following the Call (CALL) command.
Note: The Transfer Control (TFRCTL) command is not valid in ILE CL procedures.
Related information
Transfer Control (TFRCTL) command
Call (CALL) command