Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual—522629-013
3-75
CLOSE Procedure (Superseded by FILE_CLOSE_
Procedure )
CLOSE Procedure
(Superseded by FILE_CLOSE_ Procedure
)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Messages
Related Programming Manuals
Summary
The CLOSE procedure closes an open file. Closing a file terminates access to the file.
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 of the open file to be closed.
tape-disposition input
INT:value
is one of the following values, indicating what tape control action to take:
tape-disposition.<13:15>
0 Rewind and unload; do not wait for completion
1 Rewind and unload; do not wait for completion
Note. This procedure is supported for compatibility with previous software and should not be
used for new development
CALL CLOSE ( filenum ! i
,[ tape-disposition ] ); ! i