Mainframes PL/I(PL1) JCL IDMS DB2
Thursday, September 13, 2012
Internal Representation of Fixed-Point Decimal Data
›
Fixed-point decimal data is stored in packed decimal format. Each digit is stored in a half-byte, as shown in Figure. Bits 0 through 3 of t...
12 comments:
Use in Expressions
›
You cannot use fixed-point decimal data with a nonzero scale factor in calculations with binary integer variables. If you must use the two ...
Fixed-Point Decimal Variables
›
The attributes FIXED and DECIMAL are used to declare fixed-point decimal variables. The FIXED attribute is implied by DECIMAL. If you do no...
Fixed-Point Decimal Constants
›
A fixed-point decimal constant can have between 1 and 31 of the decimal digits 0 through 9 with an optional decimal point or sign, or both....
Fixed-Point Decimal Data
›
Fixed-point decimal data is used in calculations where exact decimal values must be maintained, for example, in financial applications. You...
Internal Representation of Fixed-Point Binary Data
›
The following figure shows the internal representation of fixed-point binary data. Storage for fixed-point binary variables is always alloc...
Fixed-Point Binary Data
›
The attributes FIXED and BINARY are used to declare integer variables and fractional variables in which the number of fractional digits is ...
›
Home
View web version