EnsLib.RecordMap.SimpleBatchabstract class EnsLib.RecordMap.SimpleBatch
Simplistic Batch implementation to allow for rapid development of batches with a simple, deterministic batch header and trailer structure Note that the RecordMap framework will automatically define a relationship called Records to the Record type contained in the batch. The RECORDMAPGENERATED parameter should be set to 0 if this automatic update should not occur.
Contents of the Batch Header
Contents of the Batch Trailer
The terminator (if any) for the Batch Header. Hex values preceded by \x should be used for control characters.
Parameter to control whether warnings should be logged when leading data is found before the Batch Header characters.
The terminator (if any) for the Batch Trailer. Hex values preceded by \x should be used for control characters.
Property used to contain the Batch Header and terminators for output. This allows for easy manipulation of the output, if needed.
Property used to contain the Batch Trailer and terminators for output. This allows for easy manipulation of the output, if needed.
Get the Batch Header from an incoming stream. This is only invoked once by the RecordMap batch services when a new stream is passed in. Any extra data must be returned in pLookAhead for use in parsing the first record.
Check for the Batch Trailer. The RecordMap batch services will invoke this method on every record in a file after the Batch Header is found.
Write out the Batch Header for the current Batch object
Write out the Batch Trailer for the current Batch object