Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Thu, 08 Mar 2007 @ 14:09:29 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Exiting on BTEQ errors
 
From:   Jinesh P V

set object not found severity to 0

     .set errorlevel 3807 severity 0;

and check errorlevel for each table-drop statement and errorcode for any other SQLs.

     drop testtable;
     .if errorlevel <> 0 then .quit 100;

     sel date;
     .if errorcode <> then .quit 101;


     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020