Using KSAM/XL and KSAM 64 (32650-90886)
76 Chapter9
KSAM Intrinsics
FCLOSE
securitycode
16-bit signed integer by value (required)
Returns the type of security initially applied to the file (significant for new
permanent files only). The valid options are:
Value Meaning
0 Unrestricted access; can be accessed by any user, unless
prohibited.
1 Private file creator security; can be accessed only by the
creator.
Operation Notes
FCLOSE deletes buffers and control blocks where the process accessed the file. It also
deallocates the device where the file resides, and it can change the
disposition
of the file.
If FCLOSE calls are not issued for all files opened by the process, the calls are issued
automatically by MPE/iX when the process terminates.
Condition Codes
CCE Request granted.
CCG Not returned.
CCL Request denied. The file was not closed; an incorrect
filenum
was
specified, or another file with the same name and
disposition
exists.
Refer to this intrinsic in the MPE/iX Intrinsics Reference Manual for other codes
pertaining to KSAM files.