Chapter Contents

Previous

Next
ROWw.d

ROWw.d



Reads a column-binary field down a card column

Category: Column Binary


Syntax
Syntax Description
Details
Examples
See Also

Syntax

ROWw.d

Syntax Description

w
specifies the row where the field begins.
Range: 0-12

d
specifies the length in rows of the field.
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:

$CBw.
CBw.d
PUNCH.d


Chapter Contents

Previous

Next

Top of Page

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