how to get no of records in file in rpg with out cl cmd
With the help of INFDS(File information data structure) we can know the no of records in file. Ex. D NUM_RCDS 156 159I O * Num of records