Chapter Contents |
Previous |
Next |
CBw.d |
Category: | Column Binary |
Syntax | |
Syntax Description | |
Details | |
Examples | |
See Also |
Syntax |
CBw.d |
Range: | 1-32 |
Details |
The CBw.d informat reads standard numeric values from column-binary files and translates the data into standard binary format.
SAS first stores each column of column-binary data you read with CBw.d in two bytes and ignores the two high-order bits of each byte. If the punch codes are valid, SAS stores the equivalent numeric value into the variable that you specify. If the combinations are not valid, SAS assigns the variable a missing value and sets the automatic variable _ERROR_ to 1.
Examples |
input @1 x cb8.;
Data Lines* | Results |
---|---|
----+----1 |
|
0009 |
9 |
*The data line is a hexadecimal representation of the column binary. The punch card column for the example data has row 9 punched. The binary representation is 0000 0000 0000 1001. |
See Also |
Informats:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.