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 FERERENTIAL INTRIGRITY ?
Difference Between Interactive & Batch Job?
what is externally described file ?
Difference Between Call & Sbmjob?
what are dds required for subfile?
what is subfile?
Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP
what is the clp command to access a query/400?
how can I control the way a remote browser uses its cache?
1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code?
how can you detect and handle a record lock situation?
how can I predict the performance of my cgis?
is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.
If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?
What is a query can be displayed without saving it?