TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-167
#FILEGETLOCKINFO Built-In Function
#FILEGETLOCKINFO Built-In Function
Use #FILEGETLOCKINFO to obtain information about record and file locks.
option
can be one of the following options or can be omitted. If omitted,
#FILEGETLOCKINFO returns information for all locks.
PROCESSID processid
specifies the name or PID (if not named) of an existing process. The
#FILEGETLOCKINFO built-in function will return information about locks held
or requested by the specified process.
TRANSID transid
returns information about locks held or requested by the specified TMF
subsystem transaction. transid is a four-word transaction identifier that
uniquely identifies a specific transaction protected by the TMF subsystem.
transid must have this format:
\node ( crash-count). cpu. sequence-number
( crash-count) can be omitted if it equals 0. \node can specify a node
name or node number and can be omitted for a local node if crash-count is
also omitted. For additional information about transaction identifiers, see the
TMF subsystem documentation.
fvname
specifies the name of an existing file or volume for which lock information is
desired. If the PROCESSID or TRANSID is specified, fvname must be a volume
name; otherwise, it can be a volume name or a file name. If the name is not fully
qualified, the current defaults apply.
control
is a STRUCT used to control a series of calls to #FILEGETLOCKINFO. This
STRUCT is updated by #FILEGETLOCKINFO on each call. The contents are for
use by the operating system and should not be modified by the user.
The STRUCT must be defined as an array of ten integers. Example:
[#DEF control STRUCT
BEGIN
INT x (0:9);
END;
]
#FILEGETLOCKINFO [ / option / ] fvname control lockdesc
participants