HP Integrity NonStop J-Series User Manual
Page 97
NonStop AutoTMF Commands
HP NonStop AutoTMF Software User’s Guide—429952-016
6-21
ALTER ATMFFILESET
value: is n [ SEC[ONDS] | MIN[UTES] ], between 5 and 510 minutes. A
value entered as n SEConds is converted to a minute value.
NEVER: disables AUTOCOMMIT. AutoTMF never aborts the long running
transaction.
DEFAULT: the AUTOCOMMIT value is the default, which is set by the
global parameter ATMFAUTOCOMMIT. ATMFAUTOCOMMIT has a default
of 115 minutes, based on the default TMF AutoAbort value of 120 minutes.
NO AUTOCOMMIT is equivalent to DEFAULT.
If a program fails to unlock a record and prevents AutoTMF from committing
automatic transactions, the non-committed updates are eventually lost
because the TMF AUTOABORT timer will cause the abort of the long running
transaction.
To prevent such data loss, AUTOCOMMIT should be set to a value that is less
than the TMF AUTOABORT timer value, about 5 minutes or so.
The default AUTOCOMMIT value is 115 minutes, based on the default TMF
AUTOABORT time limit of 120 minutes.
When AUTOCOMMIT is specified, the runtime monitors automatic transactions
to determine those that have been active for more than the selected time. The
process must be active, either receiving messages on $RECEIVE or
performing database positioning operations. Processes in a "wait" state are not
monitored for long transactions.
If any automatic transaction exceeds the AUTOCOMMIT time, the AutoTMF
runtime takes the following actions:
1. Force the commit of all automatic transactions,
2. Issue an EMS message,
3. Terminate the process with an abend.
The program will have to be restarted but no data will be lost.
To set this value for specific programs, use command
Specifying this option overrides the ATMFAUTOCOMMIT global setting.
COMMONTX | NO COMMONTX
configures files for access using automatic transactions. Use this option to
manage (or not manage) file access under automatic transactions (even if the
process has a transaction), for files that are not configured for SEPARATETX.
CREATEAUDIT | NO CREATEAUDIT
enables or disables (NO CREATEAUDIT) the programmatic creation of audited
files.