FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-124
LISTOPENS
R G \MYSYS(1):14:3342 12 "values" ?0 ?11 ?6
\MYSYS.$DATA.SUBVOL.ENTFILE
LOCK REQUESTER KEY
TYPE STATE ID LEN KEY/RECORD ADDRESS
R G \MYSYS.$MYPROG 477184
R G \MYSYS(162):15:002314 2502656
R W \MYSYS.01,044 11264000
F WI \MYSYS.$MYPROG
The locks in this example are grouped by locked resource. A locked resource occurs
when the locks on a file are grouped together, and the locks on a record in that file are
also grouped together.
When the file-set list is a single full volume (for example, $volume.*.*), a volume
request is made to the Guardian file system to retrieve the lock information. The lock
information is retrieved quicker (but unsorted), and FUP displays it in unsorted order.
ï‚·
To display locks on SQL/MX index using ANSI names:
FUP LISTLOCKS 'INDEX CAT_ANSINAME01.SCH_ANSINAME01.IND1
PARTITION (IPART1)',DETAIL
$DATA05.ZSDHKPKT.DK8CK600
ANSI NAME CAT_ANSINAME01.SCH_ANSINAME01.IND1
LOCK REQUESTER KEY
TYPE STATE ID LEN KEY/RECORD ADDRESS
F GI \DRP42(2).2.7784507
LOCK STATE = LK^IX
R G \DRP42(2).2.7784507 8 ?0 ?0 ?0 ?12 ?0 ?0 ?0 ?11
LOCK STATE = LK^UX
LISTOPENS
Lists the processes that have files open from the files specified in the command and
provides other related information.
LISTOPENS supports SQL/MX ANSI names. FUP converts each ANSI name to the
corresponding list of Guardian file names, then performs LISTOPENS on each of these
files, and displays information of the opened files only.
Note. FUP support for fully qualified ANSI names for the LISTOPENS command is applicable
on H06.04 and subsequent RVUs.
LISTOPENS [ / OUT listfile / ] fileset-list / ansiname-list
[ , SCRATCH scratch-filename ]