Resource Recovery Services (RRS)" /> The RRS adapter

 

The RRS adapter

Resource Recovery Services (RRS) is a subcomponent of z/OS that provides a system-wide service for coordinating two-phase commit across z/OS products. The WebSphere MQ Batch/TSO RRS adapter (the RRS adapter) provides WebSphere MQ support for z/OS Batch and TSO applications that want to use these services. The RRS adapter enables WebSphere MQ to become a full participant in RRS coordination. Applications can participate in two-phase commit processing with other products that support RRS (for example, DB2).

The RRS adapter provides two stubs; link-edit application programs that want to use RRS with one of these stubs.

CSQBRSTB

This stub allows you to use two-phase commit and backout for applications by using the RRS callable resource recovery services instead of the MQI calls MQCMIT and MQBACK.

You must also link-edit module ATRSCSS from library SYS1.CSSLIB with your application. If you use the MQI calls MQCMIT and MQBACK, you will receive return code

MQRC_ENVIRONMENT_ERROR.

CSQBRRSI

This stub allows you to use MQI calls MQCMIT and MQBACK; WebSphere MQ actually implements these calls as the SRRCMIT and SRRBACK RRS calls.

For information about building application programs that use the RRS adapter, see the WebSphere MQ Application Programming Guide.