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
how you get the relative record in a subfile in which cursor is located?
what are the different opcodes available in rpg for database access ?
how will you search an array?
what are the basic features of seu?
what is term cua , saa?
how can I predict the performance of my cgis?
how to validate input values in display file ?
How to reverse a string using RPG?
can you display a empty subfile?
all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?
define a output queue?
what is the maximum number of subfiles that can specified in a display file ?
how do you read changed records backward in subfile?
Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?
what are the different types of arrays available in rpg ?