INSTALL JAR (Register JAR file)
Function
INSTALL JAR registers a JAR file at the HiRDB server. The file is registered in the JAR file storage directory associated with the authorization identifier that is connected.
Format
INSTALL JAR{:embedded-variable|'character-string'}
Operands
Specifies as an absolute or relative path name for the JAR file that is to be registered.
Common rules
Example
Register a JAR file named c:\work\sampleproc.jar by setting its name in an embedded variable:
EXEC SQL BEGIN DECLARE SECTION ;
struct {
short len ;
char str[256] ;
} filename ;
EXEC SQL END DECLARE SECTION ;
EXEC SQL CONNECT ;
strcpy(filename.str,"c:\work\sampleproc.jar") ;
filename.len = strlen(filename.str) ;
EXEC SQL INSTALL JAR :filename ;