The scale attribute can be used only when referring to fixed-point, floating-point, or decimal constants. The following table shows the numeric value assigned to the scale attribute:
| Constant
Types Allowed |
Type of DC or DS Allowed |
Value of Scale Attribute Assigned |
|---|---|---|
| Fixed-Point | H and F | Equal to the value of the scale modifier (-187 through +346) |
| Floating Point | D, E, and L | Equal to the value of the scale
modifier
(0 through 14 -- D, E) (0 through 28 -- L) |
| Decimal | P and Z | Equal to the number of decimal digits specified to the right
of the decimal point
(0 through 31 -- P) (0 through 16 -- Z) |
The scale attribute can also be specified outside conditional assembly instructions. Then, the scale attribute value is not used for conditional assembly processing, but is used as a value at assembly time.
[ Top of Page | Previous Page | Next Page | Contents | Index ]