Hi All
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)
aaaaaaaaaa1111111111222222222233333333334444444444555555555566666666667777777777
Output file (required output)
aaaaaaaaaa1111111111
aaaaaaaaaa2222222222
aaaaaaaaaa3333333333
aaaaaaaaaa4444444444
aaaaaaaaaa5555555555
aaaaaaaaaa6666666666
aaaaaaaaaa7777777777
I am using SYNC SORT, this is my first post, please ignore my question is not clear.