Guardian Procedure Calls Reference Manual

CLOSEEDIT Procedure (Superseded by CLOSEEDIT_ Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Related Programming Manual
Summary
NOTE: The CLOSEEDIT procedure is supported for compatibility with previous software. For new
development, the CLOSEEDIT_ procedure should be used instead.
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
CALL CLOSEEDIT ( filenum ! i
,[ keep-filenum ] ); ! i
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.
Related Programming Manual
For programming information about the IOEdit procedures, see the Guardian Programmer's Guide.
CLOSEEDIT Procedure (Superseded by CLOSEEDIT_ Procedure) 175