ZDw.d Format: UNIX

Writes numeric data in zoned decimal format.
Category: Numeric
Alignment: left
Default: 1
Range: 1 to 32
UNIX specifics: data representation
See: ZDw.d Format in SAS Formats and Informats: Reference

Details

The ZDw.d format writes zoned decimal data. This format is also known as overprint trailing numeric format. Under UNIX, the last byte of the field includes the sign with the last digit. The conversion table for the last byte is as follows:
Conversion Table
Digit
ASCII Character
Digit
ASCII Character
0
{
–0
}
1
A
–1
J
2
B
–2
K
3
C
–3
L
4
D
–4
M
5
E
–5
N
6
F
–6
O
7
G
–7
P
8
H
–8
Q
9
I
–9
R