Chapter Contents |
Previous |
Next |
PKw.d |
Category: | Numeric |
Alignment: | left |
Syntax | |
Syntax Description | |
Details | |
Comparisons | |
Examples |
Syntax |
PKw.d |
Default: | 1 |
Range: | 1-16 |
Details |
Each byte of unsigned packed decimal data contains two digits.
Comparisons |
Examples |
y=put(x,pk4.); put y $hex8.;
Values | Results* |
---|---|
----+----1 |
|
128 |
00000128 |
*The result is a hexadecimal representation of a four-byte number written in packed decimal format. Each byte occupies one column of the output field. |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.