I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?



I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf ..

Answer / Amit Choudhary

The reason could be that you have specified a maximum record length (MLRECL) for your Logical File (LF) that is less than or equal to 80. Make sure MLRECL in the LF matches or exceeds the number of records in your Physical File (PF).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB400 Interview Questions

What is the interactive job?

1 Answers  


Last statement of any RPG pgm is LR?

5 Answers  


How to change the batch job to interactive job?

1 Answers  


How to know the particular record in pf with out reading?

1 Answers  


Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?

1 Answers  


How to insert more than one record to a pf at a time?(Bulk insert to a pf)

9 Answers  


Last statement of any rpg program is lr?

1 Answers  


How many maximum record format a logical file have?

1 Answers  


WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?

5 Answers   Accenture,


can any one pls tell me some differences between a LF and command OPNQRYF?

3 Answers   Accenture, Cognizant, eFunds,


i have a PF,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in PF

3 Answers  


How to know logical file belongs to which physical file without source?

1 Answers  


Categories