Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

BTEQ is not returning proper error code when run file is not present. - response (1) by bxr556

$
0
0
Here is the output from the script   BTEQ 13.10.00.08 Thu Jan 10 09:17:52 2013   +---------+---------+---------+---------+---------+---------+---------+---- .logmech LDAP +---------+---------+---------+---------+---------+---------+---------+---- .logon eat1-pdw/qli,  *** Logon successfully completed.  *** Teradata Database Release is 13.10.05.03                     *** Teradata Database Version is 13.10.05.03a                      *** Transaction Semantics are BTET.  *** Session Character Set Name is 'ASCII'.    *** Total elapsed time was 4 seconds.   +---------+---------+---------+---------+---------+---------+---------+---- .set width 4000; +---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+- .set underline off; +---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+- .set titledashes off; +---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+- .set heading ''; +---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+- .set timemsg query; +---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+- .set maxerror=1 +---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+- .run file /path/to/my_none_existing_bteq.bteq  *** Error: Open failed because: No such file or directory +---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+- .EXIT ERRORCODE  *** You are now logged off from the DBC.  *** Exiting BTEQ...  *** RC (return code) = 0  

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>