HP Integrity NonStop J-Series User Manual
Page 84

NonStop AutoTMF Commands
HP NonStop AutoTMF Software User’s Guide—429952-017
6-8
ADD ATMFFILESET
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 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 has exceeded the AUTOCOMMIT time, the
AutoTMF runtime will take 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
AUTOCOMMIT overrides the ATMFAUTOCOMMIT global.
IF AUTOCOMMIT is specified, SEPARATETX must also be specified.
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.
CREATEAUDIT
sets the audit attribute on a file that is created programmatically.
HIDEAUDIT
conceals the audit attribute of a file from the application program when the
program inquires about file attributes using procedure calls such as FILEINFO,
FILERECINFO, FILEGETINFO, and so on.