![]() Chapter Contents |
![]() Previous |
![]() Next |
| CLOSE |
| Category: | SAS File I/O |
| Syntax | |
| Arguments | |
| Details | |
| Examples | |
| See Also |
Syntax |
| CLOSE(data-set-id) |
| Details |
Note:
All data sets
opened within a DATA step are closed automatically at the end of the DATA
step.
| Examples |
%let payid=%sysfunc(open(payroll,is)); macro statements %if &payid > 0 %then %let rc=%sysfunc(close(&payid));
data _null_; dsid=open('mydata','i'); if dsid > 0 then do; ...more statements... end; run;
| See Also |
Function:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.