XQUERY–Querying a session

Use the XQUERY command to request status information that is related to an active XRC session. You can customize your information request using the XQUERY command. An enhancement to the XQUERY function allows you to issue an XQUERY MASTER command to a master session; for clusters in a master session, status information is returned for all XRC sessions in the cluster.

You can generate various summary reports by issuing the XQUERY command with the session ID.

The session consistency group time reported in the XQUERY report is the timestamp of the last application update that was applied to all active secondary volumes in the XRC session. You can use the reported consistency group time to monitor application update activity.

The time reported with IDLE indicates how long the session has been idle. In the IDLE state, XRC has applied all updates to the secondary volumes, and the primary storage controls do not have any updates pending. The time reported with DELAY indicates how far the secondary system lags behind the primary system before all current updates are applied.

The data exposure time that is reported in the XQUERY summary report provides an approximation of the time difference between data that is written to the primary volumes and data that is secured on the journal data set. If the data exposure time is zero, all data written to primary volumes for the session has been secured on the journal data set. If the data exposure time is greater than zero, then the data that has not yet been secured on the journal data set is potentially nonrecoverable. You might use the data exposure time to identify bottlenecks that might prevent the maximum amount of data from being recovered in the event of a disaster.

For additional information about master session reports, refer to XQUERY MASTER in a coupled environment.

For additional information about the types of reports that can be generated, refer to Using XRC reports.