HLASM Language Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Subfield 5: Modifier

HLASM Language Reference
SC26-4940-06

The syntax for coding the modifier is shown in the subfield format operands in DC instruction.

You can omit the modifier subfield. Modifiers describe the length in bits or bytes you want for a constant (in contrast to an implied length), and the scaling and exponent for the constant.

The three modifiers are:
  • The length modifier (L), that explicitly defines the length in bytes you want for a constant. For example:
    LENGTH   DC              XL10'FF'
  • The scale modifier (S), that is only used with the fixed-point or floating-point constants (for details, see Scale modifier). For example:
    SCALE    DC              FS8'35.92'
  • The exponent modifier (E), that is only used with fixed-point or floating-point constants, and indicates the power of 10 by which the constant is to be multiplied before conversion to its internal binary format. For example:
    EXPON    DC              EE3'3.414'
If multiple modifiers are used, they must appear in this sequence: length, scale, and exponent. For example:
ALL3     DC              DL7S3E50'2.7182'
Symbols used in subfield 5 need not be previously defined, except in literals. For example:
SYM      DC              FS(X)'35.92'
X        EQU             7

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014