Home Page for the TeradataForum
 
 

 

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 Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 12 Oct 2008