Chapter Contents |
Previous |
Next |
VARINFMT |
Category: | Variable |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
informat=VARINFMT(table-id,var-num); |
Type: Character
Type: Numeric
Type: Numeric
Details |
If no informat has been assigned to the column, a blank string is returned.
Example |
Obtain the informat of the column NAME in the SAS table MYDATA:
length infmt $ 12; tableid=open('mydata','i'); if tableid then do; infmt=varinfmt(tableid,varnum(tableid,'name')); rc=close(tableid); end;
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.