Question Matthew Martinez · Dec 2, 2019

Record map (with batch header) to CSV file

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.
 

Comments

Michael Hall · Jan 29, 2020

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

0
Scott Roth · Jan 29, 2020

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

0