SQLJ.RECOVERJAR

The SQLJ.RECOVERJAR procedure takes the JAR file that is stored in the SYSJAROBJECTS catalog and restores it to the /QIBM/UserData/OS400/SQLLib/Function/jar/jarschema/jar_id.jar file.

Authorization

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

The user running the CALL statement must also have the following authorities:

Syntax

     >>-CALL--SQLJ.RECOVERJAR--(--'jar-id'--)-----------------------><

Description

jar-id
The JAR identifier in the database that is to be recovered.

Example

The following command is issued from a SQL interactive session:

     CALL SQLJ.UPDATEJARINFO('myproc_jar')

The JAR file associated with the myproc_jar is updated with the contents from SYSJARCONTENT table. The file is copied to /QIBM/UserData/OS400/SQLLib/Function/jar/jar_schema myproc_jar.jar.

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