Hi,
I need sort code to splitt my input file into 2 files based on the key field (1 to 4) and condition filed(5 to 7), If PDF then goes that records into output file 2 else output file 1. Please see below input and output file records detail.
Input File:
1111PDF
1111
1111
2222PAP
2222
3333FAX
3333
3333
4444PDF
4444
Output File 1 (Non PDF Records):
2222PAP
2222
3333FAX
3333
3333
Output File 2 (PDF Records):
1111PDF
1111
1111
4444PDF
4444