Support Article
ORA-06550 on SPPR_SYS_STATUSNODES_SET running bix 2.3.1
SA-15925
Summary
Sporadic stored procedure errors in the logs when using BIX 2.3 command line to run extracts from PRPC 6.2SP2.
Error Messages
18:19:54,070 [ ] ( internal.mgmt.PRNodeImpl) ERROR - Error setting initial system state.
com.pega.pegarules.pub.database.DatabaseException: Database-General Problem encountered executing a stored procedure 6550 65000 ORA-06550: line 1, column 7:
PLS-00201: identifier 'SPPR_SYS_STATUSNODES_SET' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
From: (B691C268077046CF11C69F525CBAE2764:(PREnvironment))
SQL: {call sppr_sys_statusnodes_set(?,?,?,?,?,?)}
Steps to Reproduce
Run BIX extract from the command line.
Root Cause
The database user running the BIX extraction from the command line is not the schema owner. Prior to Pega 7.1 none of the SQL calls to the database are schema qualified. The database is looking in the schema of the user who made the connection and not in the actual schema where the stored procedure is located.
Resolution
Added database synonyms for the stored procedures.
Published January 31, 2016 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.