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


abstract class EnsLib.RecordMap.Service.Standard extends EnsLib.RecordMap.Service.Base

Base class for Business Services which process streams containing data mapped to RecordMaps.

Property Inventory (Including Private)

Method Inventory (Including Private)


parameter SETTINGS = UseSingleSession,HeaderCount;
Inherited description: List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties (Including Private)

property HeaderCount as %Integer [ InitialExpression = 0 ];
Number of prefix lines to ignore in incoming documents to permit parsing of reports and CSV exports with column headers.
Property methods: HeaderCountDisplayToLogical(), HeaderCountGet(), HeaderCountIsValid(), HeaderCountLogicalToDisplay(), HeaderCountNormalize(), HeaderCountSet()
property RecordLength as %Integer;
If HeaderCount is non-zero and the RecordMap is fixed-width, this property is used when calling the chunkRecord method of EnsLib.RecordMap.RecordMap from ReadHeaders()().
Property methods: RecordLengthDisplayToLogical(), RecordLengthGet(), RecordLengthIsValid(), RecordLengthLogicalToDisplay(), RecordLengthNormalize(), RecordLengthSet()
property RecordTerminator as %String;
The Record Terminator to use if HeaderCount is non-zero. The property is used when calling the chunkRecord method of EnsLib.RecordMap.RecordMap from ReadHeaders()().
Property methods: RecordTerminatorDisplayToLogical(), RecordTerminatorGet(), RecordTerminatorIsValid(), RecordTerminatorLogicalToDisplay(), RecordTerminatorLogicalToOdbc(), RecordTerminatorNormalize(), RecordTerminatorSet()
property UseSingleSession as %Boolean [ InitialExpression = 0 ];
Control whether all requests from a single input source should be sent in the same session. The default behaviour is to have each new message in its own session.
Property methods: UseSingleSessionDisplayToLogical(), UseSingleSessionGet(), UseSingleSessionIsValid(), UseSingleSessionLogicalToDisplay(), UseSingleSessionNormalize(), UseSingleSessionSet()

Methods (Including Private)

method OnInit() as %Status [ Language = objectscript ]
If HeaderCount is non-zero, ensure that we correctly initialise the RecordTerminator and RecordLength properties for use in ReadHeaders()().
method ReadHeaders(pIOStream As %IO.DeviceStream, pTimeout As %Numeric = -1) as %Status [ Language = objectscript ]
Method to read a certain number of header records from an incoming stream before creating objects.
method SendRequest(pRequest As %Persistent, pAsync As %Boolean = 1, Output pResponse As %ListOfObjects) as %Status [ Language = objectscript ]
Send the generated object to the requested targets.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)