GDDM V3R2 Base Application Programming Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Attribute adjuncts

GDDM V3R2 Base Application Programming Reference
SC33-0868-02



An Attribute adjunct is used to change the attribute of a field from its map-defined default value. There are several types of attribute adjuncts; one "base" attribute that controls a compound set of basic field properties, and one attribute type for each of a set of "extended" properties.

Each attribute adjunct field consists of two subfields; an attribute selector byte, and an attribute value byte. The valid values for the attribute selector are the same for all attribute adjuncts (and the same as those for a Field Selector):

C' '
Ignore the value provided. Leave the attribute at its current value. If the mapped field has just been defined, or if the operator is an MSPUT with option 0 (WRITE), the current value is the map-defined value. Otherwise, the value is that set by previous MSPUT operations.

C'1'
Change the attribute to that specified in the attribute adjunct.

C'2'
Reset the attribute to the map-defined value.

C'3'
Change the attribute to that specified in the attribute adjunct (that is, the same as C'1'). After an MSGET, all attribute adjunct selectors are set to C'3', and the attribute value byte is set to the current attribute value.

The second byte of an attribute adjunct is the value to be used (for selector value C'1' and C'3'). The range of valid values is dependent on the attribute type.

GDDM provides, as part of GDDM-IMD, a set of declarations in Assembler, COBOL, and PL/I, for the values that can be used in attribute adjuncts. These are in the files ADMUAIMC (Assembler), ADMUCIMC (COBOL) and ADMUPIMC (PL/I) in the GDDM Sample Library.

Note that all attribute adjunct types can be used on all devices supported by GDDM for mapping, but they have no effect on the presentation if the device does not support the corresponding function.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012