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


Please Help Members By Posting Answers For Below Questions

how can I automatically refresh a web page?

634


what if my system I runs with system value qccsid 65535?

617


what are the different types of arrays available in rpg ?

965


what is sflpag and sflsiz ?

2281


what is rpg fixed logic cycle?

660






how do u compile rpgle program?

625


what is xfoot opcode ?

1056


How to reverse a string using RPG?

694


what is logical file?

604


what does the ovrdbf command do?

669


how can I give more performance to some selected pages?

615


what is a program described file in rpg?

1056


why do we use readc? What is sflnxtchg?

670


any one have give AS400 study material? pls pass it to gopalsai789@gmail.com

1229


how to define to define a hidden filed in dspf ?

783