What is an Attribute?
An attribute is a characteristic of a map field provided by the terminal. Different characteristics can be assigned to fields on a map. For example, the BRIGHT attribute is assigned to fields that should be displayed at an intensity that is brighter than normal. The BLINK attribute is assigned to fields that should blink at runtime.
When are Attributes Specified?
The General Options screen is used to assign attributes to map fields that are applied during error cycles in the runtime system.
All other attributes are assigned to the fields using the field definition screens. If the developer does not specify attributes for a field, default attributes are used for the field.
The field attributes defined using the online compilers can be overridden by the program and dialog processes that use the map.
Note: For more information about commands that modify map attributes, see the CA ADS Reference Guide or the CA IDMS Navigational DML Programming Guide.
When do Attributes take Effect?
The attributes for a field take effect when the field is mapped out to a screen at runtime. An attribute byte is a single-character, nondisplayable byte positioned at runtime at the coordinate immediately preceding a map field. Runtime mapping uses information contained within the attribute byte to determine the appearance and characteristics of the field.
Attributes on 3270s and 3279s
Attributes provided by 3270- and 3279-type terminals are listed in the following table:
Attribute |
Description |
---|---|
ALPHANUMERIC/ NUMERIC |
|
PROTECTED/ UNPROTECTED |
|
SKIP/NOSKIP |
|
DETECTABLE/ NONDETECTABLE |
|
DISPLAY/BRIGHT/ DARK |
|
MDT/NOMDT |
On a mapin operation, only those fields with MDT set on are automatically moved into program variable storage. |
DELIMIT/ NODELIMIT |
|
SKIP DELIMIT |
At runtime, when the operator enters data in the last character position of the field assigned the SKIP DELIMIT attribute, SKIP DELIMIT causes the cursor to tab automatically to the next UNPROTECTED field. |
Attributes on a 3279 ONLY
The following map field attributes are available on 3279-type terminals only.
Note: Three of these attributes, BLINK, REVERSE VIDEO, and UNDERSCORE, are mutually exclusive. For example, neither REVERSE VIDEO nor UNDERSCORE can be assigned to a field for which the BLINK attribute is defined.
Attribute |
Description |
---|---|
BLINK/NOBLINK |
|
NORMAL VIDEO/ REVERSE VIDEO |
|
UNDERSCORE/ NOUNDERSCORE |
|
BLUE/RED/PINK/ GREEN/TURQUOISE/ YELLOW/WHITE/ NOCOLOR |
Any one of these color attributes can be assigned to a field. NOCOLOR specifies that the default display color for the terminal is used. |
Default Values for Attributes
Literal Fields |
Variable Fields |
---|---|
ALPHANUMERIC |
ALPHANUMERIC |
PROTECTED |
UNPROTECTED |
SKIP |
NOSKIP |
NONDETECTABLE |
NONDETECTABLE |
DISPLAY |
DISPLAY |
NOMDT |
NOMDT |
NOBLINK |
NOBLINK |
NORMAL VIDEO |
NORMAL VIDEO |
NOUNDERSCORE |
NOUNDERSCORE |
NOCOLOR |
NOCOLOR |
Copyright © 2013 CA.
All rights reserved.
|
|