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.
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:
>>-CALL--SQLJ.RECOVERJAR--(--'jar-id'--)-----------------------><
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.