Hi,
Here are the diffrent methods to get the count of records.
1)you can use the SORT tool count option.
2)you can generate a sequence number on each record and then select the last record thru SELECT option of the sort and OUTREC only the sequence number columns.
3)Add a 000001 character thru INREC option of the SORT and add them up to get the count.
The below 2 can used just to check the number of records.
1)Use the REPRO command of IDCAMS
2)use the file aid 3.5 option and see the number of records.
Thank you
Krishy