I am new to ICETOOL. I have a requirement like below
I have more than one input file to the sort step. I should move the first 5000 records to the output file and remaining records should be written to the same input file again.
File 1 - 6000 records
File 2 - 7000 records
After my first run
File 1 - 1000 records (First 5000 records moved to the output file)
File 2 - 7000 records - no change
After second run
File 1 - 0 Records
File 2- 3000 records
During the second run, 1000 records from first file and 4000 records from second file should be written to output file.
Please guide me to solve this problem.