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

Highlighted
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.

Forteen 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

-----------
One Star

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

Hello,

 

I update this topic cause I am trying to do exactly the same thing.

Is there a way to merge several columns in one positional string, so doing the reverse of tExtractPositional field, without using files ?

 

Did anyone ever find a way to do that ? I looked for all Talend positional components but couldn't find one that can answer this need.

 

Thanks in advance

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch