AutoTMF Software User's Guide (Update 15)
NonStop AutoTMF Commands
HP NonStop AutoTMF Software User’s Guide—429952-017
6-27
ALTER ATMFPROGRAMS
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; AUTOABORT minus 5 minutes is 
recommended.
The default AUTOCOMMIT value is 115 minutes, based on the default TMF 
AUTOABORT 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 files, use command ADD ATMFFILESET or 
ALTER ATMFFILESET
.
Specifying this option overrides the ATMFAUTOCOMMIT global setting.
COMMONTX | NO 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 } NO ISOLATION
sets the level of transaction isolation for automatic transactions: 










