Close or Close# Statement The CLOSE statement is used to close one or more opened data file. Syntax: CLOSE # (filenumber) Eg: CLOSE #1, #2 CLOSE: CLOSE without filenumber closes the opened file or files. CLOSE # (filenumber): It closes only the specific file or files. Share : Twitter