I currently have a SSIS package similar to the one detailed here which loops over a list of tables that are in a IBM DB2 database, exports the table contents into text files using the "Data Transfer From iSeries Server" for each table and then imports them into SQL Server using a bulk insert task.
We are moving to a new Informix 11.50 fc7w3 database and would like to use a SSIS package of a similar nature to export tables to SQL Server.
I believe I need to execute the dbaccess with the appropriate .sql files containing an UNLOAD statement.
Firstly, is it going to be possible to execute dbaccess via SSIS with an argument of the .sql file containing the UNLOAD statement.
Secondly, what would be the arguments or command line prompt I would need to execute.
I am trying to test this on a server which has the IBM Informix Client installed and the dbaccess tool though when I run the tool I receive the following error:
ERROR: Could not initialize the security subsystem. Please ensure that this account has the necessary privileges and ensure INFORMIXSERVER value exists in the registry and environment.
Any suggestions on how I can rectify the issue above? I have little to no knowledge of administering an Informix database/server.
The server I am trying to execute the dbaccess tool on is Windows Server 2008 R2 with SQL Server 2008 R2.