The size specified for column 'Col1' (20) is less than that of the source table column (38);data truncation may result.
This happens using the old db2 connector , the job was written in the 8.1 version.
The col1 is really a char of 20 and the 38 comes from the previous colunmn in the source table.
How can we fix that ?
Thank you
I think you misunderstood me .(maybe it's me)
The job is right , the metadata were imported from the database.
In 8.1 the job doesn't produce any warning because everthing is allright.
In 8.7 we got a warning without modift anything.
I can't change all the columns of all the job after the import.
No, not misunderstood at all... just giving you a work-around.
Everything is not "all right" as you could lose data as noted in the warning - 8.1 was broken because it did not warn you about the truncation, they fixed that in the 8.7 release. And I thought we were talking about one column in one job... but "all the columns of all the jobs"? How wide-spread is this issue?
Involve your official support provider to see if there is an alternative way to suppress the warning.
-craig
"You can never have too many knives" -- Logan Nine Fingers
Ok... from what I recall there is a 'metadata validation' check step where it goes back to the source table and verifies the metadata you're using. The message implies it is going back and seeing COL1 as CHAR(38) in the source table. If that's not true, meaning the actual column is a CHAR(20) then you need to open a case with your official support provider to find out what's going on.
-craig
"You can never have too many knives" -- Logan Nine Fingers