![]() Chapter Contents |
![]() Previous |
![]() Next |
| Data Set Data Model: _getColumnNumber |
| Syntax | |
| Details |
Syntax |
| CALL SEND (object-id, '_getColumnNumber', col-name, col-num); |
| Argument | Type | Description |
|---|---|---|
| col-name |
C | specifies the name of the column for which the number is requested |
| col-num |
N | returns the number for the named column or
-1 if the column does
not exist |
| Details |
The assignment of column numbers is independent of whether the column is displayed in a viewer because the number returned is the position of that column inside the table (data set). In other words, you can call _getColumnNumber for hidden, unhidden, and computed columns.
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.