I am using Fastload to load some data in to Teradata but it returns
No row found for this job in log table SYSADMIN.FASTLOG.
BEGIN LOADING was successful, but there is no restart info.
This job cannot be continued or restarted.
I used the script mentioned below:
.sessions 2;
.errlimit 50;
.LOGON dbc/dbc,dbc;
.set record unformatted
DATABASE squid_data;
DEFINE
timestamps (varchar(200)),
responsetime (varchar(10)),
IP (varchar(15)),
tcp_code (varchar(255)),
http_code (varchar(50)),
bytesreceived (varchar(10)),
method1 (varchar(10)),
URL (varchar(1000)),
username (varchar(150)),
peerhost (varchar (200)),
peerstatus (varchar (100)),
contenttype (varchar (50))
FILE=access_log.txt;
BEGIN LOADING
squid_data.access
ERRORFILES
Event_ERROR1,Event_ERROR2
CHECKPOINT 10000;
INSERT INTO squid_data.access VALUES
(
:timestamps ,
:responsetime ,
:IP ,
:tcp_code ,
:http_code ,
:bytesreceived ,
:method1 ,
:URL ,
:username ,
:peerhost ,
:peerstatus ,
:contenttype
);
END LOADING;
LOGOFF;
kindly anyone can help?
I am using Fastload to load some data in to Teradata but it returns
No row found for this job in log table SYSADMIN.FASTLOG.
BEGIN LOADING was successful, but there is no restart info.
This job cannot be continued or restarted.
I used the script mentioned below:
.sessions 2;
.errlimit 50;
.LOGON dbc/dbc,dbc;
.set record unformatted
DATABASE squid_data;
DEFINE
timestamps (varchar(200)),
responsetime (varchar(10)),
IP (varchar(15)),
tcp_code (varchar(255)),
http_code (varchar(50)),
bytesreceived (varchar(10)),
method1 (varchar(10)),
URL (varchar(1000)),
username (varchar(150)),
peerhost (varchar (200)),
peerstatus (varchar (100)),
contenttype (varchar (50))
FILE=access_log.txt;
BEGIN LOADING
squid_data.access
ERRORFILES
Event_ERROR1,Event_ERROR2
CHECKPOINT 10000;
INSERT INTO squid_data.access VALUES
(
:timestamps ,
:responsetime ,
:IP ,
:tcp_code ,
:http_code ,
:bytesreceived ,
:method1 ,
:URL ,
:username ,
:peerhost ,
:peerstatus ,
:contenttype
);
END LOADING;
LOGOFF;
kindly anyone can help?