Creating Tablespace PLS-00201: identifier 'DBMS_SQL.OPEN_CURSOR@xxxx_SYSTEM_DBLINK' must be declare (Doc ID 1234049.1)

Last updated on JANUARY 28, 2015

Applies to:

Peoplesoft Configuration Controls for Peoplesoft - Version 5.5.1 and later
Oracle Configuration Controls Governor - Version 5.5.1 and later
Information in this document applies to any platform.

Symptoms




On : 5.5.1 version, Install, Migration, Upgrade

When attempting to create tablespace for a new EBS instance,
the following error occurs.

ERROR
-----------------------
PLS-00201: identifier 'DBMS_SQL.OPEN_CURSOR@xxxx_SYSTEM_DBLINK' must be declared

Note : prior instances have had tablespaces created successfully

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Add and save Agent data for EBS instance
2. Admin > Tablespaces.
3. Add tablespace for AMAPS data and submit job.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Cannot not implement new EBS


You will see in the log file (UI677 will be replaced by whatever your target is named):


Status Message : Creating Tablespace AMAPS_DATA
DBLink : @UI667_SYSTEM_DBLINK
DECLARE
c PLS_INTEGER;
r PLS_INTEGER;
BEGIN
c:=DBMS_SQL.OPEN_CURSOR@UI667_SYSTEM_DBLINK;
DBMS_SQL.PARSE@UI667_SYSTEM_DBLINK(c, 'CREATE TABLESPACE AMAPS_DATA DATAFILE ''
/oradata/ui667/data/AMAPS_DATA_01.dbf'' SIZE 100M AUTOEXTEND ON NEXT 100M MAXSIZ
E 1000M DEFAULT STORAGE ( INITIAL 512K NEXT 512K MINEXTENTS
1 MAXEXTENTS 2147483645 PCTINCREASE 0 ) LOGGING ONLINE PERMANE
NT',DBMS_SQL.NATIVE);
DBMS_SQL.CLOSE_CURSOR@UI667_SYSTEM_DBLINK(c);
END;
ORA-06550: line 5, column 5:
PLS-00201: identifier 'DBMS_SQL.OPEN_CURSOR@UI667_SYSTEM_DBLINK' must be declare

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms