No of number records in a PF
2 posters
Page 1 of 1
Re: No of number records in a PF
1. Through RUNRQY OUTFORM(SUMMARY)
2. RTVMBRD The number of non deleted (current) records NBRCURRCD.
The number of deleted records NBRDLTRCD.
we come to know the total no. of records in a file from the above command through CL program. Especially by using RTVMBRD we will get all the information in a PF.
_________________
Regards,
Razuk.
2. RTVMBRD The number of non deleted (current) records NBRCURRCD.
The number of deleted records NBRDLTRCD.
we come to know the total no. of records in a file from the above command through CL program. Especially by using RTVMBRD we will get all the information in a PF.
_________________
Regards,
Razuk.
how tom know the no.of records in pf using cl?
The correct answer...
use command DSPFD FILE(LIBOBJ/FILEA1) then Enter
then PGDOWN to last there u can see no.of records
Total number of
members . . . . . . . . . : 1
Total number of members not
available . . : 0
Total records . . . . . . . . . . . . . . :
2488
regrads,
Muhturaman.
use command DSPFD FILE(LIBOBJ/FILEA1) then Enter
then PGDOWN to last there u can see no.of records
Total number of
members . . . . . . . . . : 1
Total number of members not
available . . : 0
Total records . . . . . . . . . . . . . . :
2488
regrads,
Muhturaman.
muthuraman- Posts : 42
Join date : 2009-08-28
Re: No of number records in a PF
another one option is..........
RTVMBRD - Retrive Member Description)
PGM
DCL &NBRRCD TYPE(*DEC) LEN(10 0)
RTVMBRD FILE(FILLIB/FILEA1) MBR(*FIRST)
NBRCURRCD(&NBRRCD)
RTVMBRD - Retrive Member Description)
PGM
DCL &NBRRCD TYPE(*DEC) LEN(10 0)
RTVMBRD FILE(FILLIB/FILEA1) MBR(*FIRST)
NBRCURRCD(&NBRRCD)
muthuraman- Posts : 42
Join date : 2009-08-28
Similar topics
» Have OS/400 notify you when a file contains more than a certain number of deleted records
» How to generate the Random number
» Generating a Random number on an iSeries in CL
» How can Job number of submitted job be retrieved in RPG program?c
» get the no.of records
» How to generate the Random number
» Generating a Random number on an iSeries in CL
» How can Job number of submitted job be retrieved in RPG program?c
» get the no.of records
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|