The following scenario uses XRC commands to change the XRC session error recovery level.
XSTART TUCSON SESSIONTYPE(XRC) ERRORLEVEL(SESSION)
An error on any duplex volume causes the XRC session and all volumes in the session to be suspended. If an error occurs, all volumes in the session must be resynchronized. The state, control, and journal data sets are under a high-level qualifier of SYS1.
XADDPAIR TUCSON VOLUME(PRIM01,SECO01)
XADDPAIR TUCSON VOLUME(PRIM02,SECO02) ERRORLEVEL(VOLUME)
Normal data processing continues.
XSUSPEND TUCSON ATTIME(1998.266 19:41:20.231440) TIMEOUT(03.30.00)
The timeout duration of three hours and 30 minutes means that you plan to restart this session by an XSTART command before this timeout duration has passed.
During the suspension, storage controls that support hardware bitmapping record application updates in their hardware bitmaps. Storage controls that do not support hardware bitmapping do not record application updates. Instead, updates accumulate in cache until the XSTART command function is complete.
XSTART TUCSON SESSIONTYPE(XRC) ERRORLEVEL(VOLUME)
The default error recovery level was SESSION. Specifying ERRORLEVEL(VOLUME) changes the default error recovery level to VOLUME for all new volumes that are added to the session. The state, control, and journal data sets are under a high-level qualifier of SYS1.
XADDPAIR TUCSON VOLUME(PRIM01,SECO01,PRIM02,SECO02)
Since this is a volume resynchronization, the volume pair keeps its original error recovery level of SESSION.
XADDPAIR TUCSON VOLUME(PRIM03,SECO03)
XADDPAIR TUCSON VOLUME(PRIM04,SECO04) ERRORLEVEL(SESSION)
If an error occurs on this volume, the entire XRC session is suspended.