Record map (with batch header) to CSV file

Primary tabs

Hello,

I am reading in an X12 document into my production that needs to be processed and returned as a CSV file.  I have created a record map to support the fields I want to extract with a batch class to store headers.  I have a DTL mapping the data to the appropriate fields in the record map and am sending the record map to a EnsLib.RecordMap.Operation.BatchFileOperation.

None of my components error out and in fact report that the message was processed without any errors but I am not getting an output file in my expected output folder. 

Is this an appropriate use of this operation class?  What am I doing wrong?

I have tried setting an intermediate file path, without one, setting a txt or csv output file name, changing input and output directories.

My record name is INFORMATION.FPL.Record and batch class: INFORMATION.FPL.Header

Any help is appreciated. Thank you in advance.
 

Replies

Make sure you are also using EnsLib.RecordMap.Operation.BatchFileOperation as your operation and you define the header in it as well. 

It sounds like the DTL is failing.  Converting X12 is not trivial so make sure the data transform is working.