HP Integrity NonStop J-Series User Manual
Page 217
Problem Resolution
HP NonStop AutoTMF Software User’s Guide—429952-017
C-11
Tracing
Audited - AutoTMF disabled or the file not configured for automatic
transactions.
AutoTMF also keeps track of the locks held by a program on the audited files it
manages. The lock count is displayed in the trace when the program performs a
locking or unlocking operation under an automatic transaction. The example below
shows a sequence of locking operations on 4 different files under a common
transaction and the values of the lock counts:
There are two lock count values:
LC - the number of locks held on the file under the current transaction.
CLC - the total file locks held under the common transaction. The CLC is not
displayed for separate transactions.
Note that the lock count is displayed before the operation is executed. In the
example above, the lock counts displayed in the first READLOCK, on FL1, shows
both LC and CLC counts at 0. The second READLOCKX, on FL3, shows that the
CLC count has been increased by one at the first READLOCKX, and so on.
If a program is experiencing locking problems, long transactions, or errors 35, use the
trace to determine why AutoTMF does not find a good opportunity to commit automatic
transactions.
OPEN($DATA.SOMEDATA.POSKEYS:1,RO/SH, ES)
OPEN($DATA.SOMEDATA.CAF:2,RW/SH, KS, ATMF enabled)
OPEN($DATA.SOMEDATA.PTDF:4,RW/SH, RL, ATMF common tx)
OPEN($DATA.SOMEDATA.PBF:5,RW/SH, KS, ATMF common tx)
OPEN($DATA.SOMEDATA.PRDF:6,RW/SH, KS, ATMF enabled)
OPEN($DATA.SOMEDATA.POYYMMDD:7,WO/SH/NW, ES, ATMF sep tx)
15:29:56:737($PRG!) AutoTMF BEGINTRANSACTION(2.26321296)
...
15:29:56:743($PRG!) READLOCKX($DAT02.PRODDAT.FL1:2,LC=0,CLC=0,0)
...
15:29:56:785($PRG!) READLOCKX($DAT01.PRODDAT.FL3:3,LC=0,CLC=1,0)
...
15:29:56:827($PRG!) READLOCKX($DAT08.PRODDAT.FL4:4,LC=0,CLC=2,0)
...
15:29:56:881($PRG!) WRITEUPDATEUNLOCKX($DAT08.PRODDAT.FL4:4,LC=1,CLC=3,128)
...
15:29:56:941($PRG!) WRITEUPDATEUNLOCKX($DAT01.PRODDAT.FL3:3,LC=1,CLC=2,160)
...
15:29:57:007($PRG!) WRITEUPDATEUNLOCKX($DAT02.PRODDAT.FL1:2,LC=1,CLC=1,416)
...
15:29:57:127($PRG!) READLOCKX($DAT31.PRODDAT.FL5:9,LC=0,CLC=0,0)
...
15:29:57:182($PRG!) WRITEUPDATEUNLOCKX($DAT31.PRODDAT.FL5:9,LC=1,CLC=1,404)
...
15:29:57:217($PRG!) AutoTMF RESUMETRANSACTION(2.26321296)
...
15:29:57:222($PRG!) UNLOCKREC($DAT31.PRODDAT.FL5:9,LC=0,CLC=0)
...
15:29:57:325($PRG!) AutoTMF ENDTRANSACTION(2.26321296)