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
↧