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

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

rpgiv question

View previous topic View next topic Go down

rpgiv question

Post  muthuraman on 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

View user profile

Back to top Go down

Re: rpgiv question

Post  JLAVANYA on 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

View user profile

Back to top Go down

Re: rpgiv question

Post  muthuraman on Fri Dec 18, 2009 2:27 am

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

muthuraman

Posts : 42
Join date : 2009-08-28

View user profile

Back to top Go down

Re: rpgiv question

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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