Previous Page
|
Next Page
CLOSE Function
Closes an open file.
Category:
External File
Returned data type:
Integer
Note:
The returned value is a Boolean value where 1= success and 0 = error.
Syntax
Details
Example
Syntax
fileobject
.
CLOSE
Details
The CLOSE method closes the file that is currently open file (which was opened by using a fileobject.OPEN call) is closed.
Example
file myfile if ( myfile.open("data.txt") ) then ... rc = myfile.close()
Copyright © SAS Institute Inc. All rights reserved.
Previous Page
|
Next Page
|
Top of Page