EnsLib.EDI.X12.Operation.BatchStandard
abstract class EnsLib.EDI.X12.Operation.BatchStandard extends EnsLib.EDI.X12.Operation.Standard
Property Inventory
Method Inventory
Parameters
parameter SETTINGS = Filename:Basic,AutoBatchParentSegs,AutoBatchCompletionTimeout;
Inherited description: List of properties can be set as settings in the configuration file
format is a comma separated list of property names
Properties
property AutoBatchCompletionTimeout as %Numeric [ InitialExpression = 0 ];
How long to wait before adding the trailing segments to batch output which has been unmodified for a period of time, but does not yet have
the trailing segments necessary to make a complete batch document.
0 means never timeout.
This is only relevant if AutoBatchParentSegs is turned on.
Property methods: AutoBatchCompletionTimeoutDisplayToLogical(), AutoBatchCompletionTimeoutGet(), AutoBatchCompletionTimeoutIsValid(), AutoBatchCompletionTimeoutLogicalToDisplay(), AutoBatchCompletionTimeoutNormalize(), AutoBatchCompletionTimeoutSet()
property AutoBatchParentSegs as %Boolean [ InitialExpression = 1 ];
When writing a message that has a batch parent, output the batch headers first, and follow up with
the batch trailers when triggered by the final batch parent header message or by a file name change.
All child messages of a batch parent message will be written out unless already written previously while AutoBatchParentSegs=true.
All child messages of a batch parent message will be written out unless already written previously while AutoBatchParentSegs=true.
Property methods: AutoBatchParentSegsDisplayToLogical(), AutoBatchParentSegsGet(), AutoBatchParentSegsIsValid(), AutoBatchParentSegsLogicalToDisplay(), AutoBatchParentSegsNormalize(), AutoBatchParentSegsSet()
property Filename as %String (MAXLEN = 1000, MINLEN = 1) [ InitialExpression = "%f_%Q" , Required ];
Name of file to output the document(s) to. May include timestamp specifiers. The %f specifier if present will be
replaced with the name of the document's original source stream (stripped of characters illegal in filenames).
See the method Ens.Util.File.CreateTimestamp() for documentation of timestamping options.
Property methods: FilenameDisplayToLogical(), FilenameGet(), FilenameIsValid(), FilenameLogicalToDisplay(), FilenameLogicalToOdbc(), FilenameNormalize(), FilenameSet()
Methods
method OnInit() as %Status
This user callback method is called just after %OnNew()
Inherited description: This method will be called within KeepaliveInterval of the last return from OnTask() or OnKeepalive().
It is called via the Adapter's OnKeepalive() method, which is called from the Host.OnTask() method;
if there is no Adapter there is no keepalive call.
method OnMessage(pRequest As EnsLib.EDI.X12.Document, Output pResponse As EnsLib.EDI.X12.Document) as %Status
This method is for File and FTP Operations: per-message batch output with no reply. TCP and HTTP Operations
receive reply messages and only support entire batch output.
method completeUnfinishedBatches()
Add trailers to files that have been unchanged for AutoBatchCompleteionTimeout seconds
Implemented by subclasses
Inherited Members
Inherited Properties
- %AlertStartTime
- %ConfigName
- %ConfigQueueName
- %LastActionTime
- %LastHandledTime
- %LastReportedError
- %QuitTask
- %RequestHeader
- %SessionId
- %SuperSession
- %WarnedLatest
- %isShadow
- %outFraming
- Adapter
- AlertGroups
- AlertOnError
- AlertRetryGracePeriod
- ArchiveIO
- BusinessPartner
- DefCharEncoding
- DeferResponse
- FailureTimeout
- Framing
- IOLogEntry
- InactivityTimeout
- NoFailWhileDisconnected
- QueueCountAlert
- QueueWaitAlert
- ReplyCodeActions
- Retry
- RetryCount
- RetryInterval
- SearchTableClass
- SendSuperSession
- Separators
- SuspendMessage
- ThrottleDelay
- Validation
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnClose()
- %OnNew()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %SuperSessionSet()
- %ValidateObject()
- AdapterName()
- AssignOneSetting()
- CloseIOLogEntry()
- DeferResponse()
- EnumerateSettingsClose()
- EnumerateSettingsExecute()
- EnumerateSettingsFetch()
- GenerateSuperSession()
- GetDeferredResponseToken()
- GetMessageList()
- GetProductionSettingValue()
- GetProductionSettings()
- GetPropertyConnections()
- GetSettings()
- GetShadowInstance()
- IncludeSuperSession()
- NewIOLogEntry()
- OnError()
- OnFailureTimeout()
- OnGenerateSuperSession()
- OnGetConnections()
- OnGetReplyAction()
- OnMonitor()
- OnProductionStart()
- OnProductionStop()
- OnTearDown()
- OnValidate()
- OutputFramedToDevice()
- OutputFramedToIOStream()
- QueueName()
- SaveIOLogEntry()
- SendAlert()
- SendDeferredResponse()
- SendRequestAsync()
- SendRequestSync()
- SetOutFraming()
- validateAndIndex()