Running application programs using RRSAF
The Resource Recovery Services attachment facility (RRSAF) is a Db2 attachment facility that relies on a z/OS component called Resource Recovery Services (z/OS RRS). z/OS RRS provides system-wide services for coordinating two-phase commit operations across z/OS subsystems.
Before you begin
Procedure
To use RRSAF:
Either link-edit or make
available a load module known as the RRSAF language interface, or
DSNRLI. Alternatively, you can link-edit with the Universal Language
Interface program (DSNULI).
When the language interface is available, your program can use RRSAF to connect to Db2 in the following ways:
- DSNRLI only: Implicitly, by including SQL statements or IFI calls in your program just as you would any program.
- DSNRLI or DSNULI: Explicitly, by using CALL DSNRLI or CALL DSNULI statements to invoke RRSAF functions. Those functions establish a connection between Db2 and RRS and allocate Db2 resources.