Previous Topic: IdmsJcfNext Topic: IdmsJdbcDataStoreHelper


IdmsExample

This can be thought of as a simple Java version of BCF. It reads a series of SQL commands from a text file and writes the results to the standard output. Since it has no GUI, it can be run from any command line interface, including a 3270 terminal on z/OS. Both source code and a compiled class file are installed, along with a shell script to invoke it, and a sample SQL input file. The script and sample input file contain documentation on the command line options.

This sample is installed in the CA IDMS Server installation directory:

/idmsdir/src/example/IdmsExample.java

Source code

/idmsdir/example.sql

Sample SQL input file

/idmsdir/bin/example

Shell script to run IdmsExample.class

/idmsdir/classes/example/IdmsExample.class

Compiled sample program