File Access |
The CLOSEFILE statement closes files opened by an INFILE or FILE statement. You specify the CLOSEFILE statement just as you do the INFILE or FILE statement. For example, the following statements open the external file USER.TEXT.CLASS for input and then close it:
filename in 'user.text.class'; infile in; closefile in;
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.