Before you can use the HCO for SQL Server (HCOSS) tools, you will need to create DB2 and SQL Server database connections and then catalog those connections.
For DB2 on z/OS the recommended provider for establishing database connections is the Microsoft OLE DB Provider for DB2, which is available in the SQL Server 2008 Feature Pack download. For SQL Server 2008, the recommended provider for use with the HCOSS tools is the .NET provider for SQL Server (System.Data.SqlClient) which is available with the .NET framework. For application use at runtime the recommended provider is the Microsoft SQL Server 2008 Native Client ODBC driver (SQL Server Native Client 10.0).
Follow these steps to establish a DB2 Data source connection using Microsoft OLE DB Provider:
Make note of the information listed here. You can reference some of this information, which will be needed when cataloging the Data Source name with the MF ADO.NET Connection Editor.
To establish a SQL Server connection you need to have SQL Server 2008 Enterprise or Developer Edition installed. Use the SQL Server Management Studio to create a database if you don’t have one created already. Then go into the Connection Editor and catalog the SQL Server database using the OleDB Provider type. You can setup "connection" to use no id/password by setting the “Integrated security” option to TRUE
For cataloging the DB2 and SQL Server DSNs, use the Micro Focus ADO.NET Connection editor to create OleDB Providers.
Note: For the DB2 connection, most of the information needed by the Connection Editor will be identical to the information you provided when using the Microsoft OLE DB Provider for DB2 Data Access Tool. You can display this connection information from the Action menu > Display Connection String option.
You can access the ADO.NET Connection Editor in several ways:
See theADO.NET Connection Editor topic in the Database Access Guide for details on setting up DSNs.
Note: If you have the HCOSS tools open while cataloging your DSNs you will need to close and reopen them (including Visual Studio) before they will show as options.