isCOBOL Evolve
:
Appendices
:
Library Routines
:
S$IO
: S-CLOSE-FUNCTION
S-CLOSE-FUNCTION
This function closes an open file. It also removes currently held locks on the file.
Syntax:
SET
S-CLOSE-FUNCTION
TO
TRUE
CALL
"S$IO"
USING
SIO-FUNCTION
f
GIVING
returnCode
Parameters:
f
the file handle returned by
S-OPEN-FUNCTION
Return code:
returnCode
can be any signed numeric data item and provides additional information:
>0
Operation successful.
0
Operation failed.
This site works best with JavaScript enabled