SQLJ.REMOVE_JAR

The SQLJ.REMOVE_JAR stored procedure removes a JAR file from the database system.

Authorization

The privilege held by the authorization ID of the CALL statement must include at least one of the following for the SYSJARCONTENTS and SYSJAROBJECTS catalog tables:

The privilege held by the authorization ID of the CALL statement must also have the following authority.

Adopted authority cannot be used for this authority.

Syntax

     >>-CALL--SQLJ.REMOVE_JAR--(--'jar-id'--,--undeploy--)----------><

Description

jar-id
The JAR identifier of the JAR file that is to be removed from the database.
undeploy
The value used to describe the remove_action of the deployment descriptor file. If this integer is a non-zero value, then the remove_actions of a deployment descriptor file should be run at the end of the install_jar procedure. The current version of DB2® UDB for iSeries™ only supports a value of zero.

Example

The following command is issued from an SQL interactive session:

     CALL SQLJ.REMOVE_JAR('myProc_jar', 0)

The JAR file myProc_jar is removed from the database.

Related reference
SQLJ.INSTALL_JAR
SQLJ.REPLACE_JAR
SQLJ.UPDATEJARINFO
SQLJ.RECOVERJAR
SQLJ.REFRESH_CLASSES