Install Stored Procedures

SAP jConnect to function properly, you must install stored procedures and tables on the SAP Adaptive Server or SAP SQL Anywhere database to which your application is connecting.

SAP jConnect provides these scripts to install the required stored procedures and tables:

Running Stored Procedure Installation Scripts

  1. Verify that your JAVA_HOME, JDBC_HOME, and CLASSPATH environment variables are set.
  2. Use the IsqlApp sample application.

Installing Stored Procedures on SAP Adaptive Server Database

Go to the (Windows) %JDBC_HOME%\classes (UNIX) $JDBC_HOME/classes directory from the prompt window and enter:
  • For SAP Adaptive Server Enterprise version 16.x:

    (Windows) java IsqlApp -U sa -P password -S jdbc:sybase: Tds:[hostname]:[port] -I %JDBC_HOME%\sp\sql_server16.0.sql -c go

    (UNIX) java IsqlApp -U sa -P password -S jdbc:sybase: Tds:[hostname]:[port] -I $JDBC_HOME/sp/sql_server16.0.sql -c go

Note: The sql script to be used is dependent on the SAP ASE version. See Install Stored Procedures for a list of scripts available.

Installing Stored Procedures on a SAP SQL Anywhere Database

Related tasks
Running Stored Procedure Installation Scripts