I've a input file which holds a column of length 20 characters.
I've to write it in the target which has the column length as 8 characters.
So the first 8 characters should be written in first line of the column & the next 8 characters should be written to the nest line,.....
But the values of the other columns should remain same.
In Transformer, use 2 output links and write first 8 chacacter is first link and rest character in second link and then use funnel stage to combine both the output.
nirdesh2 wrote:In Transformer, use 2 output links and write first 8 chacacter is first link and rest character in second link and then use funnel stage to combine both the output.
Hi Nirdesh,
Thanks for ur reply.
But if in the case of my input having more characteres,which has to be written in more than two lines in the output,then having 2 outputs from a transformer won't workout.
I will leave it to you to derive the value of 'n' and 'newlineChar'
Need help to define the 'newlineChar' , if I give '\n' it doesnt recognise it and loads it as '\n' , what should be the value of newlingChar so that it is recognised...