![]() Chapter Contents |
![]() Previous |
![]() Next |
| ROWw.d |
| Category: | Column Binary |
| Syntax | |
| Syntax Description | |
| Details | |
| Examples | |
| See Also |
Syntax |
| ROWw.d |
| Range: | 0-12 |
| Default: | 1 |
| Range: | 1-25 |
| Details |
The ROWw.d informat assigns the relative position of the punch in the field to a numeric variable.
If the field that you specify has more than one punch, ROWw.d assigns the variable a missing value and sets the automatic variable _ERROR_ to 1. If the field has no punches, ROWw.d assigns the variable a missing value.
ROWw.d can read fields across columns, continuing with row 12 of the new column and going down through the rest of the rows. After ROWw.d reads a field, the pointer moves to the next row.
| Examples |
input x row5.3 input x row7.1 input x row5.2 input x row3.5
| Data Lines* | Results |
|---|---|
----+----1 |
|
00 |
|
04 |
3 |
1 |
|
. |
|
5 |
|
| *The data line is a hexadecimal representation of the column binary. The punch card column for the example data has row 7 punched. The binary representation is 0000 0000 0000 0100. | |
| See Also |
| Informats:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.