Dimandja
First, there are differences between MSSQL and DB2, both in data and Stored procedures.
Given that, I do not believe there is a way to port Stored procedures directly to MSSQL - at least I have never tried it.
As far as data - you can directly move DB2 Table data to SQL Server vis DTS, but keep in mind the following...
- Transformations will need to be set up for some field types, such as Datetime fields. DB2 and SQL store some field types differently.
- Transferring data from large DB2 Tables can put a strain on your network. I work at a large Company, and my attempt to move data from a 2+ million row table directly via DTS got me a call from a network admin - I was using 40% of the network for the time the process ran. This takes even more resources when you go MS SQL to DB2.
You may be better off using a DB2 utility to dump the DB2 Table to a flat file, maybe comma-delimited, then create a package to load MS SQL, or , use BCP or Bulk Insert.
Hope that helps.