The Cics-Supplied Transaction Restart Program - IBM SC34-6814-04 Customization Manual

Cics transaction server for z/os
Table of Contents

Advertisement

XMRS_SYNCPOINT
XMRS_RESTART_COUNT
XMRS_ORIGINAL_ABEND_CODE
XMRS_CURRENT_ABEND_CODE
XMRS_RESTART

The CICS-supplied transaction restart program

The CICS-supplied default transaction restart program requests that the transaction
be restarted if:
1. The transaction has not performed a terminal read (other than reading the initial
2. The restart count is less than 20 (to limit the number of restarts), and
3. The current abend code is one of the following:
The equated values for this parameter are:
XMRS_WRITE_YES
Means a terminal write has been performed by the transaction.
XMRS_WRITE_NO
Means a terminal write has not been performed by the transaction.
Indicates, in a 1-byte field, whether the transaction has performed any
syncpoints.
The equated values for this parameter are:
XMRS_SYNCPOINT_YES
Means one or more syncpoints have been performed.
XMRS_SYNCPOINT_NO
Means no syncpoints have been performed.
This indicates, as an unsigned, half-word binary value, the number of times the
transaction has been restarted.
It is zero if the transaction has not been restarted. It is not the total number of
restarts for the transaction definition. Rather it is the total number of restarts for
transactions that are attempting, for example, to process a single piece of
operator input.
Provides the first abend code recorded by the transaction.
Provides the current abend code. The values of the original abend code and the
current abend code can be different if, for example, a transaction handles an
abend and then abends later.
This is a 1-byte output field that the transaction restart program sets to indicate
whether it wants CICS to restart the transaction.
The equated values for this field are:
XMRS_RESTART_YES
Requests a restart.
XMRS_RESTART_NO
Requests no restart.
input data), terminal write or syncpoint, and
v ADCD, indicating that the transaction abended due to a DBCTL deadlock
v AFCF, indicating that the transaction abended due to a file control-detected
deadlock
Chapter 7. Writing a transaction restart program
447

Advertisement

Table of Contents
loading

Table of Contents