Hi,
I'm testing the Fastload utility. But I received a pop-up message at the end of the process,
"Teradata Fastload has stopped working. A problem caused the program to stop wroking correctly. Windows will close the program and notify you if a solution is available."
The scipt I used is:
SESSIONS 5; TENACITY 5; SLEEP 5; ERRLIMIT 50; .logon xxxxx/yyyyy,zzzzzz; DROP TABLE p_kocac_t.fastload_test; create table p_kocac_t.fastload_test ( Year_Week_Number char(15), Relative_Week char(15), Hierarchy_Code char(15), Daily_Target char(15)) unique primary index(Year_Week_Number ,Relative_Week, Hierarchy_Code); DROP TABLE p_kocac_t.fastload_test_ET; DROP TABLE p_kocac_t.fastload_test_UV; .SET RECORD VARTEXT "|"; DEFINE Year_Week_Number (VARCHAR(15)), Relative_Week (VARCHAR(15)), Hierarchy_Code (VARCHAR(15)), Daily_Target (VARCHAR(15)) FILE=data.csv; SHOW; BEGIN LOADING p_kocac_t.fastload_test ERRORFILES p_kocac_t.fastload_test_ET , p_kocac_t.fastload_test_UV CHECKPOINT 1000; INSERT INTO p_kocac_t.fastload_test VALUES( :Year_Week_Number, :Relative_Week, :Hierarchy_Code, :Daily_Target); END LOADING; .LOGOFF; .QUIT;
In file "data.csv", there is only one record for testing purpose:
Year_Week_Number|Relative_Week|Hierarchy_Code|Daily_Target
And here is the log:
=================================================================== = = = FASTLOAD UTILITY VERSION 13.10.00.003 = = PLATFORM WIN32 = = = =================================================================== =================================================================== = = = Copyright 1984-2010, Teradata Corporation. = = ALL RIGHTS RESERVED. = = = =================================================================== **** 09:19:19 Processing starting at: Wed Aug 21 09:19:19 2013 0001 SESSIONS 5; **** 09:19:19 FDL4866 SESSIONS command accepted 0002 TENACITY 5; **** 09:19:19 Tenacity Enabled: 5 hour(s) 0003 SLEEP 5; **** 09:19:19 Sleep Minutes Set: 5 minute(s) 0004 ERRLIMIT 50; **** 09:19:19 Error limit set to: 50 =================================================================== = = = Logon/Connection = = = =================================================================== 0005 .logon xxxxx/yyyyy, **** 09:19:25 Teradata Database Release: 14.00.03.503 **** 09:19:25 Teradata Database Version: 14.00.03.502 **** 09:19:25 Current CLI or RDBMS allows maximum row size: 64K **** 09:19:25 Character set for this job: ASCII 0006 DROP TABLE p_kocac_t.fastload_test; **** 09:19:38 Command completed successfully 0007 create table p_kocac_t.fastload_test ( Year_Week_Number char(15), Relative_Week char(15), Hierarchy_Code char(15), Daily_Target char(15)) unique primary index(Year_Week_Number ,Relative_Week, Hierarchy_Code); **** 09:19:44 Command completed successfully 0008 DROP TABLE p_kocac_t.fastload_test_ET; **** 09:19:50 Command completed successfully 0009 DROP TABLE p_kocac_t.fastload_test_UV; **** 09:20:03 Command completed successfully 0010 .SET RECORD VARTEXT "|"; **** 09:20:03 Now set to read 'Variable-Length Text' records **** 09:20:03 Delimiter character(s) is set to '|' **** 09:20:03 Command completed successfully 0011 DEFINE Year_Week_Number (VARCHAR(15)), Relative_Week (VARCHAR(15)), Hierarchy_Code (VARCHAR(15)), Daily_Target (VARCHAR(15)) FILE=data.csv; **** 09:20:03 FDL4803 DEFINE statement processed
And then a error message box pop up, "Teradata Fastload has stopped working....."
And if I want to select table p_kocac_t.fastload_test, I get the feedback "operation not allowed, p_kocac_t.fastload_test is being loaded".
Is there anyone who met the similar issue?
Any advice?
Regards,
Eminent
Forums: