DEmpnoo S 2 0 Inz(12)
C *Loval Setll Emplf
C Empnoo Reade Emplf
C Dow Not %Eof(Emplf)
C Empno Dsply
C Empnoo Reade Emplf
C Enddo
Here emplf is logical file keyed with emp no
Data in emplf
EMPNO EMPNAME
11 test11
12 test12
13 test14
14 test14
15 test15
setll *loval points first record of the file
Then I am trying to read empno 12
After reade statement It reaches end of file
REDAE fails here. What is the reason for that?
Software/Hardware used:
ASKED:
August 21, 2008 6:57 AM
UPDATED:
August 21, 2008 12:46 PM