RCM: Why does a -0551 occur on a call to Stored Procedure PTI.RMRTPE?.
book
Article ID: 192267
calendar_today
Updated On:
Products
RC Compare for DB2 for z/OSDatabase Management for DB2 for z/OS - Administration SuiteEndevor Interface for DB2 for z/OSEndevor Interface for Remote Db2 for z/OSRC/Extract for DB2 for z/OSRC/Migrator for DB2 for z/OSRC/Merger for DB2 for z/OSRC/Query for DB2 for z/OSRC/Secure for DB2 for z/OSRC/Update for DB2 for z/OS
Issue/Introduction
When executing a strategy with Sequence objects, the following errors occur, how can this be resolved?
Information on stored procedures RMRTPE and RMRSSP can be found in hilvl.CDBASAMP(RCMCUST) RMRTPE:
The CA RC/Migrator Table Process Exit DB2 Stored Procedure can be installed to support resetting the identity column sequences for tables involved in alter, compare, or in-place migration strategies. RMRTPE is a REXX procedure in the installation hlq.CLIST library. RMRTPE is called using the Batch Processor .CALL PROCEDURE function before and after any table is unloaded, dropped, recreated, and reloaded as part of one of these strategy types. The procedure sets the RESTARTWITH value for the identity column of a recreated table to the original MAXASSIGNED value (+1) after it is loaded.
If this error occurs during invocation of a routine, the authorization ID auth-id does not have the EXECUTE privilege on any candidate routine in the SQL path. The variable for object-name is the name of a candidate routine in the SQL path.