Guardian Procedure Calls Reference Manual

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
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development
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
CALL CLOSE ( filenum ! i
,[ tape-disposition ] ); ! i
Parameters
filenum
input
INT:value
is the number of the open file to be closed.
tape-disposition
input
INT:value
is one of these values, indicating what tape control action to take:
tape-disposition.<13:15>
Rewind and unload; do not wait for completion.0
Rewind and unload; do not wait for completion.1
Rewind, leave online, do not wait for completion.2
Rewind, leave online, wait for completion.3
Do not rewind, leave online.4
CLOSE Procedure (Superseded by FILE_CLOSE_Procedure) 169