if there is pf in two libraries and there is a logical file
based on the PF, how to find the pf on which the pf is based.

Answers were Sorted based on User's Feedback



if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on ..

Answer / joy mukherjee

Use DSPFD with the logical file name, you will get the
physical file name associated with that logical file.

Is This Answer Correct ?    17 Yes 1 No

if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on ..

Answer / aa

Use command DSPDBR on each PF qualified with the library name. The LF will be displayed in the PF to which it belongs.

Is This Answer Correct ?    8 Yes 1 No

Post New Answer

More RPG400 Interview Questions

what is the procedure and explain about real time scenario.

0 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?

2 Answers   TCS,


Delete FileName at first statement in RPG.

1 Answers  


What is the difference between copybooks and subprocedures in as400?

0 Answers  


explain sflclr, sflend, sfldlt, and sflcsrrrn?

0 Answers   IBM,






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

6 Answers  


there is any limit to display the members in rpg400?

3 Answers  


Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2

2 Answers  


What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'

2 Answers  


How to print Superscript / Subscript from RPG400

1 Answers  


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

2 Answers   Satyam,


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

0 Answers  


Categories