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 the maximum number of fields under a record format of physical file?
which are the figurative constants used in rpg?
where can you specify an indicator in lokup operation?
what is the syntax for plist?
different type of cursor?
what if my system I runs with system value qccsid 65535?
list some of the commonly used commands for debugging?
Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?
during input operation which indicator position is seton if there is a record lock?
what is the length of a variable in rpg?
which cl command is used to trap error messages during program execution?
what is the use of jdftval in join logical file?
define the purpose of the leave operation?
what is the maximum number of subroutines allowed in rpg?
define subsystem?