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.
↧