RATE THIS ANSWER
0
Click to Vote:
0
0
Hi,
You could use embedded SQL to retrieve a row count :-
C/EXEC SQL
C+ SELECT COUNT(*) FROM YOURFILE INTO :COUNT
C/END-EXEC
Regards,
Martin Gilbert.
The file information data structure positions 156-159 Binary - Number of records in file when it was opened. Add to the 'F' spec INFDS(MyDSName)
and d specs
D MyDSName DS
D OrigNumRec 156 159B 0
Phil
Last Answered:
Dec 10 2008 7:43 PM GMT by Philpl1jb 
24570 pts.
Latest Contributors: Gilly400
23625 pts.