Page 1 of 1

To count no.of records in a file

PostPosted: Thu Jun 24, 2010 12:47 pm
by yousufroushan
can we write a JCL to count the no.of records in a given file. The file can be of any type.

Re: To count no.of records in a file

PostPosted: Thu Jun 24, 2010 12:49 pm
by expat
Look at the documentation for your sort product. However, it is probably more efficient for the creating program to issue a record count rather than having to reprocess all of the data again just to get a record count.

Re: To count no.of records in a file

PostPosted: Thu Jun 24, 2010 2:35 pm
by yousufroushan
Thankyou expat for your suggsetion.