System Items
The following system items are available for AMT Java applications:
|
System Item |
Description of the system item. AMT Objects: Where this system item can be used e.g. Form / Program. Access: Readonly or Writeable Type: Value Type |
|---|---|
|
Century |
Holds the first two digits of a century notation in DateResult. Depending on the SiCentury setting, the value for Century might be updated if the DateResult value is changed. Cobol Form / Cobol Program Writable Numeric 2 / PIC 9(2) |
|
CurrencySign |
Holds the character to use for the currency symbol. Cobol Form / Cobol Program Writable Char / PIC X(1) |
|
DatabaseType |
Holds the type of database of the runtime. Possible values are: MSSQL, ORACLE or POSTGRESQL Cobol Form / Cobol Program Readonly String / PIC X(~) |
|
ErrorBlockInserts |
If set to true, database inserts will be blocked if an error occurs. Cobol Form / Cobol Program Writable Boolean / PIC 1 |
|
Initiator |
Stores the station name of the client that started a transaction, e.g. "PC-001". The content of the station name depends on the station resolve setting. Cobol Form / Cobol Program Readonly String / PIC X(~) |
|
JobName |
Holds the name of the current script job. Cobol Form / Cobol Program Readonly String / PIC X(~) |
|
LanguageId |
LanguageId contains the language id of the current Form. Cobol Form / Cobol Program Readonly Integer / PIC 9(~) |
|
LastResult |
Stores complementary data when ResOk is set. It also stores the result in case of an unsuccessful call to an external library or executable. A custom string can be assigned to setLastResult, but be aware that the value will be overwritten when the next command, which sets LastResult, is executed. Cobol Form / Cobol Program Writable String / PIC X(~) |
|
Length |
When an Unstring command is performed this system item will be set to the length of the returned string including trailing spaces. Cobol Form / Cobol Program Readonly Integer / PIC 9(~) |
|
LogonUser |
The userName used to log in, this can be different from the userName used in the application. Cobol Form / Cobol Program Readonly String / PIC X(~) |
|
ObjectName |
The current object name Cobol Form / Cobol Program Readonly String / PIC X(~) |
|
Origin |
The origin of the transaction. Only filled when the origin is another application. Cobol Form / Cobol Program Readonly String / PIC X(~) |
|
Param |
This system item is used to store parameters for linkage. Cobol Form / Cobol Program Writable String / PIC X(~) |
|
ResOk |
Stores a boolean value that indicates whether an action has been performed successfully or not. Cobol Form / Cobol Program Readonly Boolean / PIC 1 |
|
SQLCode |
Holds the code from the database. Cobol Form / Cobol Program Readonly Integer / PIC 9(~) |
|
StepName |
Holds the name of the current script step. Cobol Form / Cobol Program Readonly String / PIC X(~) |
|
StopProgram |
Stores a Boolean value that indicates whether a job was requested to stop. Cobol Form / Cobol Program Readonly String / PIC X(~) |
