I have a requirement. I have a file which is of LRECL 100 bytes and the record layout is like given below.
Note: there are no sequence numbers present and the 1 2 3 given before A B C denotes the record types. So which means we have to combine all the record types into one record and the output file length should be 300 bytes.
and the o/p file should have the values as below.
11AAAAXXXXXX 2BBBBXXXXXX 3CCCCXXXXXX
11aaaaxxxxxx 2bbbbxxxxxx 3ccccxxxxxx
I have to use Syncsort to achieve this. Can someone please give an idea how this can be done. This can be achieved using SPLICE but still the examples which I got from the searches are not relevant for this.