how to get no of records in file in rpg with out cl cmd
Answer Posted / 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 |
Post New Answer View All Answers
what is the difference between sflclr and sflinz?
how can you detect overflow for a print program that prints multiple lines per cycle?
If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...
What Is Default Data Type (if You Define Decimals '0') In Physical File?
name few ibm supplied libraries?
when do you use f-spec. Continuation line ?
Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..
what is a logical file?
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?
Difference Between Call & Sbmjob?
how can we run a batch job?
how to develop some simple graphs (bar charts) using just html?
What is the maximum number of subfiles that can be specified in a display file?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
how do you use exceptional write in c specs?