teradata fastexport in ksh

General

teradata fastexport in ksh

#!/bin/ksh

LOGON_STR="server/usr,pswd;"
DATAFILE=/path/a.lst;
.LOGTABLE DB.fexp_log;
fexp -r '.run file /path/logon_file.txt;'
.BEGIN EXPORT;
.EXPORT REPORT FILE ${DATAFILE};
SELECT
             '"'|| TRIM(col A)
||'"'||','||'"'||TRIM(col B)
||'"'||','||'"'||TRIM(col C)
||'"'||','||'"'||TRIM(col D)
||'"'||','||'"'||TRIM(col E)
||'"'||','||'"'||TRIM(col F)
FROM table;
.EXPORT RESET;
.LOGOFF;
.QUIT;

Hi Experts, i am new to Teradata. recently trying to write a teradata fastexport in ksh. I wrote the above script, but not sure if its executing, i am seeing the below with no progress. Is there any issue wd the code?

=============================

Processing Control statements

==============================