Chapter Contents

Previous

Next
SAS Component Language: Reference

Closing Files

You should close an external file or directory when your application is finished with it. To close a file, use the FCLOSE function. To close a directory, use the DCLOSE function. Ordinarily, when you open a file or directory in the initialization section for the window, you close it in the window's termination section. When you open a file or directory in MAIN, you also close it in MAIN.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.