MPE/iX Intrinsics Reference Manual (32650-90875)

280 Chapter6
Command Definitions (FLUSHLOG-GETUSERMODE)
FUNLOCK
FUNLOCK
NM and CM callable.
Dynamically unlocks a file's global resource identification number (RIN) that was locked
with the FLOCK intrinsic.
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 (2) Request granted.
CCG (0) Request denied. The calling process did not lock the file.
CCL (1) Request denied. The file was not opened with the dynamic locking
aoption
of the FOPEN/HPFOPEN intrinsic, or the
filenum
parameter is
invalid.
Related Information
Manual Resource Management Programmer's Guide