How do you do indexing in a physical file?

Answers were Sorted based on User's Feedback



How do you do indexing in a physical file?..

Answer / rizwan

Indexing is nothing but keying a Physical File.
If you specify a key field for a Physical file,then the
Physical file is referred as Indexed Physical File Or Keyed
Physical File.

Is This Answer Correct ?    8 Yes 0 No

How do you do indexing in a physical file?..

Answer / ken

Set key order in PF.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More RPG400 Interview Questions

how do u find whether a record is locked or not??/

5 Answers   CTS,


Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?

1 Answers  


what is file identifier wher we can use

1 Answers   IBM,


please guys help me,I need to write a program that shows more than one way to display a subfile. Both views are of the same file but sorted differently and show different fields of the same file when the user presses a function key. send me code

4 Answers   Virtusa,


I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?

5 Answers   CitiGroup, Symphony,






What is the difference Return and InLr?

3 Answers  


1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?

3 Answers   HSBC,


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,


1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2++÷ResultLenDHHiLoEq C QTY IFLT *ZERO C QTY MULT -1 QTY C ENDIF a) %ABS b) %TRIM c) %TRIMS d) %UNS

3 Answers   IBM,


1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?

3 Answers  


What is the difference between RPG/400 and RPG4

1 Answers   HCL,


Need a sql query: retrieve all duplicate records in table?

1 Answers  


Categories