Command.GetLdaField Method

Returns a value from a portion of the jobs' LDA (local data area).

Syntax

BegFunc GetLdaField Access(*Public) Type(*String)
   DclSrParm start  Type (*Integer2)
   DclSrParm length Type (*Integer2)   

Parameters

start
The starting position in the local data area to begin retrieving data.
length
The length of the field to retrieve from the local data area.

Return Value

A string containing a value from a portion of the jobs' local data area starting at the start position for the length specified.

Exceptions

The following exceptions may be encountered during the execution of this method.

Value Condition
MonarchJobEndedException The Monarch Job has ended in an exception.
MonarchJobUnavailableException There is no Monarch Job available to accept commands.

Example

DclFld Command Type(ASNA.Monarch.Command) New(*Base.Context)
DclFld SomeString Type(*String)
   SomeString = Command.GetLdaField(512, 11)

Requirements

Namespace: ASNA.Monarch.WebDspF

Assembly: ASNA.Monarch.WebDspF.DLL

Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro