HP Integrity NonStop J-Series User Manual
Page 90
NonStop AutoTMF Commands
HP NonStop AutoTMF Software User’s Guide—429952-016
6-14
ADD ATMFPROGRAMS
commits all outstanding automatic transactions and abends the process if any
automatic transaction exceeds the specified time.
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.
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 a specific file set, use command
Specifying AUTOCOMMIT as a program attribute overrides the
ATMFAUTOCOMMIT global setting.
COMMONTX
configures files for access using automatic transactions. Use this option to
manage file access under automatic transactions (even if the process has a
transaction), for files that are not configured for SEPARATETX.
ISOLATION { WEAK | NORMAL | STRONG }