Chapter Contents

Previous

Next
ZDw.d format

ZDw.d format



Writes zoned decimal data

Numeric
Width range: 1 to 32
Default width: 1
Alignment: left
UNIX specifics: data representation


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 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

For more details, see ZDw.d informat and Reading and Writing Binary Data .


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.