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 (2) by Fred

$
0
0
ERRORCODE is the database error code from the most recent database request - and since the last database request was a successful LOGON, ERRORCODE is zero. Perhaps you want to use ERRORLEVEL, which is the highest severity code encountered. Also note that "MAXERROR = 1" means that the script will automatically exit if ERRORLEVEL > 1 but will continue if ERRORLEVEL <= 1.

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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