I'm looking a way to copy a dsn with lrecl VB 255 to a dsn with FB 133 without losing any data (no truncating).
I'd like to keep the data over 133 characters on the first line and put it at the begining of the next line, and so on.
Just like it's done with Icetool and its Resize operator (see example 3 here)
On my site, since we have Syncsort instead of Icetool, I need to find a way with Syncsort.
I guess I could try with the OUTREC control statement and some of its parameters like IFTHEN or IFOUTLEN but I'm a totally newbie and I don't know where to start...
Do you guys have some clue ?
For example, I have this kind of data in the input dsn :
LINE1111111LINE222
2222LINE3333333LIN
E4444444LINE555555
5LINE6666666
2222LINE3333333LIN
E4444444LINE555555
5LINE6666666
The idea is to get the following output :
LINE1111111
LINE2222222
LINE3333333
LINE4444444
LINE5555555
LINE6666666
LINE2222222
LINE3333333
LINE4444444
LINE5555555
LINE6666666