ORA-06553: PLS-801: internal error [55018]

This error is returned when executing a Function with the RETURN X%ROWTYPE is used.
Here is the code.
CREATE OR REPLACE function FE_GET_addr (
p_PIDM IN addr.addr_PIDM%TYPE,
p_atyp1 IN VARCHAR2,
p_atyp2 IN VARCHAR2,
p_atyp3 IN VARCHAR2,
p_atyp4 IN VARCHAR2
RETURN addr%ROWTYPE
IS
v_rowid ROWID;
CURSOR C_addr
IS
SELECT
ROWID RD
FROM addr
WHERE addr_PIDM = p_PIDM
AND NVL ( addr_STATUS_IND, ' ' ) != 'I'
AND NVL ( addr_FROM_DATE, SYSDATE ) <= SYSDATE
AND NVL ( addr_TO_DATE, SYSDATE ) >= SYSDATE
AND addr_ATYP_CODE IN
( SUBSTR ( p_atyp1, 2, 2 ),
SUBSTR ( p_atyp2, 2, 2 ),
SUBSTR ( p_atyp3, 2, 2 ),
SUBSTR ( p_atyp4, 2, 2 )
addr_rec addr%ROWTYPE;
BEGIN
OPEN c_addr;
FETCH c_addr INTO v_rowid;
IF c_addr%notfound
THEN return NULL;
ELSE
SELECT * INTO addr_rec
FROM addr
WHERE ROWID = v_rowid;
RETURN (addr_rec);
END IF;
CLOSE c_addr;
END Fe_Get_addr;
Thanks
Holly

why so complicated?
(btw you never get to the "close cursor" bit)
create or replace function fe_get_addr(p_pidm  in addr.addr_pidm%type
                                      ,p_atyp1 in varchar2
                                      ,p_atyp2 in varchar2
                                      ,p_atyp3 in varchar2
                                      ,p_atyp4 in varchar2)
   return addr%rowtype is
   addr_rec addr%rowtype;
begin
   select *
     into add_rec
     from addr
    where addr_pidm = p_pidm
      and nvl(addr_status_ind
             ,' ') != 'I'
      and nvl(addr_from_date
             ,sysdate) <= sysdate
      and nvl(addr_to_date
             ,sysdate) >= sysdate
      and addr_atyp_code in (substr(p_atyp1
                                   ,2
                                   ,2)
                            ,substr(p_atyp2
                                   ,2
                                   ,2)
                            ,substr(p_atyp3
                                   ,2
                                   ,2)
                            ,substr(p_atyp4
                                   ,2
                                   ,2));
   return(addr_rec);
end fe_get_addr;

Similar Messages

  • ERROR: ORA-06553: PLS-801: internal error [55018]

    Sorry for my bad english ...
    I got error ...
    ERROR: ORA-06553: PLS-801: internal error [55018]
    if I build function than return %rowtype like this
    SELECT * INTO var_return FROM .......
    RETURN var_return
    Oracle 11g in RedHat Linux
    Thanks before ...

    Hi,
    Perhaps this link can help you.
    Regards

  • RA-06553: PLS-801: internal error [55018]

    Hi Friends.. Please Help in this.
    CREATE OR REPLACE
      FUNCTION dept_for_name(
          deptnamein IN departments.department_name%type)
        RETURN departments%rowtype
      AS
       l_return departments%rowtype;
      FUNCTION is_secret_dept(
          deptnamein IN departments.department_name%type)
        RETURN BOOLEAN
      AS
      BEGIN
        RETURN
        CASE deptnamein
        WHEN 'Administration' THEN
          true
        ELSE
          false
        END;
      END is_secret_dept;
      BEGIN
        SELECT * INTO l_return FROM departments WHERE department_name=deptnamein;
        IF is_secret_dept(deptnamein) THEN
          l_return:=null;
        END IF;
        RETURN l_return;
      END;
    select dept_for_name('Administration') from dual;
    when i run this with select statement it gives the error.
    RA-06553: PLS-801: internal error [55018]
    How to solve this Please help me.
    Thanks

    Thanks for reply.
    I am not find in this..
    execute dbms_stats.delete_database_stats
    when i give this command it gives the error insufficient privs.
    Please suggest is there any other choice for this problem

  • ORA-06553: PLS-801: internal error [hshuid:LU invalid]

    DBA refreshed database B from database A (both 64-bit). Database C (also 64-bit) had a link to database B. DBA claims to have rebuilt the link from C to B, but queries now result in:
    SQL> select housing_pkg.f_housing_dep_amt@btest(12540, '200808', 'HEA');
    select housing_pkg.f_housing_dep_amt@btest(12540, '200808', 'HEA')
    ERROR at line 1:
    ORA-06553: PLS-801: internal error [hshuid:LU invalid]
    Can anyone provide some insight into what the error message is saying?

    Hi,
    Most the error is due to the 32 bit datafiles being running on a 64 bit version of oracle.
    Running utlirp.sql (this is going to invalidate most and then recompiles them again )
    I suppose..that is the problem with your DB.
    - Pavan Kumar N
    Edited by: Pavan Kumar on Oct 2, 2008 11:59 PM

  • ORA-06553: PLS-801: internal error [56319]

    Hello,
    i have opened my rman backup, not it works. (X64)
    but when i need to drop a user, i got error below,
    SQL> drop user ugur;
    drop user ugur
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06553: PLS-801: internal error [56319]
    anybody got any idea, please?

    Selam ugur
    this problem occurs every time If you 64b at the OS to 32p.
    Since all the package were compiled on the 64b version of OS is needed is a re-compile the correct version of the OS. During the db must mount in the upgrade mode.
    SQL> shutdown immediate;
    SQL> startup upgrade;
    SQL> @$ORACLE_HOME/rdbms/admin/utlirp;
    SQL> shutdown immediate;
    SQL> startup;
    SQL> @@$ORACLE_HOME/rdbms/admin/utlrp;
    more on metalink Note:414043.1, Note:413484.1
    regards
    Zekeriya Besiroglu

  • PLS-801 internal error when returnig rowtype in select clause

    Hi,
    looks like the following case is not handled in version 11.1.0.6.
    I created a function which returns a ROWTYPE
    and when calling this function from a simple sql statement an internal error occurs.
    create table testing as select 1 id, 'A' val from dual;
    create or replace function ret_row return testing%rowtype is
    cursor cur_t is
    select * from testing;
    r testing%rowtype;
    begin
    open cur_t;
    fetch cur_t into r;
    close cur_t;
    return r;
    end;
    select ret_row from dual; when executing this select statement the following error occurs:
    SQL> select ret_row from dual
    ERROR at line 1:
    ORA-06553: PLS-801: internal error [55018]Didn't find any notes from the metalink about this error.
    Ants

    Perhaps in this specific case you can view your output as ->
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    5 rows selected.
    Elapsed: 00:00:01.48
    satyaki>
    satyaki>
    satyaki>create table testing as select 1 id, 'A' val from dual;
    Table created.
    Elapsed: 00:00:03.16
    satyaki>
    satyaki>set lin 80
    satyaki>
    satyaki>desc testing;
    Name                                      Null?    Type
    ID                                                 NUMBER
    VAL                                                CHAR(1)
    satyaki>
    satyaki>
    satyaki>set lin 310
    satyaki>
    satyaki>create or replace function ret_row return testing%rowtype is
      2  cursor cur_t is
      3   select * from testing;
      4   r testing%rowtype;
      5  begin
      6   open cur_t;
      7   fetch cur_t into r;
      8   close cur_t;
      9   return r;
    10  end;
    11  /
    Function created.
    Elapsed: 00:00:03.06
    satyaki>
    satyaki>
    satyaki>select ret_row from dual;
    select ret_row from dual
    ERROR at line 1:
    ORA-00902: invalid datatype
    Elapsed: 00:00:00.25
    satyaki>
    satyaki>declare
      2       y testing%rowtype;
      3  begin
      4       y := ret_row;
      5       for i in 1..y.ID
      6       loop
      7         dbms_output.put_line(y.ID);
      8         dbms_output.put_line(y.VAL);
      9       end loop;
    10  end;
    11  /
    1
    A
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.16
    satyaki>
    satyaki>Regards.
    Satyaki De.

  • ORA-06553: PLS-801 error

    Hi,
    Does anyone have experience on solving ORA-06553: PLS-801: internal error.
    ORA-06553: PLS-801: internal error [pklsdlp:dependency verification]
    Thanks

    Hello,
    ORA-06553: PLS-801: internal error [pklsdlp:dependency verification]You should post your OS Platform and Oracle Release.
    The error you got may be due to a Bug, for instance on AIX and Oracle 11.2.0.1, you have the following Note of MOS:
    Bug 10115939: ORA-06553: PLS-801 [PKLSDLP:DEPENDENCY VERIFICATION] WITH FIX FOR BUG 9239863So, please give more details so that we can help you better and, if you suspect a Bug, collect all the Trace files you have, create a Incident Package with ADR (if you are in *11g* ) and open a SR to MOS.
    You'll find below a link about how to create an Incident Package:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/diag010.htm
    Hope this help.
    Best regards,
    Jean-Valentin

  • ORA-06544: PL/SQL: internal error, arguments: [ORA-06544: PL/SQL:

    Hi,
    Im getting the following error when im trying to connect with my database and getting the following errors. Your quick response will be appreciated
    Alter Log file :
    Database Version : 10.1.0.5
    Errors in file /u01/oracle/app/orainfra/admin/dmsstage/bdump/dmsstage_j000_15592.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06544: PL/SQL: internal error, arguments: [56313], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [56313]
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 2
    Wed Jul 29 17:18:15 2009
    Errors in file /u01/oracle/app/orainfra/admin/dmsstage/bdump/dmsstage_j000_15592.trc:
    ORA-12012: error on auto execute of job 64553
    ORA-06544: PL/SQL: internal error, arguments: [ORA-06544: PL/SQL: internal error, arguments: [56313], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [56313]
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 2
    Trace file
    dmsstage_j000_15592.trc
    ksedmp: internal or fatal error
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06544: PL/SQL: internal error, arguments: [56313], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [56313]
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 2
    *** CLIENT ID:() 2009-07-29 17:18:15.105
    *** 2009-07-29 17:18:15.105
    ORA-12012: error on auto execute of job 64553
    ORA-06544: PL/SQL: internal error, arguments: [ORA-06544: PL/SQL: internal error, arguments: [56313], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [56313]
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 2
    best regards,

    I would recommend searching Metalink. Be sure to include the arguments in your search.

  • ERROR ORA-06553:PLS-707

    AFTER MIGRATION FROM 8.1.5 TO 8.1.7 VERSION
    USING WIZARD MIGRATION,
    THE MESSAGE ORA-06553:PLS-707 INTERNAL ERROR [2603] IS CONSTANT ON QUERYS
    null

    This should work
    > cd %oracle_home%\rdbms\admin
    >svrmgrl sys/<password>@dbname
    SVRMGR> @standard
    Statement processed.
    Statement processed.
    Statement processed.
    SVRMGR> @UTLRP
    if this doesn't work then do this
    SVRMGR> @catalog
    good luck

  • Error message: ORA-06553: PLS-213: package STANDARD not accessible

    I log in the database by owner 'sys'. and I tried to drop a user from the database. But the db didn't allow me to do this. Then, I want to copy the table structure from one schema to another schema. the error is come:
    ORA-06553: PLS-213: package STANDARD not accessible
    Unreasonable that, I have tried to do this task many times before, it still worked. But after I failed to drop the user, then the db didn't allow me to copy table structure.
    That problem also affected that the user cannot sign-in into the company web site which is connected to database. Very complex problem now.
    What can I do now? Did the problem is related to the process of droping user? any setting I could do to let me fix it?
    Could you please help me to solve this problem? Thx very much!

    Thanks for your reply!
    Actually, I login as SYS, and I have run the following scripts in SQL*plus :
    SQL> connect / as sysdba
    SQL> $ORACLE_HOME/rdbms/admin/catalog.sql
    SQL> $ORACLE_HOME/rdbms/admin/catproc.sql
    SQL> $ORACLE_HOME/rdbms/admin/catexp.sql
    However, those scripts are response to following message:
    'ORACLE_HOME' is not recognized as an internal or external command,
    operable program or batch file.
    So, what could I do next? Thaks a lot!

  • Ora-06553: pls-707 error

    Hi all,
    There was 8.1.5 of oracle 8i installed. Later I removed 8.1.5 and installed
    8.1.7 on the same pc. I am using the same database which was created at the time
    of installation of 8.1.5. Now when I am connecting to the database the following
    error message is appearing :
    ORA-06553: PLS-707 unsupported construct or internal error [2603]
    Error accessing package DBMS_APPLICATION_INFO
    Due to the above error I am unable to run some of my pl/sql codes from forms.
    Please, advise me how to solve the problem.
    Thanks,
    Firoz Ali

    This should fix it
    > cd %oracle_home%\rdbms\admin
    >svrmgr sys/<password>@dbname
    SVRMGR> @standard
    Statement processed.
    Statement processed.
    Statement processed.
    SVRMGR> @UTLRP
    if this doesn't work then do this
    SVRMGR> @catalog
    good luck

  • Error while running package ORA-06553: PLS-553 character set name is not re

    Hi all.
    I have a problem with a package, when I run it returns me code error:
    ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-553: character set name is not recognized
    The full context of the problem is this:
    Previously I had a developing data base, then was migrated to a new server. After that I started to receive the error, so I began to check for the solution.
    My first move was compare the “old database” with the “new database”, so I check the nls parameters, and this was the result:
    select * from nls_database_parameters;
    Result from the old
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     US7ASCII
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_RDBMS_VERSION     10.2.0.1.0
    Result from the new
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     US7ASCII
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_RDBMS_VERSION     10.2.0.1.0
    As the result was identical, I decided to look for more info in the log file of the new database. What I find was this:
    Database Characterset is US7ASCII
    Threshold validation cannot be done before catproc is loaded.
    Threshold validation cannot be done before catproc is loaded.
    alter database character set INTERNAL_CONVERT WE8MSWIN1252
    Updating character set in controlfile to WE8MSWIN1252
    Synchronizing connection with database character set information
    Refreshing type attributes with new character set information
    Completed: alter database character set INTERNAL_CONVERT WE8MSWIN1252
    alter database character set US7ASCII
    ORA-12712 signalled during: alter database character set US7ASCII...
    alter database character set US7ASCII
    ORA-12712 signalled during: alter database character set US7ASCII...
    Errors in file e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_3132.trc:
    Regards

    Ohselotl wrote:
    Hi all.
    I have a problem with a package, when I run it returns me code error:
    ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-553: character set name is not recognized
    The full context of the problem is this:
    Previously I had a developing data base, then was migrated to a new server. After that I started to receive the error, so I began to check for the solution.
    My first move was compare the “old database” with the “new database”, so I check the nls parameters, and this was the result:
    select * from nls_database_parameters;
    Result from the old
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     US7ASCII
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_RDBMS_VERSION     10.2.0.1.0
    Result from the new
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     US7ASCII
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_RDBMS_VERSION     10.2.0.1.0
    As the result was identical, I decided to look for more info in the log file of the new database. What I find was this:
    Database Characterset is US7ASCII
    Threshold validation cannot be done before catproc is loaded.
    Threshold validation cannot be done before catproc is loaded.
    alter database character set INTERNAL_CONVERT WE8MSWIN1252
    Updating character set in controlfile to WE8MSWIN1252
    Synchronizing connection with database character set information
    Refreshing type attributes with new character set information
    Completed: alter database character set INTERNAL_CONVERT WE8MSWIN1252
    *********************************************************************This is an unsupported method to change the characterset of a database - it has caused the corruption of your database beyond repair. Hopefully you have a backup you can recover from. Whoever did this did not know what they were doing.
    alter database character set US7ASCII
    ORA-12712 signalled during: alter database character set US7ASCII...
    alter database character set US7ASCII
    ORA-12712 signalled during: alter database character set US7ASCII...
    Errors in file e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_3132.trc:
    RegardsThe correct way to change the characterset of a database is documented - http://docs.oracle.com/cd/B19306_01/server.102/b14225/ch11charsetmig.htm#sthref1476
    HTH
    Srini

  • Error w/ UPDATE in Stored Procedure - ORA-06553 PLS-306

    I get the following error when executing my stored proc. from a Perl script:
    DBI ERROR: ORA-06553: PLS-306: wrong number or types of arguments in call to 'UPDATE_USER_PROJMGR' (DBD ERROR: OCIStmtExecute),
    QUERY: DBI::st=HASH(0x238cd4)Now, it's passing the correct number of values, the UPDATE stmt stores them in the proper order and the procedure when created showed it was done so with no errors.
    What value could be out of whack with Oracle here? I don't get it. If anyone sees what I'm doing wrong here, please suggest it.
    Thanks!
    Here's my stored proc.
    CREATE OR REPLACE PROCEDURE UPDATE_USER_PROJMGR
    (dp_regleg IN DEFAULT_PROJECT_USER.REG_LEGAL%type,
    dp_netcred IN DEFAULT_PROJECT_USER.NETCRED_LOSS%type,
    dp_expreduc IN DEFAULT_PROJECT_USER.EXPENSE_REDUC_CKB%type,
    dp_stratgoal IN DEFAULT_PROJECT_USER.STRAT_GOALS%type,
    dp_audcompl IN DEFAULT_PROJECT_USER.AUDIT_COMPL%type,
    dp_revgen IN DEFAULT_PROJECT_USER.REV_GEN%type,
    dp_cacs IN DEFAULT_PROJECT_USER.CACS%type,
    dp_custit IN DEFAULT_PROJECT_USER.CUSTOMIT%type,
    dp_custimpact IN DEFAULT_PROJECT_USER.CUST_IMPACT%type,
    dp_callmgt IN DEFAULT_PROJECT_USER.CALL_MGT%type,
    dp_calltrk IN DEFAULT_PROJECT_USER.CALL_TRACK%type,
    dp_citilink IN DEFAULT_PROJECT_USER.CITILINK%type,
    dp_desktop IN DEFAULT_PROJECT_USER.DESKTOP%type,
    dp_dialer IN DEFAULT_PROJECT_USER.DIALER%type,
    dp_dri IN DEFAULT_PROJECT_USER.DRI%type,
    dp_engr IN DEFAULT_PROJECT_USER.ENGINEER%type,
    dp_img IN DEFAULT_PROJECT_USER.IMAGING%type,
    dp_ipdt IN DEFAULT_PROJECT_USER.IPDT%type,
    dp_mainfram IN DEFAULT_PROJECT_USER.MAINFR%type,
    dp_miscoth IN DEFAULT_PROJECT_USER.MISC_OTHER%type,
    dp_mortserv IN DEFAULT_PROJECT_USER.MORTSERV%type,
    dp_mortweb IN DEFAULT_PROJECT_USER.MORTWEB%type,
    dp_nonmortserv IN DEFAULT_PROJECT_USER.NON_MORTSERV%type,
    dp_origplat IN DEFAULT_PROJECT_USER.ORIG_PLAT%type,
    dp_qualmapping IN DEFAULT_PROJECT_USER.QUAL_MAP%type,
    dp_datawarehse IN DEFAULT_PROJECT_USER.DATAWARE_REPTS%type,
    dp_servappvend IN DEFAULT_PROJECT_USER.SERV_APP_VDR%type,
    dp_sbend IN DEFAULT_PROJECT_USER.SOUTHBEND%type,
    dp_websvcg IN DEFAULT_PROJECT_USER.WEB_SVCG%type,
    dp_projmgr IN DEFAULT_PROJECT_PROJMGR.PROJ_MGR%type,
    dp_status IN DEFAULT_PROJECT_PROJMGR.STATUS%type,
    dp_projtype IN DEFAULT_PROJECT_PROJMGR.IT_PROJ_TYPE%type,
    dp_projnum IN DEFAULT_PROJECT_PROJMGR.IT_PROJNUMBER%type,
    defprodid IN NUMBER)
    IS BEGIN
    -- UPDATE STATEMENT
    UPDATE DEFAULT_PROJECT_USER SET
    REG_LEGAL = dp_regleg, NETCRED_LOSS = dp_netcred,EXPENSE_REDUC_CKB = dp_expreduc, STRAT_GOALS = dp_stratgoal, AUDIT_COMPL = dp_audcompl,
    REV_GEN = dp_revgen,CACS = dp_cacs, CUSTOMIT = dp_custit, CUST_IMPACT = dp_custimpact,CALL_MGT = dp_callmgt,
    CALL_TRACK = dp_calltrk,CITILINK = dp_citilink,DESKTOP = dp_desktop,DIALER = dp_dialer,DRI = dp_dri,
    ENGINEER = dp_engr,IMAGING = dp_img,IPDT = dp_ipdt,MAINFR = dp_mainfram,MISC_OTHER = dp_miscoth,MORTSERV = dp_mortserv,
    MORTWEB = dp_mortweb,NON_MORTSERV = dp_nonmortserv,ORIG_PLAT = dp_origplat,QUAL_MAP = dp_qualmapping,DATAWARE_REPTS = dp_datawarehse,
    SERV_APP_VDR = dp_servappvend,SOUTHBEND = dp_sbend,WEB_SVCG = dp_websvcg
    WHERE DEFPROJ_ID = defprodid;
    UPDATE DEFAULT_PROJECT_PROJMGR SET
    PROJ_MGR = dp_projmgr,STATUS = dp_status,IT_PROJ_TYPE = dp_projtype,IT_PROJNUMBER = dp_projnum
    WHERE DEFPROJ_ID = defprodid;
    COMMIT;
    END UPDATE_USER_PROJMGR;
    /Here's my Perl script callable stmt:
    my $sth2 = $dbh->prepare(q{CALL UPDATE_USER_PROJMGR(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)});
    $sth2->execute($reglegal,$netcredloss,$expreduc,$stratgoal,$audcomp,$revgen,$cacs,$custit,$custimp,$callmgt,$calltrkl,$citlink,$deskt,$dialer,$dri,$engineering, $imaging,$ipdt,$mframe,$miscoth,$mortserv,$mortweb,$nonmortserv,$origpltfrm,$qualmap,$dataware,$servapp,$sbdev,$websvcg,$projmgr,$status,$itprojtype,$itprojnum)or do {
    print('err', "<img src='../spacer.gif' width='1' height='150'>ERROR: Could not execute SQL! Error: " . $dbh->errstr);
               };and the values getting passed:
    Holly Spradlin
    Withdrawn
    PRF
    1222
    Y
    Y
    N
    N
    Y
    Y
    Y
    N
    Y
    N
    N
    N
    Y
    N
    N
    N
    N
    N
    Y
    Y
    Y
    N
    N
    N
    N
    N
    N
    N
    NI get no compile errors or anything until I submit the form to update.
    Any help would be appreciated...if I get it solved, I'll reply right away - thanks.

    try manually executing the procedure to check for the
    errors
    SQL> execute UPDATE_USER_PROJMGR('Holly
    Spradlin','Withdrawn','PRF',1222,'Y','Y','N','N','Y',
    Y','Y','N','Y','N','N','N','Y','N','N','N','N','N','Y'
    ,'Y','Y','N','N','N','N','N','N','N','N');3360 is right you have only supplied 33 parameters
    while your procedures requires 34 parameters.ok, did this and did get the error:
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'UPDATE_USER_PROJMGR'
    ORA-06550: line 1, column 7:but I wonder why I can't specify the ID value as my sequence's currval - ?
    Let me doublecheck my sequence.
    OK, I got it!!! thanks, guys, for all your help!!
    I just needed to back to the callable statement in the perl script itself and add the last ID param.
    Thanks for pointing that out!!
    Message was edited by:
    user515689

  • ORA-06553: PLS-307 Error

    Hi all,
    I'm new to ERP and when I try to view or update information from Extra Information Type the below error appears:
    APP-FND-01564: ORACLE error 6553 in FDFGDF
    Cause: FDFGDF failed due to ORA-06553: PLS-307: too many declarations of 'DATE_TO_DISPLAYDT' match this call
    any help will be appreciated ..
    Thanks ..

    hi,
    thanks for the advice but would you tell me how to get this Doc ID fro Oracle support site .. I do have an account but no idea where is the metalink docs.
    Thanks ..

  • ORA-06553: PLS-123: program too large on import

    Hi,
    I import a dump file from a 9.2.0.4 to an other 9.2.0.4 database.
    On some importing table, I have this error :
    . . importing table           "PS_TL_PAYABLE_HIST"          0 rows imported
    IMP-00017: following statement failed with ORACLE error 6540:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(); SREC.BKVALS := DBMS_STATS.NUMARRAY(); SREC.EPC := 0; DBMS_STATS.SET_"
    "COLUMN_STATS(NULL,'"PS_TL_PAYABLE_HIST"','"TL_QUANTITY"', NULL ,NULL,NULL,0"
    ",0,0,srec,0,0); END;"
    IMP-00003: ORACLE error 6540 encountered
    ORA-06540: PL/SQL: compilation error
    ORA-06553: PLS-123: program too large
    IMP-00017: following statement failed with ORACLE error 6540:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(); SREC.BKVALS := DBMS_STATS.NUMARRAY(); SREC.EPC := 0; DBMS_STATS.SET_"
    "COLUMN_STATS(NULL,'"PS_TL_PAYABLE_HIST"','"BILLABLE_IND"', NULL ,NULL,NULL,"
    "0,0,0,srec,0,0); END;"
    IMP-00003: ORACLE error 6540 encountered
    ORA-06540: PL/SQL: compilation error
    ORA-06553: PLS-123: program too large
    IMP-00017: following statement failed with ORACLE error 6540:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(); SREC.BKVALS := DBMS_STATS.NUMARRAY(); SREC.EPC := 0; DBMS_STATS.SET_"
    "COLUMN_STATS(NULL,'"PS_TL_PAYABLE_HIST"','"OPRID"', NULL ,NULL,NULL,0,0,0,s"
    "rec,0,0); END;"
    IMP-00003: ORACLE error 6540 encountered
    ORA-06540: PL/SQL: compilation error
    ORA-06553: PLS-123: program too large
    IMP-00017: following statement failed with ORACLE error 6540:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(); SREC.BKVALS := DBMS_STATS.NUMARRAY(); SREC.EPC := 0; DBMS_STATS.SET_"
    "COLUMN_STATS(NULL,'"PS_TL_PAYABLE_HIST"','"CLASS_FLD"', NULL ,NULL,NULL,0,0"
    ",0,srec,0,0); END;"
    IMP-00003: ORACLE error 6540 encountered
    ORA-06540: PL/SQL: compilation error
    ORA-06553: PLS-123: program too largeThe import command is simple :
    NLS_LANG=american_america.utf8
    export NLS_LANG
    /etc/mknod /data/ora/P97RPRD/e01/tube p
    uncompress -c /data/ora/P97RPRD/e01/backup.dmp.Z > /data/ora/P97RPRD/e01/tube &
    imp SYSTEM/MANAGER FROMUSER=P97RPPRD TOUSER=P97RPRD FILE=/data/ora/P97RPRD/e01/tube LOG=/data/ora/P97RPRD/adm/dbalog/importP97RPRD.logFrom where does it come ?
    If I well understand, this is the import of statistics, but why this error ?
    Is I can avoid this error if I import with STATISTICS=none ?
    Thanks in advance,
    Nicolas.

    Hi please check this,
    Select * from dba_objects where object_name = 'DBMS_STANDARD';
    The standard package may be invalid.
    reran catproc.sql This caused the dbms_standard package to become valid once again.
    HTH,
    Thomas.

Maybe you are looking for

  • Regarding Performance Issue

    Hi Friends,    i have a FI report, Main Cash Vocher Printing, the report is very slow so to check its performance i have done the SQL Trace in ST05. in SQL trace i have found all the DB tables used and time taken to execute the select statement.... i

  • My Music Video isn't working, and now my Ipod isn't recognized

    Last night I tried to play a video that I purchased from iTunes and my Ipod froze for about a minute and then went back to the list of videos (screen). Today I tried to plug it in to my computer to see if I would experience the same thing in iTunes,

  • Creating dynamic HTML form from XML data in session

    I'm a bit new to servlets, please bear with me if I don't make myself clear. currently i have a HttpServlet that extracts a XML document into a jdom Document. this is done within the doGet() method as the XML document is in the session object. i woul

  • Short dump in CJV4

    I have observed a short dump in CJV4 while transfering the simulation in ECC 6.0 in different system. Is there any note for this. Zinni

  • PDF/X-1a:2001出力データが重くなった

    Mac OSX ver10.6.8でinDesign CC ver.9.2を使っています. 制作物の第2版を作ってPDF/X-1a:2001出力したところ.今年6月に入稿した初版のデータサイズの2倍強のデータとなってしまいました.変更点はテキストのみです. おかしいと思い.初版のデータをPDF/X-1a:2001で出力し直してみたら.やはりデータサイズが大きくなっています. どうしてでしょう. その期間にやったことといえば.Acrobat11proを体験版でインストールしてみたことぐらいです.現