Using the text editor

StepsTo create one or more services

  1. Open the DB2 access service library configuration file called db2.cfg.

  2. Create a section for each new service and add:

    • The service name, in brackets

    • Required properties below the service name, grouped in the (ACS Required) subsection

    • Property value overrides listed below the service name, grouped by subsection

  3. Save the file.

  4. Stop the server, and then restart it to implement the changes.

  5. To connect to a new DB2 access service from a client machine, you must enter the DB2 access service name in the sql.ini configuration file on Windows machines or the interfaces file on UNIX client machines. If you choose to use service name redirection, make an assigned service name entry in the service name redirection file.

For instructions about editing the sql.ini or interfaces file, see the Mainframe Connect DirectConnect for z/OS Option Installation Guide for your platform.

For information about service name redirection, see the Enterprise Connect Data Access and Mainframe Connect Server Administration Guide.