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



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

Answer / sagar sudhakar wagh

Yes it is possible through LF. We can use SELECT/OMIT keyword to filter the record of physical file according to our need.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More RPG400 Interview Questions

What is the significance of UDATE?

5 Answers   IBM,


1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?

5 Answers   Cap Gemini,


How can you determine the number of characters in a variable?

3 Answers  


1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?

1 Answers   HP,


How to select highest score of each subject or how to select highest income of every month?

0 Answers  






can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?

2 Answers   TCS,


what is file information data structure?

1 Answers   IBM,


can anyone say,what is the use of operation extended H/N/P?

2 Answers  


Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????

1 Answers  


what is *place and *auto keyword in prtf ?plz explain

0 Answers   CSC,


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

4 Answers  


1.How to load Records of a Physical file(PF) in the reverse order, in CL program?

2 Answers   Cap Gemini,


Categories