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

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

Open fILES

View previous topic View next topic Go down

Open fILES

Post  rajkumar400 on Wed Dec 29, 2010 2:22 am

How can I view all the opened files by the RPG without debug/

Thanks.
Raj

rajkumar400

Posts : 59
Join date : 2010-12-25

View user profile

Back to top Go down

Re: Open fILES

Post  soundhar on Wed Dec 29, 2010 11:43 am

Hi,
1.Create a CL program...
2.To check Opened files,
In Program Display Messages-Take SHIFT+ESC+OPTION 14 for opened files...
Take SHIFT+ESC+OPTION 11 for call stack...
Take SHIFT+ESC+OPTION 15 for overrides...
3.call this CL from ur RPG...

soundhar

Posts : 67
Join date : 2010-07-14
Location : Vridhachalam/chennai

View user profile

Back to top Go down

Re: Open fILES

Post  rajkumar400 on Wed Dec 29, 2010 11:01 pm

Thanks.

Without introducing cl is there anyway?

Raj

rajkumar400

Posts : 59
Join date : 2010-12-25

View user profile

Back to top Go down

Re: Open fILES

Post  soundhar on Fri Dec 31, 2010 11:37 am

Hi,One mistake in above answer
1.Create a CL program...
2.To check Opened files,
In Program Display Messages-Take SHIFT+ESC+3 and then OPTION 14 for opened files...
Take SHIFT+ESC+3 and then OPTION 11 for call stack...
Take SHIFT+ESC+3 and then OPTION 15 for overrides...
3.call this CL from ur RPG...


In command line DSPJOB and type options 14 for opened files...

soundhar

Posts : 67
Join date : 2010-07-14
Location : Vridhachalam/chennai

View user profile

Back to top Go down

Re: Open fILES

Post  soundhar on Fri Feb 11, 2011 3:29 pm

Using QCMDEXC API,DSPJOB -command inside RPG

soundhar

Posts : 67
Join date : 2010-07-14
Location : Vridhachalam/chennai

View user profile

Back to top Go down

Re: Open fILES

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