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 |
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
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?
i would like to know under what circumstance the object will get locked on AS400.
what will happen two jobs have same name are submitted
ESCAPE message sent by child program can be handled by parent program using which keyword?
How to identify the object has compiled with the debug view as *source without using STRDBG?
Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored.) Please suggest any
how do u find whether a record is locked or not??/
How can we receive values from a called procedure in CL?
What is the length of Signature?
in rpg could u please tell me errors types and meanings like 3030 that ....
How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?