tFileOutputMSPositional configuration problems

Five Stars JW1
Five Stars

tFileOutputMSPositional configuration problems

Hi,

I have input data records in the form:

 

I0000762857OOOODBISTHTRANSP00000000000001220000028800001/10/17                         01NPO52732100000Z0000000000000000076000              CR/LF

 

With a batch total of the Number of invoices and Total value at the end of the file.

 

The job converts the data record into three record types, VOH (voucher header), VOL (voucher line, there could be multiple lines) and VOD (distribution record), with a BTH (batch header) to include the number of invoices and total value. 

 

The job looks like this

ST1.JPG

 

The job worked ok before I added the BTH (Batch Header). When it was just the VOH, VOL and VOD records the output was in the correct format where each line was in sequence of VOH, VOL (multiple records) followed by a VOD record. Now I'm only getting the BTH record and none of the VOH, VOL and VOD records.

I think the issue is with the tFileOutputMSPositional, but I can't figure out how to configure it so that it works.

Any suggestions would be much appreciated. 

Many thanks, Jerry

Forteen Stars

Re: tFileOutputMSPositional configuration problems

can you provide the sample source record for tFileoutputMSPositional?

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog