Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Batch header and footer in Ensemble File Operation

Question
Jimmy Christian · Dec 18, 2019

Batch header and footer in Ensemble File Operation

Hello community,

I am receiving a HL7 message over TCP connection.

I have to set up  a process/operation to produce a daily file with this HL7 messages to be created in a directory using EnsLib.File.OutboundAdapter
and EnsLib.HL7.Operation.FileOperation. The file needs to have a header line added each time it is created and a footer .I did not find any standard class file under File Adapter which will create header/footer. 

Any suggestion will be greatly appreciated.

Thanks,

Jimmy Christian

#FTP #HL7 #Ensemble

Source URL:https://community.intersystems.com/post/batch-header-and-footer-ensemble-file-operation