SAA Resource Recovery
SAA Resource Recovery is the recovery element of the Systems Application Architecture® (SAA) Common Programming Interface (CPI).
SAA Resource Recovery provides that architecture's alternative application programming interface (API) to EXEC CICS® SYNCPOINT and EXEC CICS SYNCPOINT ROLLBACK functions in CICS. (See the SAA Common Programming Interface-Resource Recovery Reference, SC31-6821, for more details.)
CICS supports only those SAA Resource Recovery return codes that match existing EXEC CICS commands. This leaves only two return codes: RR_OK and RR_BACKED_OUT.
SRRCMT
The SAA Resource Recovery commit
call SRRCMT (equivalent to EXEC CICS SYNCPOINT)
has the following return codes:
- RR_OK
- RR_COMMITTED_OUTCOME_PENDING
- RR_COMMITTED_OUTCOME_MIXED
- RR_PROGRAM_STATE_CHECK
- RR_BACKED_OUT
- RR_BACKED_OUT_OUTCOME_PENDING
- RR_BACKED_OUT_OUTCOME MIXED
Because of the restriction, these are replaced by:
- RR_COMMITTED_OUTCOME_PENDING, RR_OK
- RR_COMMITTED_OUTCOME_MIXED, RR_OK
- RR_PROGRAM_STATE_CHECK, shown as abend code ASP2
- RR_BACKED_OUT_OUTCOME_PENDING, RR_BACKED_OUT
- RR_BACKED_OUT_OUTCOME MIXED, RR_BACKED_OUT
SRRBACK
The SAA Resource Recovery backout
call SRRBACK (equivalent to EXEC CICS SYNCPOINT
ROLLBACK) has the following return codes:
- RR_OK
- RR_COMMITTED_OUTCOME_PENDING
- RR_COMMITTED_OUTCOME_MIXED
Because of the restriction, all these are replaced by RR_OK.