I need to code a job which will generate a list of dataset names that have less than 3 records.
The job step has to read a set of datasets and create an output dataset with a list of dataset names that have less than 3 records.
For example,
If
input file1 has 5 recs,
input file2 has 1 rec,
input file3 has 0 recs,
input file4 has 2 recs,
input file5 has 100 recs,
then the output dataset should be craeted with data as below:
THE BELOW LISTED FILES HAVE NO DETAIL RECORDS TO PROCESS FOR THE DAY.
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
Does your output need to show the actual dataset names, or just the DD name associated to a specific dataset? If so, you'll need to provide some details as to how you'll supply that information to the DFSORT/ICETOOL process.
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
So, I take it we're talking about a fixed number of input datasets, consistent from one run to the next, where you can identify the dataset name by its associated DD name and hard-code that name in the DFSORT/ICETOOL control statements?