Monitoring and displaying RRSAF connections
The Resource Recovery Services attachment facility (RRSAF) allows an application or application monitor to disassociate a Db2 thread from a TCB. Later the thread can be associated with the same or a different TCB within the same address space.
About this task
RRSAF uses the RRS Switch Context (CTXSWCH) service to do this. Only authorized programs can execute CTXSWCH.
Db2 stores information in an RRS CONTEXT about an RRSAF thread so that Db2 can locate the thread later. An application or application monitor can then invoke CTXSWCH to disassociate the CONTEXT from the current TCB and then associate the CONTEXT with the same TCB or a different TCB.
The following command displays information about RRSAF threads, including those that access data at remote locations:
-DISPLAY THREAD(RRSAF)
The command produces output similar to the output in the following figure: