IBM Books

Command Reference

db2cli - DB2 Interactive CLI

Launches the interactive Call Level Interface environment for design and prototyping in CLI. Located in the sqllib/samples/cli/ subdirectory of the home directory of the database instance owner.

Authorization

None

Required Connection

None

Command Syntax

>>-db2cli------------------------------------------------------><
 

Command Parameters

None

Usage Notes

DB2 Interactive CLI consists of a set of commands that can be used to design, prototype, and test CLI function calls. It is a programmers' testing tool provided for the convenience of those who want to use it, and IBM makes no guarantees about its performance. DB2 Interactive CLI is not intended for end users, and so does not have extensive error-checking capabilities.

Two types of commands are supported:

CLI commands
Commands that correspond to (and have the same name as) each of the function calls that is supported by IBM CLI

Support commands
Commands that do not have an equivalent CLI function.

Commands can be issued interactively, or from within a file. Similarly, command output can be displayed on the terminal, or written to a file. A useful feature of the CLI command driver is the ability to capture all commands that are entered during a session, and to write them to a file, thus creating a command script that can be rerun at a later time.

For more information about this utility, see the file intcli.doc, which is also located in the sqllib/samples/cli/ subdirectory of the home directory of the database instance owner.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]