![]() Chapter Contents |
![]() Previous |
![]() Next |
MODVAR |
Category: | Variable |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
sysrc=MODVAR(table-id,var-name,new-name<,label <,format<,informat>>>); |
0 | successful |
![]() |
not successful |
Type: Numeric
Type: Numeric
Type: Character
Type: Character
Type: Character
Type: Character
Type: Character
Details |
The table must be opened in UTILITY (V) mode, or the function halts.
If you do not want to change an argument, insert a null
string (
''
) as a placeholder.
Example |
Change only the label for the column PHONENUM in the SAS table CUSTOMR:
dsid=open('customr','v'); if dsid then do; rc=modvar(dsid,'phonenum','','Office Phone'); rc=close(dsid); end;
See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.