Escort_optmzunlocksoff, Escort_read_null_recs, Escort_skip_null_recs – HP Integrity NonStop H-Series User Manual
Page 193: Program, use the, Define
![background image](/manuals/397556/193/background.png)
Special DEFINEs
HP NonStop AutoTMF Software User’s Guide—429952-013
B-7
=_ESCORT_OPTMZUNLOCKSOFF
Non TMF-aware applications sometimes issue a blanket call to UNLOCKFILE to
release all locks rather than managing locks individually. When optimization is enabled:
•
NonStop AutoTMF software eliminates the call to UNLOCKFILE.
•
Since the program has released all locks on the file, NonStop AutoTMF software
attempts to commit the transaction, subject to the usual protocol for committing
automatic transactions (no other lock is held on another file participating in the
transaction).
Note that the optimization can only be enabled for files that are also enabled for
automatic transactions.
=_ESCORT_OPTMZUNLOCKSOFF
Specify this define to disable the optimization of UNLOCKFILE operations.
The file parameter is ignored.
This define overrides the value of the global parameter ATMFOPTIMIZEUNLOCK or of
the ATMFPROGRAMS attribute OPTIMIZEUNLOCKS.
=_ESCORT_READ_NULL_RECS
You can request that the NonStop AutoTMF software runtime return (not skip) zero-
length records when a process is reading sequentially through an audited entry-
sequenced. The DEFINE is added with the following TACL command:
The file parameter is ignored.
This define reverses the effect of the
define. See the
description below for details.
Specifying this define overrides the value of the global parameter
ATMFSKIPNULLRECS.
=_ESCORT_SKIP_NULL_RECS
You can request that the NonStop AutoTMF software runtime ignore zero-length
records when a process is reading sequentially through an audited entry-sequenced
file. The DEFINE is added with the following TACL command:
The file parameter is ignored.
ADD DEFINE =_ESCORT_OPTMZUNLOCKSOFF, CLASS MAP, FILE X
ADD DEFINE =_ESCORT_READ_NULL_RECS, CLASS MAP, FILE $X.Y.Z
ADD DEFINE =_ESCORT_SKIP_NULL_RECS, CLASS MAP, FILE $X.Y.Z