|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 9/5/2008 3:44:38 PM
Posts: 9,
Visits: 32
|
|
Hello,
While running following bteq script
BTEQ
.LOGON tddev/aedwenr1,enrich1
.EXPORT FILE=out_betq.txt
SHOW TABLE db_wrk.test_exec_pmr;
.EXPORT RESET
.LOGOFF
.EXIT
I get the error you musy logon before sending DBC/SQL statements.
What am I missing?
I use the the syntax to run:
bteq log.txt
Thanks In advance,
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 11/12/2008 12:15:47 PM
Posts: 13,
Visits: 29
|
|
The first line ie BTEQ is not needed.The below code alone would work
.LOGON tddev/aedwenr1,enrich1
.EXPORT FILE=out_betq.txt
SHOW TABLE db_wrk.test_exec_pmr;
.EXPORT RESET
.LOGOFF
.EXIT
Let me know if it dosent help.
Thanks,
Shiyamala
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 9/5/2008 3:44:38 PM
Posts: 9,
Visits: 32
|
|
|
|
|