Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.
Answers were Sorted based on User's Feedback
Answer / deepak sharma
1 By using DSPPGMREF command
2) By using Find String PDM
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / vj
DSPPGMREF give the list of object which that particular program refer. It can be file or pgm or any other object. Hence we can not find the list of programs which a particular file refer using DSPPGMREF.
We find the dependent program using x analysis, FNDSTRPDM or using Aldon option 41 on that particular file .
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / vicky
By using DSPPGMREF command, you are able to know which program is using the specific file.
| Is This Answer Correct ? | 8 Yes | 5 No |
Answer / surya siram
Hi,
Yes, by using the DSPPGMREF command on particular library, load the output to OUTFILE and by using the filters (Sequels), you can able to find the programs which are using that particular file. And also we can able to find the mode the file declared in the programs also.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / ravi kumar
Hi Frnds,
Yes, by using the DSPPGMREF. For breif explaination see below link.
http://search400.techtarget.com/tip/Find-the-programs-that-use-a-particular-file-using-DSPPGMREF
Thanks,
Ravi
| Is This Answer Correct ? | 1 Yes | 2 No |
i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?
what is a rpg?
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.
1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?
wat is meant by hidden field , why it is used?
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
I want to add 10 days in current date. how it is possible in CL program...?
Can a indexed file be accessed in arrival sequence in RPG?
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...?
how do I do concatenation in rpg iv, like I do in cl?
check existence of one record without using chain or read?