Using ij
Page 3 of 4

ij Properties

You set ij properties using the -D command on the command line or in a properties file that you specify using the -p propertyfile option on the command line.

ij property names are case-sensitive, unlike the ij commands, which are case-insensitive.

Here are some examples of using ij properties:

To start ij using the properties file ij.properties:

java COM.cloudscape.tools.ij -p ij.properties

To start ij with a maximumDisplayWidth of 1000:

java -Dij.maximumDisplayWidth=1000 COM.cloudscape.tools.ij 

To start ij with an ij.protocol of jdbc:cloudscape: and an ij.database of toursDB:

java -Dij.protocol=jdbc:cloudscape: -Dij.database=toursDB
    COM.cloudscape.tools.ij

To start ij with two named connections, using the ij.connection.connectionName property:

java -Dij.connection.toursDB=jdbc:cloudscape:toursDB 
-Dij.connection.History=jdbc:cloudscape:History
-Dcloudscape.system.home=c:/cloudscape/demo/databases
COM.cloudscape.tools.ij
ij version 3.6 (c) 1997-2000 Informix Software, Inc.
ij(HISTORY)> show connections;
HISTORY* - jdbc:cloudscape:History
TOURSDB - jdbc:cloudscape:toursDB
* = current connection
ij(HISTORY)>