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

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

CALLING PGM name

View previous topic View next topic Go down

CALLING PGM name

Post  maran on Mon Jul 27, 2009 8:13 pm

How do you get the calling pgm name in called program in CL?

Say for example PGME will be called from PGMA, PGMB, PGMC & PGMD.

How do you know that in PGME which program ( PGMA / PGMB / PGMC / PGMD ) is calling PGME?
avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

Re: CALLING PGM name

Post  maran on Mon Jul 27, 2009 8:13 pm

PGME will be called from PGMA, PGMB, PGMC OR PGMD.

How do you know that in PGME which program ( PGMA / PGMB / PGMC / PGMD ) is calling PGME?

In HAWKEYE tool,there is a option for implode and explode programs.
We can give PGME program and find out which program is calling that program and reach the driver CL program.
_________________
Thanks & Regards,
Anupama M.
avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

Re: CALLING PGM name

Post  muthuraman on Tue Sep 22, 2009 7:44 pm

There is an API QWVRCSTK to find out the called program name
If we pass required parameters to the API we can find out
called program name

muthuraman

Posts : 42
Join date : 2009-08-28

View user profile

Back to top Go down

Re: CALLING PGM name

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