Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

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

$
0
0

So my script should look like. Added the syntax for authentication and access particulars(should it be followed by semicolon?). Is there a general rule around when to put a semicolon. Following code has semicolon at some commands.
bteq << EOF
.logmech ldap;
.logon tdpid/username,password;
.set width 4000;
.set underline off;
.set titledashes off;
.set heading '';
.set timemsg query;
.set maxerror=1
.run file /path/to/my_bteq_file.sql
.EXIT ERRORCODE
.quit
EOF


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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