If my input has 305 records. The above control card is writing 105[100+5] records in OUT1, 100 in OUT2 and OUT3
I want to split based on the count of input file. If input has 305 records, then continuous 101 records in OUT1, next 101 records in OUT2, and the remaning 103 records in OUT3? Is it possible using SPLIT1R technique? IF not, anyway to split the file using any SORT technique
Joined: 18 Jul 2007 Posts: 2150 Location: At my coffee table
Have you looked up thr "Five ways to split a data set" chapter in Frank's "Smart DFSORT Tricks"?
Did you look up the function of SPLIT, SPLITBY, or SPLIT1R?
Me thinks that you can get what you want with a SPLIT1R=101.....