Chapter Contents

Previous

Next
PDw.d format

PDw.d format



Writes packed decimal data

Numeric
Width range: 1 to 16
Default width: 1
Decimal Range: 0-31
Alignment: left
UNIX specifics: data representation


Details


Details

The PDw.d format writes values in packed decimal format. In packed decimal data, each byte contains two digits. The w value represents the number of bytes, not the number of digits. The value's sign is the first byte. Because the entire first byte is used for the sign, you should specify at least a width of 2.

For more details, see Reading and Writing Binary Data .


Chapter Contents

Previous

Next

Top of Page

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