Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 23 Oct 2015 @ 13:58:58 GMT

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

Subj:   Re: Capturing BTEQ return code and logging output simultaneously
From:   robert mierzwinski

Couldn't you redirect output to a file

     bteq << EOF > mybteq_output

     then case the RETURN_CODE

     case $RETURN_CODE
      cat mybteq_output
      Do something to indicate error
      Exit 9

Maybe too simplified ?

  <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: 24 Jul 2020