Hitachi

uCosminexus Service Platform Reference Guide


6.5.4 HCSC-Messaging command definition file

Organization of this subsection

(1) Format

In Windows

@echo off
set HCSC_ADDCLASSPATH=Path-of-HiRDB-Type4-JDBC-Driver-or-Oracle-JDBC-Thin-Driver

In UNIX

#!/bin/sh
HCSC_ADDCLASSPATH=Path-of-HiRDB-Type4-JDBC-Driver-or-Oracle-JDBC-Thin-Driver

(2) Function

Specifies the information required for operating HCSC-Messaging commands (commands beginning with csm).

(3) File storage location

In Windows

Service-platform-installation-directory\CSC\config\msg\cmdconf.bat

In UNIX

/opt/Cosminexus/CSC/config/msg/cmdconf

(4) Specifiable parameters

HCSC_ADDCLASSPATH

Specifies the file name of each database driver with an absolute path.

In cases other than the above, define only the environment variable and do not specify the value.

Important note

Do not set any value other than HCSC_ADDCLASSPATH as the environment variable.

(5) Example of coding

The following are the examples of coding of the HCSC-Messaging command definition file:

In Windows

@echo off
set HCSC_ADDCLASSPATH=C:\win32app\hitachi\hirdb_s\CLIENT\UTL\pdjdbc2.jar

In UNIX

#!/bin/sh
HCSC_ADDCLASSPATH=/opt/HiRDB_S/client/lib/pdjdbc2.jar