![]() Chapter Contents |
![]() Previous |
![]() Next |
| APPEND |
| Category: | SAS Table |
| Syntax | |
| Details | |
| Example | |
| See Also |
Syntax |
| sysrc=APPEND(table-id<,option>); |
| 0 | successful |
0 |
an error or warning condition occurred |
'NOSET'
'NOINIT'| Details |
| Example |
tableid=open('work.dataone','u');
call set(tableid);
fname='Fname';
ssn='999-99-9999';
if (append(tableid)) then do;
_msg_=sysmsg();
If SET had not been called, then using the NOINIT option would produce the same results:
tableid=open('work.dataone','u');
fname='ROBERT';
ssn='999-99-9999';
call putvarc(tableid,varnum(tableid,'fname'),fname);
call putvarc(tableid,varnum(tableid,'ssn'),ssn);
if (append(tableid,'noinit')) then
_msg_=sysmsg();
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.