Six Stars

Is there a way of writing positional fields without using tFileOutputPositional?

Hi!

 

I'm looking to create a job that combines schema fields into a positional string - so I want the reverse of tExtractPositionalFields but there doesn't seem to be a "write" positional fields component.

 

Using tMap or tXMLMap I could do this with a set of variables and brute force concatenation, but that seems very "programmatic" rather than within the spirit of Talend DI.

 

Any ideas?

 

Thanks!

Screwtape.

1 REPLY
Twelve Stars

Re: Is there a way of writing positional fields without using tFileOutputPositional?

is tFileOutputPositional what are You looking for?
Screen Shot 2018-07-18 at 9.16.46 PM.png

as alternative tMap with LPAD or RPAD also simple way

-----------