SAS Informats under Windows |
Reads zoned decimal data.
Category |
numeric
|
Width range: |
1-32
|
Default width: |
1
|
Decimal range: |
1-10
|
Windows specifics: |
Last byte includes the sign
|
See: |
ZDw.d Informat in
SAS Language Reference: Dictionary
|
-
w
-
specifies the width of the input field.
-
d
-
specifies the power of 10 by which to divide
the input value. If the data contain decimal points, then SAS ignores the d value.
This method is also known as an overprint
trailing numeric format. Under Windows, the last byte of the field contains
the sign information of the number. The following table gives the conversion
for the last byte:
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 |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.