Maximum Length of Action Text by Action Type
Table 4–1 shows the maximum length of the action text for each action type.
Table 5. Maximum Length of Action Text
Action | Text | Max Length |
---|---|---|
ACTIVATE | Database name | 128 [SP-AMS] 255[CP-AMS] |
COMMAND | Command | 500 [SP-AMS] 69 [CP-AMS] |
DEACTIVATE | None | N/A |
EVENT-REPORT | Formatted text string that describes an event | 2500 |
ALARM | Alarm-id | 2 |
ANSWER | Response number indicator followed by response text | 77 |
DISPLAY | Supplemental message | 69 |
EXECUTE | Name of an OS 2200 Console View macro | 255 |
HIGHLIGHT | Highlighted color | 6 |
HOLD | Hold-id | 12 |
RELEASE | Hold-id | 12 |
RESPONSE | Read-and-reply response | 68 |
SUPPRESS | None | N/A |
TCOMMAND | Console command (transparent COMMAND) | 69 |
TEXECUTE | Name of an OS 2200 Console View macro (transparent EXECUTE) | 255 |
PASSWORD | Command stored in unreadable form | 500 |
Checking for Length of Action Text at Build Time
When you substitute variables in action text, the length of the text cannot be determined until the action is executed. All variables add one character to the estimated length of the generated text, except for the following predefined variables:
_DT adds 13 characters
_DAY adds 6 characters
_RRID adds 8 characters
At run time, the length of each variable depends on its value at the time of substitution.
Partial text references add (end-position - start-position +1) characters.