Using KSAM/XL and KSAM 64 (32650-90886)

Chapter 9 147
KSAM Intrinsics
FUNLOCK
FUNLOCK
Dynamically unlocks a file.
Syntax
I16V
FUNLOCK(
filenum
);
Parameters
filenum
16-bit signed integer by value (required)
Passes the file number of the file whose global RIN is to be unlocked.
Condition Codes
CCE Request granted.
CCG Request denied. The file had not been locked by the calling process.
CCL Request denied. The file was not opened with the dynamic locking
aoption
of the FOPEN/HPFOPEN intrinsic, or the
filenum
parameter is
invalid.
Refer to this intrinsic in the MPE/iX Intrinsics Reference Manual for other codes
pertaining to KSAM files.