Home > Class Reference > ENSLIB namespace > EnsLib.RecordMap.Service.FileService


class EnsLib.RecordMap.Service.FileService extends EnsLib.RecordMap.Service.Standard

Business Service to consume data from files using the RecordMap parsing framework.

Property Inventory

Method Inventory


parameter ADAPTER = EnsLib.File.InboundAdapter;
Inherited description: The type of adapter used to communicate with external systems
parameter SETTINGS = FatalErrors;
Inherited description: List of properties can be set as settings in the configuration file format is a comma separated list of property names


property FatalErrors as %String (VALUELIST = ",Any,ParseOnly") [ InitialExpression = "Any" ];
An error saving an individual Record, such as a validation error, will be treated as fatal and end the processing of the message when the setting is "Any".
If "ParseOnly" is selected, errors when saving individual Records will not be treated as fatal, and parsing of the message will continue after logging an error log and skipping the errored record.
If AlertOnError is enabled, an alert will be sent for a save error when "ParseOnly" is selected.
The default is "Any".
Property methods: FatalErrorsDisplayToLogical(), FatalErrorsGet(), FatalErrorsIsValid(), FatalErrorsLogicalToDisplay(), FatalErrorsLogicalToOdbc(), FatalErrorsNormalize(), FatalErrorsSet()


method OnProcessInput(pInput As %Stream.Object, Output pOutput As %RegisteredObject, ByRef pHint As %String) as %Status [ Language = objectscript ]
Parse the incoming file and send the resulting objects to the targets in TargetConfigNames.

Inherited Members

Inherited Properties

Inherited Methods