I have a requirement to use SELCOPY and split the output file such that the output is split between the three output files. For example if I have 31000 records in my input file, it should be split in this fashion.
First 10000 goes to output file 1
second 10000 goes to output file 2
remaining 11000 goes to output file 3.
I know the syntax in DFSORT, but not sure about SELCOPY.