e-db2

Karel Kubat

e-tunity

2000 ff.

Table of Contents

1: Introduction

2: Installing e-db2

2.1: Installation using the binaries

2.2: Installation from scratch



1: Introduction

The tool e-db2 is a utility program around IBM's DB/2 database. e-db2 is basically a command-line program to access DB/2, a-la the client programs isql, mysql and others. e-db2 lets you run SQL statements, but also provides the following:

Editing:
e-db2 has a line-editing function, letting you retrieve previously entered commands with the up-arrow key, and so on.

Multi-line commands:
SQL commands may span more than 1 line. They run until a terminating semicolon (;) is seen.

Special commands:
e-db2 "knows" a few special commands, to unload and reload table contents, to describe tables, to show the tables of a database, and so on.

An overview of the command-line options is obtained by starting e-db2 without arguments. Once e-db2 is started and connected to a database, use the command help; to obtain an overview of the built-in special commands.

2: Installing e-db2

The installation of e-db2 supports two modes:

Note that e-tunity's public site http://public.e-tunity.com only distributes the binaries.

2.1: Installation using the binaries

To install e-db2 using the binary distribution, the following steps are necessary:

2.2: Installation from scratch

To successfully build and install e-db2, the following prerequisites must be met:

To install e-db2, please obtain the archive (available via e-tunity) and unpack it. It spills into a directory e-db2/. Then chdir into this directory, and run make install. This should be run as the user e.