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.

rpgiv question

2 posters

Go down

rpgiv question Empty rpgiv question

Post  muthuraman Thu Oct 08, 2009 8:16 pm

When ProgramA(PGMA) calls ProgramB(PGMB) for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?


Warm Regards,
Muthuraman.

muthuraman

Posts : 42
Join date : 2009-08-28

Back to top Go down

rpgiv question Empty Re: rpgiv question

Post  JLAVANYA Thu Oct 08, 2009 10:01 pm

No. If a PGM ends with RETURN all the resources it uses will remain in the memory.
so if the PGM is called again *INZSR will not be executed.



Regards

Lavanya.J

JLAVANYA

Posts : 6
Join date : 2009-07-30

Back to top Go down

rpgiv question Empty Re: rpgiv question

Post  muthuraman Fri Dec 18, 2009 2:27 am

yes.you are right Lavanya.......

muthuraman

Posts : 42
Join date : 2009-08-28

Back to top Go down

rpgiv question Empty Re: rpgiv question

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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