![]() Chapter Contents |
![]() Previous |
![]() Next |
| GETVARC and GETVARN |
| Category: | SAS Table |
| Syntax | |
| Details | |
| Examples | |
| Example 1: Using GETVARN to Search for a Value | |
| Example 2: Using GETVARC with a Nested VARNUM | |
| See Also | |
Syntax |
| cval=GETVARC(table-id,col-num); |
| nval=GETVARN(table-id,col-num); |
| Details |
| Examples |
pricenum=varnum(mydataid,'price'); rc=fetchobs(mydataid,10); price=getvarn(mydataid,pricenum);
rc=fetchobs(mydataid,10); user=getvarc(mydataid,varnum(mydataid,'name'));
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.