Before SCL programs can work with external files, you must establish a communication link between SAS software, the file, and your SCL program. You start the communication link by assigning a fileref to the file, which links the file to SAS software. You complete the communication link by using an SCL function to open the file, which links the file to the SCL program. SCL also enables you to establish this communication link between SAS software, a directory, and your SCL program. Your program can then use any file in that directory without assigning a fileref to it. This can make it easier for you to process multiple files in the same directory.
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.