Setting up the Db2 command line processor
You can use the Db2 command line processor to issue SQL statements, bind DBRMs that are stored in HFS files, and call stored procedures. The Db2 command line processor on Db2 for z/OS is a Java™ application that runs under z/OS UNIX System Services.
Before you begin
- Java 1.7 or later.
- IBM Data Server Driver for JDBC and
SQLJ.
For information on installing this feature, see Installing the IBM Data Server Driver for JDBC and SQLJ on Db2 for z/OS.
- Db2 metadata stored procedures installed and authorized. To install and authorize the Db2 metadata stored procedures, run the installation job DSNTIJRT. To check if the Db2 metadata stored procedures were successfully installed and activated, run the validation job DSNTIJRV.
Procedure
To set up the Db2 command line processor, complete the following steps:
Results
Additional instructions for setting up the Db2 command line processor are available in the readme file. By default, the Db2 command line processor readme file (README_CLP) is installed into the /usr/lpp/db2c10_base directory.