I have a requirement like, input file contains 10 records with record length of 80 bytes.
Each record first 10 bytes was Emp-Name and remaining 70 bytes has Emp-Salary for seven months and each month salary contains 10 bytes.
Now I have to write into output file like first record Emp-Name and first record 11th position to 20th position date as first record.
Second record contains first record Emp-Name and first record 21th position to 30th position date as first record.
Like I have to write end of the first record and again repeat same process for second record.
Ex: input file (give only one record as example)
Output file (required output)
I am using SYNC SORT, this is my first post, please ignore my question is not clear.