Hi Vital
When we write Bteq in batch mode with in shell scripts we specify the half containing the Bteq commands
with the begining an ending of an identifer as shown below
Here eof is the identifier which conveys that all that between are bteq commands
bteq<<eof
.logon tdp_id/usrnm,passwd
select database;
select account;
select session;
.logoff
.quit
eof
now if you place second eof before you logff you may face the above warning this is because when teh second eof is reached the system thinks that we have reached the end of all the bteq commands though we havent logged off legally
Hope this helps
Regards
Rajeev
↧