how to get no of records in file in rpg with out cl cmd
Answers were Sorted based on User's Feedback
Answer / shobhit
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
| Is This Answer Correct ? | 44 Yes | 0 No |
Answer / 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 |
Is LDA can be access accross the Job?
What is a query can be displayed without saving it?
define the purpose/use for sflrna?
what is default data type for the fields(sub fields) defined in data structures in rpg?
How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz
a multiple format logical file is also known as?
What is the necessary keyword used in a physical file to refer field definitions from the field reference file?
what is the maximum number of subfiles that can specified in a display file ?
What is the use of SDA ?
why is the declare cursor statement is used for?
what is sessional error or divice error in rpg IV?..when will it happens...Give few examples?
What are the functions of Remote Job Entry (RJE) ?