SQLJ.REMOVE_JAR External Stored Procedure - Teradata Vantage - Analytics Database

SQL External Routine Programming

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-03-30
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
qnu1472247494689
lifecycle
latest
Product Category
Teradata Vantage™

Syntax

REPLACE PROCEDURE SQLJ.REMOVE_JAR
   (IN jarname VARCHAR(128) CHARACTER SET UNICODE,
    IN undeploy  INTEGER )
LANGUAGE C
NO SQL
PARAMETER STYLE SQL
EXTERNAL NAME 'SL!xsplib';

Syntax Elements

jarname
SQL identifier that was passed to SQLJ.INSTALL_JAR, enclosed in apostrophes.
undeploy
Integer value reserved for future use.
For now, the value of undeploy must be zero.

Example: SQLJ.REMOVE_JAR External Stored Procedure

Consider a JAR file that was registered with the JXSP database using the following statements:

DATABASE JXSP;
CALL SQLJ.INSTALL_JAR('SJ!java_xsp/accounts.jar', 'Accounts_JAR', 0);

The following statements remove the registered JAR file:

DATABASE JXSP;
CALL SQLJ.REMOVE_JAR('Accounts_JAR', 0);