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

are there any useful c runtime apis that I can call from rpg iv?

0 Answers   IBM,


WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?

3 Answers  


how can an indexed file be used as arrival sequence in RPG?

3 Answers   IBM,


1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?

4 Answers   IBM,


wat is the difference between array and multiple occurence data structure?

4 Answers   Four soft,






What is the difference between copybooks and subprocedures in as400?

0 Answers  


When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?

5 Answers   Mphasis,


1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.

4 Answers   HCL,


what is file information data structure?

1 Answers   IBM,


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel

2 Answers   IBM,


When it is desirable to describe files Internally?

0 Answers  


Categories