I have a File with 1000 records. After some records this file has value 'SPLIT' in the position 10-14. I want to split this file in to two files.
The data in the first file has to be from record 1 to till the record with the value 'SPLIT' in the position 10-14.
The Data in the second file has to be the remaining records (after the record with the value 'SPLIT' in the position 10-14 to end of the file).
I know we can do this very easily using the EASYTRIEVE. but i want to is this possible using the SORT.
Can some one please help me.
This is my first post, Please excuse me if there are any mistakes.