how to get no of records in file in rpg with out cl cmd
Answer Posted / shobhit
Read the file from beginning and increase the counter by
one till end of file. At the last the counter value will be
the no of records in file.
Is This Answer Correct ? | 5 Yes | 15 No |
Post New Answer View All Answers
what is a spool file?
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
how do you read data area in an rpg program?
is there any way to dynamically merge other html scripts into a given html?
what are various techniques to pass parameters from one program to another?
difference between sflrcdnbr and sflnxtchg?
under given circumstances, my cgi should link to another site. How to implement this?
what is the purpose of ovrdta (override data) keyword?
what is the function of cpyf command?
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?
how do u compile rpgle program?
how you will know whether you are in sfldrop or sflfold mode?
what does opcode post do ?
What Is Default Data Type (if You Define Decimals '0') In Physical File?
Explain The Keywords Edtcde & Edtwrd?