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



Suppose we add one field in physical file and this physical file is used by several programs.how do ..

Answer / deepak sharma

1 By using DSPPGMREF command
2) By using Find String PDM

Is This Answer Correct ?    4 Yes 0 No

Suppose we add one field in physical file and this physical file is used by several programs.how do ..

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

Suppose we add one field in physical file and this physical file is used by several programs.how do ..

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

Suppose we add one field in physical file and this physical file is used by several programs.how do ..

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

Suppose we add one field in physical file and this physical file is used by several programs.how do ..

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

Suppose we add one field in physical file and this physical file is used by several programs.how do ..

Answer / sandeepkt

DSPPGMREF shows all the program using the file .

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More RPG400 Interview Questions

Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?

6 Answers   HSBC,


In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?

6 Answers   Hexaware,


two types of read performed in dataqueue?????

4 Answers   CTS,


what is edit word and edit code

0 Answers   Cap Gemini,


I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?

6 Answers  






HI, 1: WHAT IS THE FUNCTION OF %KDS?WITH PROGRAMMING CODES EXAMPLE 2: WHAT IS THE FUNCTION OF Z-ADD AND Z-SUB ? WITH PROGRAMMING CODES EXAMPLE

1 Answers   IBM,


I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.

3 Answers  


What is the Record Address file. How can we use it in RPG program?

4 Answers  


1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?

12 Answers   IBM, Opus,


Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?

3 Answers  


WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?

2 Answers  


what are the types of identifers

2 Answers   IBM,


Categories