ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFG...
Table 1 shows the IBM-supplied patterns.
| |
Expressed in |
Expressed in |
|---|---|---|
| Alphanumeric |
C1C2...E9, F0...F9 |
AB...Z, 0...9 |
| Alphabetic |
C1C2...E9 |
AB...Z |
| Zoned Decimal |
F0F0...F9F9 |
00...99 |
| Packed Decimal |
0000...001C |
Not applicable |
| Binary Number |
00000001 |
Not applicable |
| Collating |
40...F9 |
␣¢.<(+|&!$*);¬-/, |
| Random Number |
Random hexadecimal |
Not applicable |
A 4-byte packed decimal, binary number, zoned decimal, or random number is right-aligned at the end of the defined field. The remainder of the field will contain fill characters for random numbers, zeros (X'00') for packed decimal and binary, and zoned zeros (X'F0') for decimal patterns.
HIJKLMNOPQ
ABCDEFGHIJ
You can specify a mathematical sign when defining a packed decimal or binary field. If no sign is specified, the field is assumed to be positive.