Previous Page | Next Page

Formats under UNIX

ZDw.d Format: UNIX



Writes numeric data in zoned decimal format.
Category: Numeric
Width range: 1 to 32
Default width: 1
Alignment: left
UNIX specifics: data representation
See: ZDw.d format in SAS Language Reference: Dictionary

Details

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:

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

For more information, see ZDw.d Informat: UNIX and Reading and Writing Binary Data in UNIX Environments.

Previous Page | Next Page | Top of Page