SYNTERM request

You can use the SYNTERM request to make a single-phase sync point request to commit the UOR or to release the PSB.

You must fill in the following input fields in the PAPL:

Field
Contents
PAPLFUNC
PAPLTFUN
PAPLSFNC
PAPLSTRM, sync point commit/terminate subfunction code
PAPLCTOK
DRA request token (output from INIT request)
PAPLCTK2
The thread request token number 2. This DRA token is the output from the SCHED request.
PAPLTTOK
The thread token set up by the CCTL
PAPLRTOK
A 16-byte UOR token (RTOKEN).

You can specify the following, optional input fields:

Field
Contents
PAPLSTAT
Address of an area where transaction statistical data is returned to the CCTL.
PAPLTECB
To use the default Suspend exit routine and Resume exit routine, each DRA request must have the field PAPLTECB set with the address of a CCTL ECB to be used if the thread is waited or posted. If your CCTL does not provide Suspend and Resume exit routines, the DRA default exit routines will be used.

The output fields returned in the PAPL to the CCTL are:

Field
Contents
PAPLRETC
Code returned
PAPLSSCC
State of the single-phase sync point request at the time of the thread failure. This field is set if PAPLRETC is not equal to zero.
PAPLSTAT
The address of the transaction statistical data area. The address must be specified on the input field.