Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual—522629-013
3-82
CLOSEEDIT Procedure
(Superseded by CLOSEEDIT_ Procedure )
CLOSEEDIT Procedure
(Superseded by CLOSEEDIT_ Procedure
)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Related Programming Manual
Summary
The CLOSEEDIT procedure closes a specified file that was opened by the OPENEDIT
or OPENEDIT_ procedure. The procedure writes to disk any file updates that are still
buffered, optionally closes the file through the file system, and finally deallocates all
data blocks in the EDIT file segment (EFS) that are associated with the file.
CLOSEEDIT is an IOEdit procedure and can be used only with files that have been
opened by OPENEDIT or OPENEDIT_.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be
used for new development. This procedure is supported only for compatibility with
previous software.
Syntax for TAL Programmers
Parameters
filenum input
INT:value
is the number that identifies the open file to be closed.
keep-filenum input
INT:value
if supplied and not equal to 0, causes CLOSEEDIT to
not close the file through the
file system, but to perform the rest of its normal operation. This makes it possible
to keep the open file number for use in later processing.
Note. The CLOSEEDIT procedure is supported for compatibility with previous software. For
new development, the CLOSEEDIT_ procedure should be used instead.
CALL CLOSEEDIT ( filenum ! i
,[ keep-filenum ] ); ! i