Reads standard character data from column-binary files.
-
w
-
specifies the width of the input field.
Default: |
none |
Range: |
1-32767 |
Column-binary data storage compresses data so that more
than 80 items of data can be stored on a single "virtual" punch
card.
The $CBw. informat reads
standard character data from column-binary files, with each card column represented
in two bytes. The $CBw. informat translates the data into standard
character codes. If the combinations are invalid punch codes, SAS returns
blanks and sets the automatic variable _ERROR_ to 1.
input @1 name $cb2.;
Data Line* |
Results |
----+----1
|
EBCDIC |
ASCII |
200A
|
+
|
N
|
*
The data line is a hexadecimal representation of the
column binary. The "virtual" punch card column for the example
data has row 12, row 6, and row 8 punched. The binary representation is 0010
0000 0000 1010. |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.