How to check which are the pgms using 1 perticulate file.?
I know there is many tool available for X-reference...but
need to know is there any command available in the
system...?
Answers were Sorted based on User's Feedback
Answer / manjunath
As of my knowledge, DSPPGMREF and FNDSTRPDM are the 2
commands which will fulfill the requirement but both the
commands have some flaws respective to the requirement.
If we use DSPPGMREF, the files which are opened, updated
and deleted through the SQL statements will not be listed.
If source is not available in the source file, then
FNDSTRPDM will not list those programs which are using the
required files.
So, to reduce the impact, we need to use both the commands.
Let me know if i am wrong
| Is This Answer Correct ? | 2 Yes | 0 No |
What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???
1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
how to change the length of the field in a physicalfile?
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
how can i retrieve the field name from display file at run time? Devendra Singh Tomar
can i use UPDDTA command in rpg program in which contains a file
list down and describe the sub systems vailable