I´m trying to grab tables from an AS/400 to an SQL-server7 via odbc (client access) connection. To do this I have set up DTS packages that copy the data (mirror) from one table and then drops the data in the sql table the next day and copy it again. On a few packages it works fine but here is the problem on other packages:
The DTS packages start to run but stops soon with the error that a certain column does not allow nulls and that the as 400 column contain a null value. Ive checked the column in the AS/400 for null values but there are none. Instead there are "blanks" in the column, but the packages somhow take this for null values. Because I want a exact copy of the column the solution to allow nulls in the sql column dont work.
Then a little question, when builing the DTS package you set up a connection between AS/400 and SQL-server, then when I click to choose the right table it takes forever to choose it. This is because the connection is checking all the tables in the AS/400. Is there anyone how now if it is possible to buffer all this tables? I´ve got a lot of packages to build so it could save me a lot of time.
Thanks!
The DTS packages start to run but stops soon with the error that a certain column does not allow nulls and that the as 400 column contain a null value. Ive checked the column in the AS/400 for null values but there are none. Instead there are "blanks" in the column, but the packages somhow take this for null values. Because I want a exact copy of the column the solution to allow nulls in the sql column dont work.
Then a little question, when builing the DTS package you set up a connection between AS/400 and SQL-server, then when I click to choose the right table it takes forever to choose it. This is because the connection is checking all the tables in the AS/400. Is there anyone how now if it is possible to buffer all this tables? I´ve got a lot of packages to build so it could save me a lot of time.
Thanks!