![]() Chapter Contents |
![]() Previous |
![]() Next |
| NEWVAR |
| Category: | SAS Table |
| Syntax | |
| Details | |
| Example | |
| See Also |
Syntax |
|
sysrc=NEWVAR(table-id,col-name,type<,length<,label
<,format<,informat>>>>); |
| 0 | successful |
0 |
not successful |
'C' |
character |
'N' |
numeric |
C,
then a character format should be specified. Otherwise, a numeric format should
be specified.
C,
then a character informat should be specified. Otherwise, a numeric informat
should be specified.
| Details |
![[cautend]](../common/images/cautend.gif)
| Example |
dsid=open('mydata','n');
rc=newvar(dsid,'num','n',8);
rc=newvar(dsid,'char','c',20,'Last Name');
rc=close(dsid);
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.