Rational Developer for System z, Version 7.5

Creating a connection to a Pacbase Database

A connection is an access to a Pacbase Database. You must create a connection repository for each new Database you want to access to and open it each time you want to access the database.

You open or create connection directories to access Pacbase databases from thePacbase Explorer view in the Pacbase perspective. To be able to access to Pacbase databases, be sure you have all the necessary access authorizations required, user codes and passwords to a Pacbase database and middleware access too.
To create a connection, right-click anywhere in the view (except on an existing connection) and select New connection in the popup menu. A wizard guides you through the process of creating a connection.
  1. In the Connection wizard that opens, you must first indicate the path to the configuration file bases.ini. This file usually saved in the common local directory, contains the list of the available Databases you can connect to. Each Database is defined with its own access parameters. For more information about this file, refer to the 'Installation Guide - Server and Client Components', chapter 'Installation of client components', subchapter 'Editing Communication Parameters' at Pacbase documentation page:http://www-1.ibm.com/support/docview.wss?rs=37&uid=swg27005477
  2. Once the path to the configuration file is entered, click Next. In the Repository Connection window, enter the information related to the database connection and the gateway access if necessary. Then, click Next.
  3. In the Security window, enter your user codes and passwords to connect to the Database and to the middleware. Once this done, click Next.
  4. In the Pacbase context window, select the type of the session, a working library and a view. This context will then be displayed in a status bar, in the bottom part of the workbench.
  5. Click Finish/
There is no limit as to the number of connections.

The new connection repository is displayed in the Pacbase Explorer view list with the active connection icon. Unfold the repository, you will find folder icons with Pacbase entity names. Each folder corresponds to a Pacbase entity, the repositories are empty at creation as you have imported no entity instances the Repository yet.

Once a connection repository is created, you can see just after its name, between brackets the name of the database, followed by the session number, the library name and the letter that corresponds to the view you have selected for the import process. In our example, data elements have been imported from a database whom name is 'VSML', in a current session, from the 'PRO' library with the '(I) All libraries' vision.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)