Bid status byte (TCTE_BID_STATUS)
DFHZXPS uses a byte in the TCTTE, TCTE_BID_STATUS, to track the various stages of recovery. You can examine this byte to determine the stage of recovery reached by DFHZXPS.
- X'00'
This session has not been processed by DFHZXPS.
- X'01' TCTE_SEND_POSITIVE_RESPONSE
A positive response is to be sent to a bid that was received before system failure. This value is changed to X'07' TCTE_SENT_POSITIVE_RESPONSE before the TCTTE is requeued to DFHZACT for the SEND and so is only seen if DFHZXPS abends. When the response is sent DFHZXPS is recalled.
- X'02' TCTE_SEND_NEGATIVE_RESPONSE
A negative response is to be sent to a bid with data that was sent before system failure. This response must be followed by RTR and so the status byte is changed to X'03' SEND_RTR before the TCTTE is requeued to DFHZACT for the SEND. This value is seen only if DFHZXPS abends. DFHZXPS is recalled when the response has been sent.
- X'03' TCTE_SEND_RTR
Recovery is complete apart from the need to send RTR. This send is done by DFHZDET and DFHZXPS is not recalled.
- X'04' TCTE_SENT_RTR
RTR was sent before system failure. No recovery is required. DFHZXPS is not recalled.
- X'05' TCTE_SEND_LUSTAT_EB
Either a positive response to a bid was received, or a positive response was sent to RTR before the system failed. The bid now must be canceled. DFHZDET performs the cancellation and DFHZXPS is not recalled.
- X'06' TCTE_AWAITING_BB_RESPONSE
A bid was sent before the system failed. No further recovery is required. When the response arrives from the partner, the bid is canceled. DFHZXPS is not recalled.
- X'07' TCTE_SENT_POSITIVE_RESPONSE
Either a positive response has been sent to a bid or one is about to be sent (see TCTE_SEND_POSITIVE_RESPONSE). In the former case, DFHZXPS is not recalled, in the latter case, it is.
- X'08' TCTE_0814_RECEIVED
A negative response was sent to a bid before the system failed. Any further recovery is carried out by DFHZDET and DFHZXPS will not be recalled.
- X'09' TCTE_0813_RECEIVED
As for TCTE_0814_RECEIVED, except that no RTR is expected in this case. No further recovery processing is needed from either DFHZXPS or DFHZDET.
- X'0A' TCTE_SEND_RECOVERY_MESSAGE
All recovery is now complete.
- X'0B' TCTE_DR1_OUTSTANDING
The last flow was inbound with CEB,RQD1 and so, although there is no task to ABEND, a response is still expected by the partner. DFHZSDL sends the response and any further recovery processing is done by DFHZDET. DFHZXPS is not recalled.
- X'0C' TCTE_DR1_EXPECTED
As for TCTE_DR1_OUTSTANDING except that the last flow was inbound. DFHZDET arranges for the response to be received. DFHZXPS is not recalled.
TCTE_BID_STATUS must be used with TCTE_PRSS to determine the state of the recovery. If TCTE_PRSS is set to TCTE_ZXPS_ISSUE_RECOVERY_MESSAGE, or to a state that indicates that recovery is complete, DFHZXPS has finished processing. If not, DFHZXPS is recalled at a later stage.