HCSC-Messaging command definition file
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 |
Function
Specifies the information required for operating HCSC-Messaging commands (commands beginning with csm).
File storage location
In Windows
Service-platform-installation-directory\CSC\config\msg\cmdconf.bat
In UNIX
/opt/Cosminexus/CSC/config/msg/cmdconf
Specifiable parameters
HCSC_ADDCLASSPATH
Specifies the file name of each database driver with an absolute path.
- In HiRDB
If HiRDB Type4 JDBC Driver is used, this parameter specifies the file name of HiRDB Type4 JDBC Driver (pdjdbc2.jar) with an absolute path.
- In Oracle
Specifies the file name of Oracle JDBC Thin Driver with an absolute path. Note that depending on the Oracle version to be used, the Oracle JDBC Thin Driver to be specified differs as follows:
- When Oracle 11g (JDK6) is used: ojdbc6.jar
In cases other than the above, define only the environment variable and do not specify the value.
- Note
- Do not set any value other than HCSC_ADDCLASSPATH as the environment variable.
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 |