BTEQ - Immediate Exit on "Warning: RDBMS CRASHED OR SESSIONS RESET. RECOVERY IN PROGRESS."

Tools & Utilities
Tourist

BTEQ - Immediate Exit on "Warning: RDBMS CRASHED OR SESSIONS RESET. RECOVERY IN PROGRESS."

Is it possible to force BTEQ to immediately exit and not wait when the Teradata system being logged in to is down? 

 

As Is:

Teradata BTEQ 16.10.00.01 for LINUX. Enter your logon or BTEQ command:
.logon system-name/userID,;

.logon system-name/userID,
Password:

*** Warning: RDBMS CRASHED OR SESSIONS RESET. RECOVERY IN PROGRESS.

 

<Session hangs>

 

 

2 REPLIES
Junior Contributor

Re: BTEQ - Immediate Exit on "Warning: RDBMS CRASHED OR SESSIONS RESET. RECOVERY IN PROGRESS.&

BTEQ added an EXITONDELAY command in 15.10, this should provide what you need (never tested it).

Enthusiast

Re: BTEQ - Immediate Exit on "Warning: RDBMS CRASHED OR SESSIONS RESET. RECOVERY IN PROGRESS.&

Works like a charm!