|To enable Redrive protection...||Do...|
|at the system level||Set the RedriveProtection DBS Control field to 1.|
|for all sessions by default||
|at the session level||Set the Redrive field in the Session Options parcel to 'Y'.|
|at the user, account, or profile level||Insert or modify a row in the TDWM.Redrive table and set the value of the RedriveMethod column to 2 for the user, account, or profile. For details, see Setting Redrive Protection for Users, Accounts, and Profiles.|
If any of the following are true, the session will not participate in Redrive:
- The RedriveProtection DBS Control field is set to 0
- The Redrive field in the Session Options parcel is set to 'N'
- There is a row in the TDWM.Redrive table indicating that Redrive is disabled for this session
In addition, Recoverable Network Protocol must be enabled in order for you to use Redrive. For details about Recoverable Network Protocol, see the DisableRecoverableNetProtocol DBS Control field in Utilities.
The Redrive capability is assigned to a session at logon time. Once a session is enabled with Redrive, you can subsequently use the Redrive query band to toggle Redrive protection off and on during the life of the session using this syntax:
SET QUERY_BAND = 'redrive=on;' FOR SESSION; SET QUERY_BAND = 'redrive=off;' FOR SESSION;
For details on using the Redrive query band, see SQL Data Definition Language Detailed Topics.