logo  
Google
 

DB2 SQL-Error: -720

SQLState: 42710

Short Description: BIND ERROR ATTEMPTING TO REPLACE PACKAGE WITH VERSION BUT THIS VERSION ALREADY EXISTS

An attempt is made to create a version of a package that already exists. The version specified in the REPLVER keyword is different from the version specified for the precompile. The version specified for the precompile already exists in the catalog. The combination of 'location.collection.package.version' must be unique in the SYSIBM.SYSPACKAGE catalog table. A common mistake is that the user may believe that the version he is creating is the one specified in the REPLVER keyword. This is not the case. The version specified in the REPLVER keyword is the name of the version being replaced. The version that will be created is the version that was given to the program when it was precompiled. package_name Fully qualified package name version2 Version-id of package that is to be createdSystem action: The bind will fail. System programmer response: There are two approaches to solve this problem. The first is to precompile the program again with a new version name and reissue the original BIND subcommand. The other approach is not to do the precompile but reissue the BIND subcommand with REPLVER(SAME).

 <-  BACK TO INDEX