Chapter Contents

Previous

Next
PUNCH.d

PUNCH.d



Reads whether a row of column-binary data is punched

Category: Column Binary


Syntax
Syntax Description
Details
Examples
See Also

Syntax

PUNCH.d

Syntax Description

d
specifies which row in a card column to read.
Range: 1-12


Details

This informat assigns the value 1 to the variable if row d of the current card column is punched, or 0 if row d of the current card column is not punched. After PUNCH.d reads a field, the pointer does not advance to the next column.


Examples

Data Lines* SAS Statements Results
12-7-8
input x punch.12
1

input x punch.11
0

input x punch0.7
1
*The data line is punched card code. The punch card column for the example data has row 12, row 7, and row 8 punched.


See Also

Informats:

$CBw.
CBw.d
ROWw.d


Chapter Contents

Previous

Next

Top of Page

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