Hi,
Please give the answer to this question?
I have Phisical 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?Please give me
answer?

Answer Posted / praveen

Hi
there may be a reason that there exist a blank space in 81 position, which is used by a record and even after the record deletion, if the rgzpfm is not done then after reading 80 records, 81 will be treated as eof; though v have records in later 82 etc

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Last statement of any rpg program is lr?

711


What is the interactive job?

654


How to read a pf in reverse(from last record to first) using cl?

674


What is open data path?

673


What is the purpose of the chain and setll and setgt?

689






I have a pf, it contains 5 members, how to access particular member data from logical file?

619


In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.

2214


What is the interactive job? What is the batch job? How to change the batch job to interactive job?

698


Where the QTEMP library will get created? if the the answer is QSYS, then howcome more than one job can create same library name(QTEMP) in QSYS? what is the uniqueness of QTEMP? For example, run the below command in different workstation WRKOBJ QSYS/QTEMP And take 8 in the option to check the description. both will have different info. so where(which LIB) exactly the QTEMP is stored?

7638


What is FORMAT keyword and its use?

271


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

668


How to find the list of source physical files in a library?

713


What is the primary file?

665


What is the batch job?

650


Suppose 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?

710