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

Using Parameter in BTEQ - response (7) by srinivasarao

$
0
0
Hi Carl, Please help me in resolve the issue facing while executing a script in Unix environment. I'm trying to pass database name by an unix variable like below dbaname='my_database' echo $dbaname bteq</home_dir/myname/myfile.sql But it is unable to executing the script and throughing below error.  *** Warning: You must log on before sending DBC/SQL requests.  *** BTEQ exiting due to EOF on stdin.  *** Exiting BTEQ...  *** RC (return code) = 2 Even I did keep my logon script with in myfile.sql Please help me to resolve the same.  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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