HP NonStop G-Series User Manual

Page 100

Advertising
background image

NonStop AutoTMF Software Commands

HP NonStop AutoTMF Software User’s Guide429952-014

6-26

ALTER ATMFPROGRAMS

n is a number between 300 and 30000 but stored internally in minutes, so if
seconds is entered, some rounding of the value may occur. The default unit is
minutes.

The default unit is minutes.

If n = 0, AUTOCOMMIT is disabled for this program set.

If a program fails to unlock a record and prevents NonStop AutoTMF software
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 NonStop
AutoTMF software 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

level of transaction isolation for automatic transactions:

WEAK isolation commits outstanding transactions whenever a process
replies to a request or waits for a new request. This is the default.

Advertising
This manual is related to the following products: