Restriction: This topic applies to Windows environments only.
Use the HCOSS standard tool set to migrate the DB2 databases from your mainframe to SQL Server databases that run on Windows.
The basic process is as follows:
- Install all prerequisite third-party software. For details, see
Additional Software Requirements.
- Gather the information required to connect to mainframe DB2 using the Microsoft OLE DB provider Data Access Tool, which includes:
- Mainframe logon credentials
- Network address and port for your DB2 location
- OLE DB provider parameters including initial catalog and collection
Note: Your mainframe DBA must set mainframe permissions such that the Microsoft OLE DB provider can create packages in a mainframe
collection. Users who connect to the mainframe when using HCOSS must have access to this collection.
- Run the Data Access Tool that comes with the OLE DB provider, and use it to:
- Create the mainframe packages required by the provider
- Create a new data source to connect to the mainframe
- Test the connection
- Create the packages used by the provider
- Run the sample query
- Create a destination SQL Server database using Microsoft SQL Server SQL Server Management Studio.
- Create a connection to your SQL Server database using the Manage Connections tool.
- Extract the DB2 schemas from your mainframe DB2 database to a local or shared directory using the Extract Schema tool.
- Optionally assess the data migration by viewing and editing the information in the schema extract file created by the Extract
Schema tool.
- Define a list of extracted DB2 schema objects that you want to migrate to the SQL Server database using the Define Lists tool.
- Create an SQL script to create the DB2 schema objects in the new SQL Server database using the Generate DDL tool.
- Populate the SQL Server database with the selected schema objects from the DB2 database using the Transfer Data tool.
- Verify the results of the transferred data using the Compare Data tool.