What is expected of your resource manager, Limitations – IBM SC33-1683-02 User Manual

Page 304

Advertising
background image

Table 12. Valid return codes for a TRUE invoked by the CICS syncpoint manager

Request-type

Return codes

Meaning

UERTPREP

UERFPREP

Phase 1 of 2-phase commit successful

UERFBACK

Phase 1 of 2-phase commit unsuccessful

UERTWAIT

None

Not applicable

UERTCOMM

UERFDONE

Phase 2 of 2-phase commit successful

UERFHOLD

Phase 2 of 2-phase commit unsuccessful

UERTBACK

UERFDONE

Backout successful

UERFHOLD

Backout unsuccessful

UERTONLY

UERFOK

Single-phase commit successful

UERFBOUT

Single-phase commit failed and backed out

UERTELUW

None

Not applicable

What is expected of your resource manager

If every request from the syncpoint manager prompts a meaningful response from
the resource manager, CICS ensures that changes to recoverable resources (such
as databases) can be synchronized. That is, either all the changes take effect or all
are backed out, even across system failures.

Limitations

Do not update a recoverable CICS resource during a syncpoint call because any
changes will not be seen by the CICS syncpoint manager.

Sample code for a TRUE invoked by the CICS syncpoint
manager

The pseudocode given in Figure 8 on page 273 is only an example. It is not
complete, and includes only some of the conditions that a task-related user exit
invoked at a syncpoint might be required to check.

the task-related user exit program

272

CICS TS for OS/390: CICS Customization Guide

|

|

|
|

Advertising