Page 1 of 1

Count of 500 files

PostPosted: Wed Apr 30, 2014 6:16 pm
by vkumarg3
Hi ,

I have got one requirement .
Please provide any suggestion.

Requirement:
I have a 500 PS file . I need to count the number of each records in each file and write the count of the same in the new separate o/p file.

I/P : 500 files
O/P : Count of each 500 file

How to implement this? I have been advised not to write program for this.


Example:
========

Input file 1 contains below records.
ABCHDI12757
AAKAJH1233

Input file 2 contains below records.
HUBDSD1233
BSDHDS3484
jksdgdsg23234

My desired Output file should be like this.
File1 - 2
File2 - 3

Thanks in advance.

Re: Count of 500 files

PostPosted: Wed Apr 30, 2014 9:12 pm
by BillyBoyo
You look at all the control totals from the programs which create/amend/read those files.

It is a plain waste of computer resources and your time to do it in the way suggested to you.

You could wade through this, from the sister site: http://ibmmainframes.com/about54169.html