PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Join the forum, it's quick and easy

PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

TFRCTL -------

Go down

TFRCTL ------- Empty TFRCTL -------

Post  maran Mon Jul 27, 2009 8:23 pm

When we can't use TFRCTL?
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

TFRCTL ------- Empty Re: TFRCTL -------

Post  maran Mon Jul 27, 2009 8:24 pm

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.
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum