Where allowed to run: All environments (*ALL) Threadsafe: Yes |
Parameters Examples Error messages |
The Close File (CLOF) command closes a database file. This command works in conjunction with the Open Query File (OPNQRYF) and Open Database File (OPNDBF) commands.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OPNID | Open file identifier | Name | Required, Positional 1 |
Top |
Specifies the name used on the Open Query File (OPNQRYF) command or Open Database File (OPNDBF) command for identifying this open operation. This name is specified when closing this file; you cannot reuse it without first closing this file.
This is a required parameter.
Top |
CLOF OPNID(APPL)
This command closes a database file that was opened with APPL as the OPNID. The file was previously opened using the OPNDBF or OPNQRYF command with APPL specified (or defaulted) as the OPNID.
Top |
*ESCAPE Messages
Top |