Previous Page | Next Page

Functions and CALL Routines under z/OS

FCLOSE Function: z/OS



Closes an external file, a directory, or a directory member.
Category: External Files
z/OS specifics: file close is strongly recommended
See: FCLOSE Function in SAS Language Reference: Dictionary

Syntax
Details
See Also

Syntax

FCLOSE(file-id)

file-id

specifies the identifier that was assigned when the file was opened, generally by the FOPEN function.


Details

Files opened with the FOPEN function are not closed automatically after processing. All files that are opened with FOPEN should be closed with FCLOSE. For code examples, see FINFO Function: z/OS


See Also

Previous Page | Next Page | Top of Page