get the no.of records
3 posters
Page 1 of 1
get the no.of records
how to get no of records in file in rpg with out cl cmd?
Regards,
Muthuraman.
Regards,
Muthuraman.
muthuraman- Posts : 42
Join date : 2009-08-28
ONE WAY TO GET THE RECORDS
DECLARE FILE AND HAVE A VARIABLE AS "I" AND MAKE IT AS ZERO...
READ FILE 30
*IN30 DOWEQ *OFF
ADD 1 I
READ FILE 30
I CONTAINS THE NUMBER OF RECORDS
READ FILE 30
*IN30 DOWEQ *OFF
ADD 1 I
READ FILE 30
I CONTAINS THE NUMBER OF RECORDS
soundhar- Posts : 67
Join date : 2010-07-14
Location : Vridhachalam/chennai
Re: get the no.of records
For this another way to we know the number of records in a file using file information data structure..
arifg2005- Posts : 3
Join date : 2012-03-15
Age : 40
Location : Chennai
Similar topics
» No of number records in a PF
» Total # of records in a file
» SQL to fetch unmatched records.
» Find a String in a DBF records.
» Prevent Records from being written
» Total # of records in a file
» SQL to fetch unmatched records.
» Find a String in a DBF records.
» Prevent Records from being written
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|