TFRCTL -------
Page 1 of 1
Re: TFRCTL -------
1: If we want the program remain in the call stack we don’t go for TFRCTL, because it removes the program from call stack and not return. Also this only possible in OPM program i.e only for CL not for CLLE.
Ex: PGMA (call PGMB) --> PGMB (TFRCTL PGMC) --> PGMC;
after end of PGMC the control return to PGMA instead of PGMB.
So TFRCTL should be applicable if that particular program called from another program only. This should not be very first calling program.
2: By the above example we are not able to pass a parameter directly from PGMB, the parameter must received from PGMA and then only we pass the same parameters to PGMC.
_________________
Regards,
Razuk.
Ex: PGMA (call PGMB) --> PGMB (TFRCTL PGMC) --> PGMC;
after end of PGMC the control return to PGMA instead of PGMB.
So TFRCTL should be applicable if that particular program called from another program only. This should not be very first calling program.
2: By the above example we are not able to pass a parameter directly from PGMB, the parameter must received from PGMA and then only we pass the same parameters to PGMC.
_________________
Regards,
Razuk.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|