You can pass parameters to the program being called using the Transfer Control (TFRCTL) command.
The Transfer Control (TFRCTL) command can be used to pass parameters to the program being called in the same way the CALL command passes parameters, but with these restrictions:
In the following example, PROGA calls PROGB and passes two variables, &A
and &B, to it. PROGB uses these two variables and another internally declared
variable, &C. When control is transferred to PROGC, only &A and &B
can be passed to PROGC. When PROGC finishes processing, control is returned
to PROGA, where these variables originated.