Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 24 Feb 2005 @ 20:54:15 GMT


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


Subj:   Fast Export and &SYSRC
 
From:   Arunachalam, Sankar

Why is an export select statement returning zero rows not resetting the SYSRC variable ??????

Is this a bug or feature??? Any idea?

     --------------------------------------------------------------
     Example:
     --------

     .LOGTABLE XXXXXXXX
     .RUN  FILE PASWORDFILE

     /*** Execute OS command ***/
     .os "xxxxxxxxxxxxxxxx"

     /*** check return code ****/
     &sysrc = 1

     .export
        select
              - - - ;
     .end export

     /****     SQL Executes just fine...
                 BUT finds no rows
     ****/

     /*** check return code ****/
     &sysrc = 1      /** Shouldn't this be zero??? ***/

     --------------------------------------------------------------

Thanks

Sankar



     
  <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: 15 Jun 2023