CLOSE
CLOSE is a DCL command that closes a file opened with the OPEN command and deassigns the associated logical name.
Syntax
CLOSE logical-name[:]
Qualifiers
- /DISPOSITION=option specifies what action to take when the file is closed. The options are:
- /LOG Generates a warning message when you attempt to close a file that was not opened by DCL. If you specify the /ERROR qualifier, the /LOG qualifier has no effect. If the file has not been opened by DCL, the error branch is taken and no message is displayed.