beautypg.com

HP Integrity NonStop J-Series User Manual

Page 92

background image

NonStop AutoTMF Commands

HP NonStop AutoTMF Software User’s Guide429952-016

6-16

ADD ATMFPROGRAMS

commits automatic transactions after n updates and inserts, if the process is
not holding locks on any of the participating records. This is an advisory setting
for performance, not one that precisely controls management of automatic
transactions.

The value of n should be a power of 2 (1,2,4,8,16,32,...) in the range of 1 to
4096. If the value specified is not a power of 2, the value will be rounded to a
power of 2.

The default is 32.

NOTX

disables automatic transaction processing in the program.

NOWAIT[TX]

returns control to the application without waiting for the transaction to be fully
committed. Automatic transactions generated by the programs are committed
in nowait mode. The status of a nowait transaction is checked by the runtime
when the next transaction for the file is started or when the process terminates.

OPTIMIZEUNL[OCKS]

suppresses UNLOCKFILE operations performed on audited files by the
program set. AutoTMF considers all locks on the file released and attempts to
commit the transaction, subject to the usual protocol for committing automatic
transactions.

This optimization only applies to files that are enabled for automatic
transactions.

UNLOCKFILE optimization can also be enabled for a program by specifying
the class map define

=_ESCORT_OPTIMIZEUNLOCKS

with a dummy file.

To enable the optimization for all programs, set the global parameter
ATMFOPTIMIZEUNL[OCKS] to ON.

READTHRULOCKS

enables read-thru-lock mode on audited files that use automatic transactions.

If READTHRULOCKS is specified, the program attribute overrides the global
ATMFREADTHRULOCK. setting

To set this option for a specific file set use the

ADD ATMFFILESET

or

ALTER

ATMFFILESET

command.

RECORDTX

generates an automatic transaction for each locked record and commits the
transaction as soon as the record is unlocked.

This manual is related to the following products: