Assigns a value to a portion of the jobs' LDA (local data area).
Syntax
BegSr SetLdaField Access(*Public) Type(Void) DclSrParm start Type (*Integer2) DclSrParm length Type (*Integer2) DclSrParm newValue Type (*String)
Parameters
- start
- The starting position in the local data area that the newValue data will be inserted.
- length
- The length of the field to be inserted into the local data area.
- newValue
- The value to assign to the 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) Command.SetLdaField(512, 12, "SomeNewValue")
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
