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

Need to set Return Code upon "EOF on stdin" - response (2) by barani_sachin

$
0
0

I am also facing the same issue,
It seems after entering the BTEQ its not coming back to shell.
Ma script is like
unix cmd1
unix cmd2
bteq <<[Test]
.logmech ${TD_MECHANISMNAME}
.logon ${TD_DBCNAME}/${TD_USERNAME},${TD_PASSWORD}
some SQL Statements
.logoff
[Test]
unix cmd3
 
Here it never comes to cmd3, eventhough i logged off its trying to execute the unix cmd in Database and show you should logon before running, if i try quit or exit it comes out of the shell scritpt itself..  
 
what am i missing??
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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