2 # Connect with connectstring "jdbc:gateway"
3 # Create a table and index for that table. Then do (INSERT/UPDATE/DELETE/SELECT) with no params statement. when csqlserver is not runnig
5 TESTFILE
=${PWD}/jdbc
/Gateway
/ConnTest01.java
9 REL_PATH
=`pwd`/jdbc
/Gateway
11 export CLASSPATH
=$CLASSPATH:${REL_PATH}
12 export CSQL_CONFIG_FILE
=$REL_PATH/csql.conf
13 echo "create table T1 (f1 int,f2 char(10),primary key(f1));" >${REL_PATH}/t1create.sql
14 isql
$DSN < ${REL_PATH}/t1create.sql
>/dev
/null
2>&1
17 rm -f ${REL_PATH}/t1create.sql
26 echo "drop table T1;">${REL_PATH}/dp.sql
27 isql
$DSN < ${REL_PATH}/dp.sql
>/dev
/null
2>&1
28 rm -f ${REL_PATH}/dp.sql
29 rm -f ${REL_PATH}/t1create.sql