I used the copy table wizatd to make a kettle transformation to copy the contents of a table on AS/400 to a Mysql database.
This usually works fine, however this time with a table called ttccom001700 i get this strange result.
select * from TTCCOM100700
returns 0 records
select count(*) from TTCCOM100700 returns 196 records.
The get SQL select button is able to give me all table fields
The log file does not give any error.
How do i start debugging this?
Version 2.3.0 & 2.3.1
logging :
2006/12/18 17:42:45 - employees - Looking for the transformation [employees] in directory [/reporting]
2006/12/18 17:42:45 - employees - Loading transformation [employees] from repository...
2006/12/18 17:42:45 - employees - Loading step with ID: 360142
2006/12/18 17:42:45 - employees - Loading step with ID: 360143
2006/12/18 17:42:45 - employees - ID_DIRECTORY=10001
2006/12/18 17:42:45 - employees - Loaded the transformation [employees] , directory == null : false
2006/12/18 17:42:45 - employees - Loaded the transformation [employees] in directory /reporting
2006/12/18 17:42:45 - Spoon - Transformation opened.
2006/12/18 17:42:45 - Spoon - Launching transformation [employees]...
2006/12/18 17:42:45 - Spoon - ----> Async exec of prepare and run threads...
2006/12/18 17:42:45 - Spoon - ----> Async exec of prepare and run threads started!!!
2006/12/18 17:42:45 - Spoon - Started the transformation execution.
2006/12/18 17:42:45 - employees - Dispatching started for transformation [employees]
2006/12/18 17:42:45 - employees - Nr of arguments detected:10
2006/12/18 17:42:45 - employees - This is not a replay transformation
2006/12/18 17:42:45 - employees - I found 2 different steps to launch.
2006/12/18 17:42:45 - employees - Allocating rowsets...
2006/12/18 17:42:45 - employees - Allocating rowsets for step 0 --> read from [TTCCOM001700]
2006/12/18 17:42:45 - employees - prevcopies = 1, nextcopies=1
2006/12/18 17:42:45 - employees - Transformation allocated new rowset [read from [TTCCOM001700].0 - write to [TTCCOM001700].0]
2006/12/18 17:42:45 - employees - Allocated 1 rowsets for step 0 --> read from [TTCCOM001700]
2006/12/18 17:42:45 - employees - Allocating rowsets for step 1 --> write to [TTCCOM001700]
2006/12/18 17:42:45 - employees - Allocated 1 rowsets for step 1 --> write to [TTCCOM001700]
2006/12/18 17:42:45 - employees - Allocating Steps & StepData...
2006/12/18 17:42:45 - employees - Transformation is about to allocate step [read from [TTCCOM001700]] of type [TableInput]
2006/12/18 17:42:45 - employees - Step has nrcopies=1
2006/12/18 17:42:45 - read from [TTCCOM001700].0 - distribution activated
2006/12/18 17:42:45 - read from [TTCCOM001700].0 - Starting allocation of buffers & new threads...
2006/12/18 17:42:45 - read from [TTCCOM001700].0 - Step info: nrinput=0 nroutput=1
2006/12/18 17:42:45 - read from [TTCCOM001700].0 - output rel. is 1:1
2006/12/18 17:42:45 - read from [TTCCOM001700].0 - Found output rowset [read from [TTCCOM001700].0 - write to [TTCCOM001700].0]
2006/12/18 17:42:45 - read from [TTCCOM001700].0 - Finished dispatching
2006/12/18 17:42:45 - employees - Transformation has allocated a new step: [read from [TTCCOM001700]].0
2006/12/18 17:42:45 - employees - Transformation is about to allocate step [write to [TTCCOM001700]] of type [TableOutput]
2006/12/18 17:42:45 - employees - Step has nrcopies=1
2006/12/18 17:42:45 - write to [TTCCOM001700].0 - distribution activated
2006/12/18 17:42:45 - write to [TTCCOM001700].0 - Starting allocation of buffers & new threads...
2006/12/18 17:42:45 - write to [TTCCOM001700].0 - Step info: nrinput=1 nroutput=0
2006/12/18 17:42:45 - write to [TTCCOM001700].0 - Got previous step from [write to [TTCCOM001700]] #0 --> read from [TTCCOM001700]
2006/12/18 17:42:45 - write to [TTCCOM001700].0 - input rel is 1:1
2006/12/18 17:42:45 - write to [TTCCOM001700].0 - Found input rowset [read from [TTCCOM001700].0 - write to [TTCCOM001700].0]
2006/12/18 17:42:45 - write to [TTCCOM001700].0 - Finished dispatching
2006/12/18 17:42:45 - employees - Transformation has allocated a new step: [write to [TTCCOM001700]].0
2006/12/18 17:42:45 - employees - This transformation can be replayed with replay date: 2006/12/18 17:42:45
2006/12/18 17:42:45 - employees - Initialising 2 steps...
2006/12/18 17:42:45 - beas400_baan - New database connection defined
2006/12/18 17:42:45 - reporting - New database connection defined
2006/12/18 17:42:45 - reporting - Connected to database.
2006/12/18 17:42:45 - write to [TTCCOM001700].0 - Connected to database [reporting] (commit=200)
2006/12/18 17:42:45 - reporting - Auto commit off
2006/12/18 17:42:45 - beas400_baan - Connected to database.
2006/12/18 17:42:45 - beas400_baan - Auto commit off
2006/12/18 17:42:45 - read from [TTCCOM001700].0 - Connected to database...
2006/12/18 17:42:45 - employees - Step [read from [TTCCOM001700].0] initialized flawlessly.
2006/12/18 17:42:45 - employees - Step [write to [TTCCOM001700].0] initialized flawlessly.
2006/12/18 17:42:45 - employees - Transformation has allocated 2 threads and 1 rowsets.
2006/12/18 17:42:45 - read from [TTCCOM001700].0 - Starting to run...
2006/12/18 17:42:45 - write to [TTCCOM001700].0 - Starting to run...
2006/12/18 17:42:45 - read from [TTCCOM001700].0 - Signaling 'output done' to 1 output rowsets.
2006/12/18 17:42:45 - read from [TTCCOM001700].0 - Finished reading query, closing connection.
2006/12/18 17:42:45 - write to [TTCCOM001700].0 - Signaling 'output done' to 0 output rowsets.
2006/12/18 17:42:45 - reporting - Connection to database closed!
2006/12/18 17:42:45 - write to [TTCCOM001700].0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=0
2006/12/18 17:42:45 - beas400_baan - Connection to database closed!
2006/12/18 17:42:45 - read from [TTCCOM001700].0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=0
2006/12/18 17:42:45 - Spoon - The transformation has finished!!
This is the table layout as proposed by Kettle
CREATE TABLE ttccom001
(
T_EMNO VARCHAR(6)
, T_NAMA VARCHAR(35)
, T_CADR VARCHAR(9)
, T_SEAK VARCHAR(16)
, T_CWOC VARCHAR(6)
, T_WGRT_1 DECIMAL(53)
, T_WGRT_2 DECIMAL(53)
, T_WGRT_3 DECIMAL(53)
, T_CPCP VARCHAR(8)
, T_HWEM DECIMAL(53)
, T_CWTT VARCHAR(3)
, T_CLAN VARCHAR(3)
, T_SDTE DATETIME
, T_EDTE DATETIME
, T_CTRG VARCHAR(3)
, T_RATS DECIMAL(53)
, T_DPWK DECIMAL(53)
, T_HRSD DECIMAL(53)
, T_FINR VARCHAR(9)
, T_DAOB DATETIME
, T_SEXE VARCHAR(1)
, T_CIST VARCHAR(1)
, T_TELW VARCHAR(15)
, T_TLW1 VARCHAR(15)
, T_TEFW VARCHAR(15)
, T_INFO VARCHAR(50)
, T_CCAL VARCHAR(9)
, T_TXTA INT
, T_REFCNTD INT
, T_REFCNTU INT
)
;


Reply With Quote
