REMOVE JAR (Remove JAR file)
Function
REMOVE JAR removes a JAR file from the HiRDB server. The file is removed from the JAR file storage directory associated with the authorization identifier that is connected.
Format
REMOVE JAR{:embedded-variable|'character-string'}
Operands
Specifies the name of the JAR file that is to be removed. The JAR file cannot be specified with an absolute or relative path name.
Common rules
Example
Remove the JAR file named 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,"sampleproc.jar") ;
filename.len = strlen(filename.str) ;
EXEC SQL REMOVE JAR :filename ;