Count of 500 files



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

Count of 500 files

Postby vkumarg3 » Wed Apr 30, 2014 6:16 pm

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.
vkumarg3
 
Posts: 29
Joined: Fri Jan 06, 2012 9:29 am
Has thanked: 10 times
Been thanked: 0 time

Re: Count of 500 files

Postby BillyBoyo » Wed Apr 30, 2014 9:12 pm

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

These users thanked the author BillyBoyo for the post (total 2):
vkumarg3 (Sat Jun 21, 2014 11:43 am) • Aki88 (Mon May 05, 2014 12:17 pm)
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post