The SQLJ.UPDATEJARINFO updates the CLASS_SOURCE column of the SYSJARCONTENTS catalog table. This procedure is not part of the SQLJ standard but is used by the DB2® UDB for iSeries™ stored procedure builder.
The privilege held by the authorization ID of the CALL statement must include at least one of the following for the SYSJARCONTENTS catalog table:
The user running the CALL statement must also have the following authorities:
Adopted authority cannot be used for these authorities.
>>-CALL--SQLJ.UPDATEJARINFO--(--'jar-id'--,--'class-id'--,--'jar-url'--)--> >--------------------------------------------------------------><
The following command is issued from an SQL interactive session:
CALL SQLJ.UPDATEJARINFO('myproc_jar', 'mypackage.myclass', 'file:/home/user/mypackage/myclass.class')
The JAR file associated with the jar-id myproc_jar, is updated with a new version of the mypackage.myclass class. The new version of the class is obtained from the file /home/user/mypackage/myclass.class.