03.07.2015 Views

DataDirect Connect for JDBC User's Guide and ... - Stylus Studio

DataDirect Connect for JDBC User's Guide and ... - Stylus Studio

DataDirect Connect for JDBC User's Guide and ... - Stylus Studio

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

44 Chapter 3 The DB2 Driver<br />

Creating a DB2 Package<br />

A DB2 package must exist on the DB2 server be<strong>for</strong>e you can use<br />

the DB2 driver.<br />

NOTE: If you have already established a CollectionId or a<br />

PackageName with a previous version of the <strong>DataDirect</strong> <strong>Connect</strong><br />

DB2 <strong>for</strong> <strong>JDBC</strong> driver, this version of the <strong>DataDirect</strong> <strong>Connect</strong> DB2 <strong>for</strong><br />

<strong>JDBC</strong> driver still can use that same CollectionId or PackageName. If<br />

you have not established either one, you must create them<br />

be<strong>for</strong>e you set up your initial connection.<br />

You can create a DB2 package in either of the following ways:<br />

■<br />

■<br />

Using the <strong>DataDirect</strong> DB2 Package Manager, a graphical tool<br />

written in Java that makes it easy <strong>for</strong> you to create, drop, <strong>and</strong><br />

replace DB2 packages <strong>for</strong> DB2 UDB, DB2 OS/390, <strong>and</strong> DB2<br />

iSeries<br />

Specifying specific connection properties in the initial<br />

connection URL<br />

Using the <strong>DataDirect</strong> DB2 Package<br />

Manager<br />

To start the <strong>DataDirect</strong> DB2 Package Manager, run the<br />

DB2PackageManager.bat file (on Windows) or the<br />

DB2PackageManager.sh script (on UNIX) in the install_dir\lib<br />

directory, where install_dir is the <strong>DataDirect</strong> <strong>Connect</strong> <strong>for</strong> <strong>JDBC</strong><br />

installation directory. The <strong>DataDirect</strong> DB2 Package Manager<br />

dialog box appears.<br />

<strong>DataDirect</strong> <strong>Connect</strong> <strong>for</strong> <strong>JDBC</strong> User’s <strong>Guide</strong> <strong>and</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!