ZDw.d Informat: UNIX

Reads zoned decimal data.
Category: Numeric
Default: 1
Range: 1 to 32
UNIX specifics: last byte includes the sign; data representation
See: ZDw.d Informat in SAS Formats and Informats: Reference

Details

The ZDw.d informat reads zoned decimal data; it is also known as overprint trailing numeric format. Under UNIX, the last byte of the field includes the sign along with the last digit. The conversion table for the last byte is as follows:
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