The binary constant specifies the precise bit pattern assembled into storage. Each binary constant is assembled into the integral number of bytes (see 1 in Table 1) required to contain the bits specified, unless a bit-length modifier is specified.
BCON DC B'11011101'
BTRUNC DC BL1'100100011'
BPAD DC BL1'101'
BFOUR DC B'1111 0100 1111 0100'
00100011
00000101
Subfield | Value | Example | Result |
---|---|---|---|
1. Duplication factor | Allowed | ||
2. Type | B | ||
3. Type Extension | Not Allowed | ||
4. Program type | Allowed | ||
5. Modifiers |
|||
Length: |
1 to 256 |
||
Implicit length: |
As needed |
|
|
Alignment: |
Byte | ||
Scale: |
Not allowed | ||
Exponent: |
Not allowed | ||
6. Nominal value | |||
Represented by: |
Binary digits |
||
Enclosed by: |
Apostrophes | ||
Exponent allowed: |
No | ||
Number of values |
|
||
Padding: |
With zeros at left | ||
Truncation of |
At left |