Error while running FastExport script

Tools
Teradata Employee

Error while running FastExport script

Hi,

I'm phasing some issues while executing Teradata FastExport script. Each time it gives an arror as 

 UTY8717 An 'EXPORT' statement was entered without a preceding 'Begin Export' statement.

My script is

.logtable DB.LOGTABLE;

.logon <ipaddr>/user,password

.begin EXPORT SESSIONS 4;

.export OUTFILE Dir/Filename FORMAT TEXT MODE RECORD;

SELECT

..........................

from Table ;

.end export;

.logoff;

I mentioned .Begin Export in my statement,still it is throwing an error.

Please help me to resolve this issue.

Thanks,

Eswar

Tags (1)
3 REPLIES
Teradata Employee

Re: Error while running FastExport script

ok

Re: Error while running FastExport script

Somewhere a syntax problem, maybe a semi colon at end .logon <ipaddr>/user,password???

I guess the driectory, fname etc are fine,

Cheers,

Teradata Employee

Re: Error while running FastExport script

Thanks Raja K Thaw,

Your assumption is correct.

Semicolon was missed at the end of .logon <ipaddr>/user,password ;