Listlocks Guidelines - HP T6553 D45 Reference Manual

File utility program
Table of Contents

Advertisement

FUP Commands
LOCK STATE
specifies the size and range of the lock.
LK^IS
LK^IX
LK^R
LK^US
LK^S
LK^D
LKDUS
LKDS
LKSIX
LK^UX
LKDUX
LK^X
LK^DP2

LISTLOCKS Guidelines

Use the REPORTWIDTH option (from the CONFIGURE command) to set the
maximum length (in columns) for a subsequent LISTLOCKS listing.
The LISTLOCKS display for SQL files sometimes shows meaningless values in
one row; for example, a row of the number 255 (or all zeros).
Intent shared. This lock is acquired for the table only. You can upgrade it to
LK^S when escalation to a table lock is required.
Intent exclusive. This lock is acquired for the table only. You can upgrade it
to LK^X when escalation to a table lock is required.
Range check. This lock assures that the range is not protected by another
lock before an insert. It is always released after it is granted.
Unique shared. This lock is acquired to protect a single row (no range
protection).
Shared. This lock protects an entire table if granted for the table. Otherwise
it protects the row that is locked and the range between the locked row and
the row that precedes it.
Delete. This lock is acquired for the row after a deleted row. Use it to prevent
scans from skipping uncommitted deletes.
Delete. This lock is acquired for the row after a deleted row. Use it to prevent
scans from skipping uncommitted deletes.
Delete shared. This lock is a composite of LK^D and LK^S. It is a shared
lock for the row and a delete of one or more of the rows that precede the
locked row.
Shared, intent exclusive. This lock is acquired for a table when an LK^IX
table lock exists and a user duration LK^S table lock is required for a scan.
Unique, exclusive. This lock is acquired to protect a single row (no range
protection).
Delete, unique exclusive. This lock is a composite of LK^D and LK^UX. It
describes a unique exclusive lock for the row and a delete of one or more
rows before the locked row.
Exclusive. This lock is acquired to provide exclusive protection for the row
that is locked and for the range between the locked row and the row before
it.
DP2 key-link (either left or right key linklock). This is not a lock but is
maintained in the same manner. A key-link is an entity that helps DP2
process efficiency and is in the output of most utilities that display lock
information.
File Utility Program (FUP) Reference Manual—523323-014
2-122
LISTLOCKS Guidelines

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G08H01H02

Table of Contents