REPLACE JAR (Re-register JAR file)
Function
REPLACE JAR re-registers a JAR file at the HiRDB server. The file is re-registered in the JAR file storage directory associated with the authorization identifier that is connected.
Format
REPLACE JAR{:embedded-variable|'character-string'}
Operands
Specifies as an absolute or relative path name a name for the JAR file that is to be re-registered.
Common rules
Example
Re-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 REPLACE JAR :filename ;