Correct operation of Adabas Transaction Manager depends on the settings of client runtime controls. These are defined and maintained using Online Services. Their settings determine the logic to be used by the ATM Client proxy during transaction processing. These settings should be determined according to production system requirements, and should be tested before being used in production.
This section describes each TM runtime control:
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime |
Indicates whether or not TM is to provide transaction coordination for this client session. |
ON | OFF | OFF |
Possible values:
Value | Description |
---|---|
ON | Users will perform distributed transaction processing, and TM is to provide transaction coordination. |
OFF | TM is not to be used for coordinating transactions for users in this client session. |
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime |
Identifies the Adabas System Coordinator group in which the client session or TP system will execute. |
Any valid Adabas System Coordinator group name | A valid group name must be provided |
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime | Sets the maximum number of databases with which a client session can have an active session at one time. | number | 4 |
The setting should include all databases without regard to their
DTP
parameter settings.
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime | Indicates whether client sessions are to tolerate transient outages of Adabas Transaction Manager services. | YES | NO | FORCE | FORCE |
Possible values:
Value | Description |
---|---|
YES | One response code 240 sub-code 84 is issued for
each client session that is affected; after that transactions are
applied/undone with series of ET/BT commands. When
the outage ends normal DTP mode automatically resumes.
|
NO | Distributed transactions are not allowed during outages, all receive response code 240 sub-code 84. |
FORCE | Same as YES without the response code alert. |
For more information refer to the section Processing Modes.
Note:
If a client session switches to use continuous operation when the
session has a transaction open, the client might receive unexpected response
codes. For example, the transaction might be backed out, and response 9
returned to the client. Other response codes, such as response code 240
sub-code 88, might be given, depending on how far the transaction had
progressed, and there is a possibility that the transaction will remain
unresolved until Adabas Transaction Manager is once again able to carry out its
responsibilities. Even so, the setting of value FORCE
will ensure minimum disruption and will probably allow most clients to continue
processing without noticing the switch.
From the viewpoint of a client session, an external database is a
database that executes outside the scope of the session’s System Coordinator
group. The session’s System Coordinator group is identified by the client
control System Coordinator Group Name
.
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime | Indicates the extent to which Adabas Transaction Manager will provide transaction coordination if the client session changes external databases. | YES | RM | NO | YES |
Possible values:
Value | Description |
---|---|
YES | The client session is permitted to change
external RMs and external non-RMs. Adabas Transaction Manager provides DTP
coordination of external RMs using a 2-phase commit protocol. Serial
ET/BT coordination is provided for external non-RMs.
|
RM | The client session is permitted to change external RM databases, with DTP coordination provided by TM, as described above. If the client session attempts to change an external non-RM, the command will be rejected with response code 240 sub-code 544. |
NO | If the client session attempts to change an external RM or an external non-RM, the command will be rejected with response code 240 sub-code 544. |
This feature can be used to make it easier to upgrade multi-system environments. Historically it has been difficult to perform software upgrades in sites that deploy Adabas Transaction Manager across several inter-connected systems. This client runtime control makes it possible to upgrade one system at a time. The upgrade can be achieved by creating a new System Coordinator group in one system, replacing the previous software levels. The new client control can then be used to instruct Adabas Transaction Manager to provide DTP coordination across the System Coordinator groups.
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime | Overrides the TM control of the same name. | TM | ADABAS | RM | NONE | NONE |
Possible values:
Value | Description |
---|---|
TM | ET data is always stored
in and read from the TM recovery file, without regard to the database to which
the command was issued.
|
ADABAS | ET data is always be
stored in and read from the database to which the command was issued.
|
RM |
|
NONE | ET data location is
determined by the TM control of the same name.
|
See also the section entitled ET data and ET identity processing in your Adabas Transaction Manager Programmers Guide documentation.
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime | Indicates whether or not the ATM client proxy is
to generate an OP command when a session uses a
database without having issued an OP .
|
NO | YES | NO |
Possible values:
Value | Description |
---|---|
NO | The ATM client proxy will not generate
OP commands on behalf of clients.
|
YES | Whenever a client session uses a new database
for which no OP command has been issued, the ATM
client proxy will issue an OP command on behalf of
the client.
|
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime | Indicates whether P and M options on
ET and BT commands will
be honored when a distributed transaction is terminated by a series of
ET or BT
commands.
|
YES | NO | NO |
Possible values:
Value | Description |
---|---|
YES | P and M options on ET
and BT commands will be honored. For any application
environment in which prefetch or multifetch command options can be used, the
setting YES should be used.
|
NO | P and M options on ET
and BT commands will not be honored.
|
If Adabas Vista is present in an application job or TP environment, the
value YES will take effect, regardless of the setting specified for the
ExtendedHold
client control.
For more information on extended hold processing, see Extended Hold Processing.
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime | Overrides the TM distributed transaction time limit. | 0 - 16777215 | 0 |
When the limit is exceeded, the TM component backs out the transaction. The next time the client issues a transactional Adabas command, a response code 9 (ADARSP009) is returned; prior to that point pending response codes can be viewed online. Refer to Pending Response Codes in the Adabas Transaction Manager Programmers Guide.
Note:
It is strongly recommended this distributed transaction timeout
setting is lower than the ADARUN TT
settings for all
Adabas that are to be involved in distributed transactions, otherwise
unpredictable results can occur.
Use of this runtime control overrides the TM control value of the same name.
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime | Adabas transaction dynamics means it is
possible for Adabas transactions to persist across TP message-pairs (tasks).
This dynamic capability normally applies only when open transaction options are
not being used. This is because this dynamic behavior is beyond the capability
of other vendors in open transactions and indeed beyond the capability of most
TP systems. However, the FORCED setting allows it to be used in special
situations, usually only when specifically advised by Software AG.
Note: |
TP | FULL | FORCED | TP | FULL |
Possible values:
Value | Description |
---|---|
TP | Adabas transactions within TP message-pairs are
allowed, but any attempt by an Adabas transaction to persist across a TP
message-pair will result in a response code 240 sub-code 596.
Note: |
FULL | Adabas transactions are completely dynamic.
This means they can take place within TP message-pairs and they can also
persist across TP message-pairs.
Note: |
FORCED | Adabas transactions within TP message-pairs are
allowed. Adabas transactions are also allowed to persist across a TP
message-pair, but any counterpart in other vendor systems will not persist with
them.
Note: |
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime |
Indicates whether or not transactions in this client environment are to interoperate with other open vendor transactions. Only the following environments are able to operate in this way.
|
YES | NO | NO |
Possible values:
Value | Description |
---|---|
YES | Open distributed transaction management is enabled. |
NO | Distributed transaction management is only needed for Adabas. |
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime | Determines whether Adabas transaction control (apply, undo) from other vendors is tolerated. | YES | NO | NO |
Possible values:
Value | Description |
---|---|
YES | Directives (events) from other vendors are allowed to apply or undo in-flight Adabas transactions. |
NO | Transaction control is restricted to the Adabas
domain.
Note: |
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime | Indicates whether ET
command is allowed to control the open transaction because some applications
are written where open distributed transactions must only be controlled by
other vendors leaving ET limited to Adabas
only.
|
YES | NO | NO |
Possible values:
Value | Description |
---|---|
YES | ET commands signal
the open distributed transaction to be applied.
|
NO | ET commands affect
the Adabas domain only.
|
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime | Indicates whether BT
command is allowed to control the open transaction because some applications
are written where open distributed transactions must only be controlled by
other vendors leaving BT limited to Adabas only.
|
YES | NO | NO |
Possible values:
Value | Description |
---|---|
YES | BT commands signal
the open distributed transaction to be undone.
|
NO | BT commands affect
the Adabas domain only.
|
Parameter Type | Use | Possible Values | Default |
---|---|---|---|
Client runtime | Indicates whether CL
command is allowed to control the open transaction because some applications
are written where open distributed transactions must only be controlled by
other vendors leaving CL limited to Adabas only.
|
YES | NO | NO |
Possible values:
Value | Description |
---|---|
YES | CL commands signal
the open distributed transaction to be applied.
|
NO | CL commands affect
the Adabas domain only.
|