RE: Getting ORA-01003: no statement parsed error

Hi,
It looks familiar to some of the error which I encountered before. The
situation was a for ... select loop without explicit begin/end transaction.
The reason given by Forte consultant is that:
The dbsession used by the for ... select loop needed to be locked by a
begin/end transaction otherwise, there may be chances that the dbsession is
being acquired by some other sql that unknowingly corrupted the cursor
implicitly built for that for ... select loop.
Hopes this help.
Regards,
Peter Sham.
-----Original Message-----
From: Robinson, Richard [SMTP:[email protected]]
Sent: Friday, April 16, 1999 12:12 AM
To: '[email protected]'
Subject: Getting ORA-01003: no statement parsed error
Any clues? We're getting the following error on a server side
object that
interfaces to Oracle:
SYSTEM ERROR: Select failed for SQL statement in project xxxx, class
yyy,
method ...
error from database is: ORA-01003:no statement parsed
Class: qqdb_ResourceException
Detected at: qqdb_OracleVendorInfo::DoOexfet
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Somebody asked nearly the same question Re: EMERGENCY! pl/sql syntax error!!!

Similar Messages

  • Error:ORA-01003: no statement parsed

    Hi,
    While clicking on details button of customized form it's give below error:
    1)Error:
    ORA-01003: no statement parsed
    Details..:
    ORA-01003: no statement parsed
    FRM-407535: ON-UPDATE trigger raised unhandled exception ORA-04098
    FND_FORMS_ERROR_MSG(ERRNO=4098) (REASON=ORA-01003: no statement parsed)
    2)Error:
    APP-FND-01388: Cannot read value for profile option
    FND_LOOK_AND_FEEL in routine & ROUTINE..
    Details..
    Message History
    APP-FND-01388: Cannot read value for profile option FND_LOOK_AND_FEEL in routine &ROUTINE.
    APP-FND-01388: Cannot read value for profile option FND_COLOR_SCHEME in routine &ROUTINE.
    APP-FND-01388: Cannot read value for profile option FND_INDICATOR_COLORS in routine &ROUTINE.
    ORA-01003: no statement parsed
    Please help me how to sort out the problem.
    Thanks
    Regards
    GSM

    Was this working before? If yes, any changes have been done recently?
    Did you compile the form successfully at the client side before uploading it to the server?
    Did you use the TEMPLATE.fmb file to create this custom form?
    Not sure what is the code you are using in that form, so posting it may help -- OERR: ORA 1003 no statement parsed [ID 18594.1]
    Thanks,
    Hussein

  • ORA-01003: no statement parsed

    Hi,
    There is a set of 9 procedure that runs for every 1 hour. Most of these procedures references remote databases via dblink. Most of the times everything runs fine without error. But occasionally one procedure fails with the error "1003 -ERROR- ORA-01003: no statement parsed". This doesnot occur always but doesnot seems to be following any pattern on its failure which puts us in hard time to find the problem.
    Any suggestions at earliest are highly appreciable.
    Thanks

    There are 9 procedures that ran in this cron job. Almost all the procedures have got db link connection to the remote database and most of the time we get this error only specific to 3 procedures. So my guess is that the communication is fine. LDAP is been used for connection.

  • ORA-01003: no statement parsed (APEX 3.1)

    I am adding one report to already created application with SYS used as Parsing Schema, but getting error ORA-01003: no statement parsed.
    However with older HTMLDB version it is working fine. Does anybody knows how to deal with this problem,
    Thanks and Regards
    Lalit Verma

    Hello Scott,
    Following are the steps i did, please check and advise me what i am doing wrong !
    DB Version=10.2.0.1.0, APEX VERSION=Application Express 3.1.0.00.32
    (1) Wokspace Monitor is created with monitor as default schema
    (2) Schema SYS and SYSTEM were associated with Monitor workspace by using Workspace to Schema Assignments.
    (3) Aftter logging to workspace monitor as ADMIN, i started Application Builder to create new application from scratch, using monitor schema , and added a blank page into the application. Rest i chose defaults.
    (4) Then i went to Shared Components => Applicaiton => Definition.
    In the "Parsing Schema" selection box i chose SYS and applied changes.
    (5) Now i logged out and login to the workspace monitor as ADMIN again. I started Applicaiton Builder => Create Page => Report => SQL Report => Defaults Selected => Defaults Selected => select * from v$instance
    After i put the sql query and click next , it is throwing me error "Query cannot be parsed, please check the syntax of your query. ()"
    In the sql workshop if i try to run it , gave me error "ORA-01003: no statement parsed"
    I am using SYS as Parsing Schema , still it is giving me this error.
    However in older HTML DB version which is 10gHTMLDB 1.6.1.00.03
    DB Version=11g , which is working fine if i carry out above tasks.
    Sorry for not being short, but i did'nt wanted to skip any information. Thanks again for responding back !!
    Lalit Verma

  • Fail:ORA-01003: no statement parsed

    Hi
    I am using Oracle 10g.
    Insert statement raises exception sometimes:" ORA-01003:no statement parsed. "
    I tested it several times, it works well,and chedk the log data too.
    Everything is looks just OK, but sometimes it happend.
    I don't know why?
    Can somebody help please?

    People might consider seeing your insert statement and the table structure where you want to insert.
    http://ora-01003.ora-code.com/

  • ORA-00604: error occurred at recursive SQL level 1 ORA-01003: no statement

    Hi ,
    we pass Query to ref cursor using with clause and it works fine on oracle Sql but raise an error when called from
    ADO.net
    for example
    create or replace package body abc_details
    as
    proedure initial (p_refcursor out sys_refcursor)
    is
    begin
    v_sql='with a as (select ..
    , b as (select * from table(emppkg.empdetails))
    open p_refcursor for v_sql;
    end;
    with oracle 10g it works fine on Sql prompt and fetches the results but when called from ado.net it
    intermitantly fetches and error "ORA-00604: error occurred at recursive SQL level 1 ORA-01003: no statement "
    Please suggest
    Thanks in advance.

    wild guess here,
    but emppkg.empdetails type look's like a pl/sql type,
    while it should be a sql type.
    Amiel

  • No statement parsed error

    I have to first mention that this thing called ORACLE is totally headache. Don't really understand why people choose it. One of those stupid companies is the one where I work.It's just like an "I don't like this, I don't like that"girl. So many problems, so many things you have to coonsider, so many weird exceptions.
    Ok my problem is I have a stored procedure. It receives bunch of parameters one of which is V_CUR OUT SYS_REFCURSOR and another is a V_TYPE IN NUMBER. In the body of my procedure I check for the value of the V_TYPE, if its 0 then the procedure opens V_CUR for a query, if its 1 then the procedure inserts the values passed with rest of the parameters to a table.here are the problems I fase:
    1. If I run this procedure on SQL Developer it executes as expected, but if I do it by using ODP.NET it just takes whatever the default value is for V_TYPE parameter and just ignores the value I pass from the application.
    2. Now the wirdest thing is then if I remove the DEFAULT value from the V_TYPE I get "No statement parsed error".
    Here's my procedure just in case someone will have patience to review it:
    create or replace
    PROCEDURE "SP_IU_AGPENSIONERS"(
    V_PENSIONERID IN NUMBER DEFAULT NULL,
    V_DEPARTID IN NUMBER DEFAULT NULL,
    V_PENSIONTYPE IN NUMBER DEFAULT NULL,
    V_PLASTNAME IN VARCHAR2 DEFAULT NULL,
    V_PNAME IN VARCHAR2 DEFAULT NULL,
    V_PFATHERNAME IN VARCHAR2 DEFAULT NULL,
    V_PERIDTYPE IN NUMBER DEFAULT NULL,
    V_PERIDSER IN VARCHAR2 DEFAULT NULL,
    V_PERIDNO IN VARCHAR2 DEFAULT NULL,
    V_PGENDER IN NUMBER DEFAULT NULL,
    V_PBIRTHDAY IN DATE DEFAULT NULL,
    V_NATIONALITYID IN NUMBER DEFAULT NULL,
    V_PROTOCOLNO IN VARCHAR2 DEFAULT NULL,
    V_ORDERDATE IN DATE DEFAULT NULL,
    V_APPLYDATE IN DATE DEFAULT NULL,
    V_WEYEAR2006 IN NUMBER DEFAULT NULL,
    V_WEMONTH2006 IN NUMBER DEFAULT NULL,
    V_WEDAY2006 IN NUMBER DEFAULT NULL,
    V_ST IN NUMBER DEFAULT NULL,
    V_PFIELD IN NUMBER DEFAULT NULL,
    V_CUR OUT SYS_REFCURSOR,
    V_TYPE IN NUMBER DEFAULT 0)
    IS
    TYPE_SELECT CONSTANT NUMBER:=0;
    TYPE_INSERT CONSTANT NUMBER:=1;
    TYPE_UPDATE CONSTANT NUMBER:=2;
    TYPE_DELETE CONSTANT NUMBER:=3;
    BEGIN
    IF V_TYPE=TYPE_SELECT THEN
    OPEN V_CUR FOR SELECT PENSIONERID, DEPARTID, PENSIONTYPE, PLASTNAME, PNAME,
    PFATHERNAME, PERIDTYPE, PERIDSER, PERIDNO, PGENDER, PBIRTHDAY,
    NATIONALITYID, PROTOCOLNO, ORDERDATE, APPLYDATE, WEYEAR2006, WEMONTH2006,
    WEDAY2006, ST FROM AGAPUS.AGPENSIONERS WHERE ROWNUM<101 ORDER BY
    PENSIONERID;
    ELSIF V_TYPE=TYPE_INSERT THEN
    INSERT
    INTO
    AGPENSIONERS
    PENSIONERID,
    DEPARTID,
    PENSIONTYPE,
    PLASTNAME,
    PNAME,
    PFATHERNAME,
    PERIDTYPE,
    PERIDSER,
    PERIDNO,
    PGENDER,
    PBIRTHDAY,
    NATIONALITYID,
    PROTOCOLNO,
    ORDERDATE,
    APPLYDATE,
    WEYEAR2006,
    WEMONTH2006,
    WEDAY2006,
    PFIELD
    VALUES
    V_PENSIONERID,
    V_DEPARTID,
    V_PENSIONTYPE,
    V_PLASTNAME,
    V_PNAME,
    V_PFATHERNAME,
    V_PERIDTYPE,
    V_PERIDSER,
    V_PERIDNO,
    V_PGENDER,
    V_PBIRTHDAY,
    V_NATIONALITYID,
    V_PROTOCOLNO,
    V_ORDERDATE,
    V_APPLYDATE,
    V_WEYEAR2006,
    V_WEMONTH2006,
    V_WEDAY2006,
    V_PFIELD
    END IF;
    END;
    Edited by: Mikail on Apr 12, 2012 5:12 AM

    Somebody asked nearly the same question Re: EMERGENCY! pl/sql syntax error!!!

  • I am getting ORA-01403: no data found error while calling a stored procedur

    Hi, I have a stored procedure. When I execute it from Toad it is successfull.
    But when I call that from my java function it gives me ORA-01403: no data found error -
    My code is like this -
    SELECT COUNT(*) INTO L_N_CNT FROM TLSI_SI_MAST WHERE UPPER(CUST_CD) =UPPER(R_V_CUST_CD) AND
    UPPER(ACCT_CD)=UPPER(R_V_ACCT_CD) AND UPPER(CNSGE_CD)=UPPER(R_V_CNSGE_CD) AND
    UPPER(FINALDEST_CD)=UPPER(R_V_FINALDEST_CD) AND     UPPER(TPT_TYPE)=UPPER(R_V_TPT_TYPE);
         IF L_N_CNT >0 THEN
              DBMS_OUTPUT.PUT_LINE('ERROR -DUPlicate SI-1');
              SP_SEL_ERR_MSG(5,R_V_ERROR_MSG);
              RETURN;
         ELSE
              DBMS_OUTPUT.PUT_LINE('BEFORE-INSERT');
              INSERT INTO TLSI_SI_MAST
                   (     CUST_CD, ACCT_CD, CNSGE_CD, FINALDEST_CD, TPT_TYPE,
                        ACCT_NM, CUST_NM,CNSGE_NM, CNSGE_ADDR1, CNSGE_ADDR2,CNSGE_ADDR3,
                        CNSGE_ADDR4, CNSGE_ATTN, EFFECTIVE_DT, MAINT_DT,
                        POD_CD, DELVY_PL_CD, TRANSSHIP,PARTSHIPMT, FREIGHT,
                        PREPAID_BY, COLLECT_BY, BL_REMARK1, BL_REMARK2,
                        MCC_IND, NOMINATION, NOTIFY_P1_NM,NOTIFY_P1_ATTN , NOTIFY_P1_ADDR1,
                        NOTIFY_P1_ADDR2, NOTIFY_P1_ADDR3, NOTIFY_P1_ADDR4,NOTIFY_P2_NM,NOTIFY_P2_ATTN ,
                        NOTIFY_P2_ADDR1,NOTIFY_P2_ADDR2, NOTIFY_P2_ADDR3, NOTIFY_P2_ADDR4,
                        NOTIFY_P3_NM,NOTIFY_P3_ATTN , NOTIFY_P3_ADDR1,NOTIFY_P3_ADDR2, NOTIFY_P3_ADDR3,
                        NOTIFY_P3_ADDR4,CREATION_DT, ACCT_ATTN, SCC_IND, CREAT_BY, MAINT_BY
                        VALUES(     R_V_CUST_CD,R_V_ACCT_CD,R_V_CNSGE_CD,R_V_FINALDEST_CD,R_V_TPT_TYPE,
                        R_V_ACCT_NM,R_V_CUST_NM ,R_V_CNSGE_NM, R_V_CNSGE_ADDR1,R_V_CNSGE_ADDR2, R_V_CNSGE_ADDR3,
                        R_V_CNSGE_ADDR4,R_V_CNSGE_ATTN,     R_V_EFFECTIVE_DT ,SYSDATE, R_V_POD_CD,R_V_DELVY_PL_CD,R_V_TRANSSHIP ,R_V_PARTSHIPMT , R_V_FREIGHT,
                        R_V_PREPAID_BY ,R_V_COLLECT_BY ,R_V_BL_REMARK1 ,R_V_BL_REMARK2,R_V_MCC_IND,
                        R_V_NOMINATION,R_V_NOTIFY_P1_NM, R_V_NOTIFY_P1_ATTN, R_V_NOTIFY_P1_ADD1, R_V_NOTIFY_P1_ADD2,
                        R_V_NOTIFY_P1_ADD3, R_V_NOTIFY_P1_ADD4, R_V_NOTIFY_P2_NM, R_V_NOTIFY_P2_ATTN, R_V_NOTIFY_P2_ADD1,
                        R_V_NOTIFY_P2_ADD2, R_V_NOTIFY_P2_ADD3, R_V_NOTIFY_P2_ADD4, R_V_NOTIFY_P3_NM, R_V_NOTIFY_P3_ATTN,
                        R_V_NOTIFY_P3_ADD1, R_V_NOTIFY_P3_ADD2, R_V_NOTIFY_P3_ADD3, R_V_NOTIFY_P3_ADD4,
                        SYSDATE,R_V_ACCT_ATTN,R_V_SCC_IND,R_V_USER_ID,R_V_USER_ID
                        DBMS_OUTPUT.PUT_LINE(' SI - REC -INSERTED');
         END IF;

    Hi,
    I think there is a part of the stored procedure you did not displayed in your post. I think your issue is probably due to a parsed value from java. For example when calling a procedure from java and the data type from java is different than expected by the procedure the ORA-01403 could be encountered. Can you please show the exact construction of the call of the procedure from within java and also how the procedure possible is provided with an input parameter.
    Regards, Gerwin

  • When merging workspace I get ORA-01403: no data found error in WMSYS.LT

    Hi,
    I am investigating an error in a remote system with very little info to go on apart from a stacktrace! This is what it says:
    java.sql.SQLException: ORA-01403: no data found
    ORA-06512: at "WMSYS.LT", line 6028
    ORA-06512: at line 1
    The context is an attempt to merge a child workspace into LIVE (LIVE being its direct parent).
    it is on Oracle Database 11.1.0.7.
    Can you advise what this error means? I am unable to dig deeper into it because the PL-SQL source code for WMSYS.LT is wrapped.
    thanks
    Simon

    Hi,
    Are you able to get a standard trace of the error from the remote database? ora-1403 errors can come from a number of places, so an errorstack trace is usually needed to determine the cause.
    Regards,
    Ben

  • Getting ORA-12560: TNS:protocol adapter error when starting Oracle8i SVRMGR

    Hi everyone,
    I'm new to the forums, and I guess you could say "somewhat new" to the Oracle DB. I've played around with it casually in the past, but never got real serious with it :)
    Anyhow, I wanted to see if someone could help with this. I found an old thread on a similar issue, but nothing seemed to help at all towards resolution, so I thought I would start a new thread, and maybe get some fresh ideas.
    The issue is, I start SVRMGR on Oracle8i, and get the ORA-1260: TNS:protocol adapter error.
    Here is my setup:
    OS: Win2k Advanced Server
    CPU: 2 - 930MHz Intel Xeon's
    RAM: 1GB DIMM
    DB Version: Oracle8i
    No firewalls or any other TCP interference. Ok, so now that's out the way :), here is the issue:
    When I start the SVRMGR, I get that error immediately. I have checked my tnsnames.ora file, and found some discrepancies, and have corrected them (at least to my knowledge), restarted all the Windows services running the various databases, and closed/re-opened the SVRMGR, and still get the same thing.
    For reference, here is a copy of the tnsnames.ora file:
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora81\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 207.225.221.92) (PORT = 1521) )
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = class.oracle)
    (PRESENTATION = http://admin)
    #CLASS =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = class.oracle)
    #LOGEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = LOGEDNET.oracle)
    BFLEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = BFLEDNET.oracle)
    #CSPEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = CSPEDNET.oracle)
    #FLGEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = FLGEDNET.oracle)
    #FINEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = FINEDNET.oracle)
    CCHSRES =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = CCHSRES)
    #CCHS =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = CCHS)
    CHYEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = CHYEDNET)
    #AUREDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = AUREDNET)
    #TUSEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = TUSEDNET)
    ## DBs on ORACLESHC - 207.225.221.80
    DENEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DENEDNET)
    DFEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DFEDNET)
    FTCEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = FTCEDNET)
    OGDEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = OGDEDNET)
    PROEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PROEDNET)
    SILVER7 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = SILVER7)
    # CCHS_PROD =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.87)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = CCHS)
    ONLINEDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ONLINEDB)
    GLOBALDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = GLOBALDB)
    The ones I commented out were either non-existant databases, or the databases were shutdown, because they are not presently being used.
    If someone could help with this, it would be greatly appreciated. :)

    HI,
    1). Can you connect normally from SQL Plus?
    -----------------------Here is entry in your Tnsnames.ora file.------------------------------
    #You must check that your Dbase Listener is Listening request on port 1521.
    ORCL9i =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Local-Server)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl9i)
    2). For pinging a service.
    If you've Microsoft Windows.
    If your database service name is orcl9i
    Run->Cmd
    Tnsping orcl9i
    --It will give you as following information either "OK" or Fail.
    ----------------------------------Output after running Tnsping--------------------------------------------
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 26-JUL-20
    07 13:30:16
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    E:\oracle\ora92\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = Local-Server)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = Orcl9i)))
    OK (20 msec)
    I would like to mention that Svrmgr30 was in Oracle 8. And Oracle 8i uses Svrmgrl.
    --Below is Oracle9i syntax you may use it on svrmgrl.
    SQL> connect
    Enter user-name: Scott/Tiger@orcl9i
    SQL> connected:
    SQL>

  • I get the following error message and I cant get onto web. XML Parsing Error: undefined entity

    XML Parsing Error: undefined entity
    Location: jar:file:///C:/Users/Lisa/AppData/Roaming/Mozilla/Firefox/Profiles/7x7db74p.default/extensions/[email protected]/chrome/speedtest.jar!/content/netError.xhtml
    Line Number 392, Column 33:

    There have been problems reported with Sync.
    They are working on it, so please try again later when those problems are fixed.
    *https://services.mozilla.com/status/
    *http://twitter.com/#!/mozservices

  • Exc– ORA-00604: error occurred at recursive SQL level 1 ORA-01003;No Stat P

    I am getting above mentioned error when calling the below procedure. Please guide me
    procedure xyz(P_ROTATION_NO ,
    P_VESL_NO ,
    P_VESL_NAME ,
    P_CM_REGN_NO ,
    P_FINAL_CLOSE_STA ,
    P_FROM_REG_DATE ,
    P_TO_REG_DATE ,
    P_FROM_ARRIVAL_DATE,
    P_TO_ARRIVAL_DATE,
    P_RESULT_LIST OUT SYS_REFCURSOR,
    P_TOTAL_LENGTH OUT NUMBER,
    P_ERROR_MESSAGE OUT VARCHAR2) AS
    lv_sql1 VARCHAR2(5000);
    lv_sql2 VARCHAR2(5000);
    lv_whereClause VARCHAR2(5000);
    BEGIN
    pv_text := NULL;
    lv_whereClause := ' WHERE GVM.VESL_MASTER_NUM =GVR.VESL_MASTER_NUM '||
    ' AND GVR.ROTATION_NO(+) = GVCH.ROTATION_NO '||
    ' AND GVCH.ROTATION_NO LIKE NVL(''%''||:P_ROTATION_NO|| ''%'' '||
    ' ,GVCH.ROTATION_NO '||
    ' ) '||
    ' AND GVR.CM_REGN_NO LIKE NVL(''%''||:P_CM_REGN_NO|| ''%'' '||
    ' ,GVR.CM_REGN_NO '||
    ' ) '||
    ' AND GVM.VESL_NAME LIKE NVL(''%''||:P_VESL_NAME|| ''%'' '||
    ' ,GVM.VESL_NAME '||
    ' ) '||
    ' AND GVM.VESL_NO LIKE NVL(''%''||:P_VESL_NO|| ''%'' '||
    ' ,GVM.VESL_NO '||
    ' ) '||
    ' AND GVCH.FINAL_CLOSE_STA LIKE NVL(''%''||:P_FINAL_CLOSE_STA|| ''%'' '||
    ' ,GVCH.FINAL_CLOSE_STA '||
    ' ) '||
    ' AND TO_CHAR(GVCH.CREATED_DATE, ''DD/MM/YYYY'') >= '||
    ' NVL(TO_CHAR(:P_FROM_REG_DATE, ''DD/MM/YYYY'') '||
    ' ,GVCH.CREATED_DATE '||
    ' ) '||
    ' AND TO_CHAR(GVCH.CREATED_DATE, ''DD/MM/YYYY'') <= '||
    ' NVL(TO_CHAR(:P_TO_REG_DATE, ''DD/MM/YYYY'') '||
    ' ,GVCH.CREATED_DATE '||
    ' ) '||
    ' AND TO_CHAR(GVR.ARRIVAL_DATE, ''DD/MM/YYYY'') <= '||
    ' NVL(TO_CHAR(:P_FROM_ARRIVAL_DATE, ''DD/MM/YYYY'') '||
    ' ,GVR.CREATED_DATE '||
    ' ) '||
    ' AND TO_CHAR(GVR.ARRIVAL_DATE, ''DD/MM/YYYY'') <= '||
    ' NVL(TO_CHAR(:P_TO_ARRIVAL_DATE, ''DD/MM/YYYY'') '||
    ' ,GVR.CREATED_DATE '||
    ' ) '||
    ' AND GVM.IS_VALID = 1 '||
    ' AND GVCH.IS_VALID = 1 '||
    ' AND GVR.IS_VLAID = 1';
    lv_sql1 := 'SELECT COUNT(gvr.rotation_no)
    FROM gch_vsl_close_hdr gvch,
    gch_vsl_master gvm,
    gch_vsl_regn gvr '|| lv_whereClause;
    lv_sql2 := ' SELECT gvch.close_hdr_id,
    gvch.rotation_no
    gvr.cm_regn_no,
    gvm.vesl_no,
    gvm.vesl_name,
    gvch.final_close_sta,
    gvr.arrival_date,
    gvch.close_date,
    gvr.created_date
    FROM gch_vsl_close_hdr gvch,
    gch_vsl_master gvm,
    gch_vsl_regn gvr '|| lv_whereClause ||' ORDER BY gvch.rotation_no';
    EXECUTE IMMEDIATE lv_sql1 INTO P_TOTAL_LENGTH
    USING P_ROTATION_NO,P_CM_REGN_NO,P_VESL_NAME,P_VESL_NO,P_FINAL_CLOSE_STA,P_FROM_REG_DATE, P_TO_REG_DATE, P_FROM_ARRIVAL_DATE, P_TO_ARRIVAL_DATE;
    OPEN P_RESULT_LIST FOR lv_sql2
    USING P_ROTATION_NO,P_CM_REGN_NO,P_VESL_NAME,P_VESL_NO,P_FINAL_CLOSE_STA,P_FROM_REG_DATE, P_TO_REG_DATE, P_FROM_ARRIVAL_DATE, P_TO_ARRIVAL_DATE;
    Edited by: YKING on Apr 10, 2012 1:20 PM

    YKING wrote:
    Please tell me without dynamic query, how to simplify the codeHello
    Something like this (note this is not tested as I don't have your tables or data)...
    create or replace procedure xyz_1(P_ROTATION_NO NUMBER,
      P_VESL_NO  NUMBER,
      P_VESL_NAME  VARCHAR2,
      P_CM_REGN_NO  NUMBER,
      P_FINAL_CLOSE_STA  VARCHAR2,
      P_FROM_REG_DATE DATE,
      P_TO_REG_DATE DATE,
      P_FROM_ARRIVAL_DATE DATE,
      P_TO_ARRIVAL_DATE DATE,
      P_RESULT_LIST OUT SYS_REFCURSOR,
      P_TOTAL_LENGTH OUT NUMBER,
      P_ERROR_MESSAGE OUT VARCHAR2) AS
    BEGIN
        SELECT COUNT(gvr.rotation_no)
        INTO P_TOTAL_LENGTH
        FROM   gch_vsl_close_hdr gvch, gch_vsl_master gvm, gch_vsl_regn gvr
        WHERE  gvm.vesl_master_num = gvr.vesl_master_num
        AND    gvr.rotation_no(+) = gvch.rotation_no
        AND    gvch.rotation_no LIKE nvl('%' || p_rotation_no || '%', gvch.rotation_no)
        AND    gvr.cm_regn_no LIKE nvl('%' || p_cm_regn_no || '%', gvr.cm_regn_no)
        AND    gvm.vesl_name LIKE nvl('%' || p_vesl_name || '%', gvm.vesl_name)
        AND    gvm.vesl_no LIKE nvl('%' || p_vesl_no || '%', gvm.vesl_no)
        AND    gvch.final_close_sta LIKE nvl('%' || p_final_close_sta || '%', gvch.final_close_sta)
        AND    gvch.created_date >= nvl(p_from_reg_date, gvch.created_date)
        AND    gvch.created_date <= nvl(p_to_reg_date,  gvch.created_date)
        AND    gvr.arrival_date <= nvl(p_from_arrival_date, gvr.created_date)
        AND    gvr.arrival_date <= nvl(p_to_arrival_date, gvr.created_date)
        AND    gvm.is_valid = 1
        AND    gvch.is_valid = 1
        AND    gvr.is_vlaid = 1;
       OPEN P_RESULT_LIST FOR
       SELECT gvch.close_hdr_id,
              gvch.rotation_no gvr.cm_regn_no,
              gvm.vesl_no,
              gvm.vesl_name,
              gvch.final_close_sta,
              gvr.arrival_date,
              gvch.close_date,
              gvr.created_date
       FROM   gch_vsl_close_hdr gvch, gch_vsl_master gvm, gch_vsl_regn gvr
       WHERE  gvm.vesl_master_num = gvr.vesl_master_num
       AND    gvr.rotation_no(+) = gvch.rotation_no
       AND    gvch.rotation_no LIKE nvl('%' || p_rotation_no || '%', gvch.rotation_no)
       AND    gvr.cm_regn_no LIKE nvl('%' || p_cm_regn_no || '%', gvr.cm_regn_no)
       AND    gvm.vesl_name LIKE nvl('%' || p_vesl_name || '%', gvm.vesl_name)
       AND    gvm.vesl_no LIKE nvl('%' || p_vesl_no || '%', gvm.vesl_no)
       AND    gvch.final_close_sta LIKE nvl('%' || p_final_close_sta || '%', gvch.final_close_sta)
       AND    gvch.created_date >= nvl(p_from_reg_date, gvch.created_date)
       AND    gvch.created_date <= nvl(p_to_reg_date, gvch.created_date)
       AND    gvr.arrival_date <= nvl(p_from_arrival_date, gvr.created_date)
       AND    gvr.arrival_date <= nvl(p_to_arrival_date, gvr.created_date)
       AND    gvm.is_valid = 1
       AND    gvch.is_valid = 1
       AND    gvr.is_vlaid = 1
       ORDER  BY gvch.rotation_no;
    END;Although it would be possibly to send p_total_length back as a column in the query...that way you wouldn't get any read consistency issues between the two statements....
    create or replace procedure xyz_1(P_ROTATION_NO NUMBER,
      P_VESL_NO  NUMBER,
      P_VESL_NAME  VARCHAR2,
      P_CM_REGN_NO  NUMBER,
      P_FINAL_CLOSE_STA  VARCHAR2,
      P_FROM_REG_DATE DATE,
      P_TO_REG_DATE DATE,
      P_FROM_ARRIVAL_DATE DATE,
      P_TO_ARRIVAL_DATE DATE,
      P_RESULT_LIST OUT SYS_REFCURSOR
      ) AS
    BEGIN
       OPEN P_RESULT_LIST FOR
       SELECT gvch.close_hdr_id,
              gvch.rotation_no gvr.cm_regn_no,
              gvm.vesl_no,
              gvm.vesl_name,
              gvch.final_close_sta,
              gvr.arrival_date,
              gvch.close_date,
              gvr.created_date,
              COUNT(gvr.rotation_no) OVER() total_length
       FROM   gch_vsl_close_hdr gvch, gch_vsl_master gvm, gch_vsl_regn gvr
       WHERE  gvm.vesl_master_num = gvr.vesl_master_num
       AND    gvr.rotation_no(+) = gvch.rotation_no
       AND    gvch.rotation_no LIKE nvl('%' || p_rotation_no || '%', gvch.rotation_no)
       AND    gvr.cm_regn_no LIKE nvl('%' || p_cm_regn_no || '%', gvr.cm_regn_no)
       AND    gvm.vesl_name LIKE nvl('%' || p_vesl_name || '%', gvm.vesl_name)
       AND    gvm.vesl_no LIKE nvl('%' || p_vesl_no || '%', gvm.vesl_no)
       AND    gvch.final_close_sta LIKE nvl('%' || p_final_close_sta || '%', gvch.final_close_sta)
       AND    gvch.created_date >= nvl(p_from_reg_date, gvch.created_date)
       AND    gvch.created_date <= nvl(p_to_reg_date, gvch.created_date)
       AND    gvr.arrival_date <= nvl(p_from_arrival_date, gvr.created_date)
       AND    gvr.arrival_date <= nvl(p_to_arrival_date, gvr.created_date)
       AND    gvm.is_valid = 1
       AND    gvch.is_valid = 1
       AND    gvr.is_vlaid = 1
       ORDER  BY gvch.rotation_no;
    END;And there's no need to pass an error message back, just use the exception system to propagate exceptions back to the caller.
    HTH
    David

  • Getting "ora-20005 task is modified" error while updating task payload

    Hi,
    I am trying to update a task's payload using the Task Service. But I am getting the following error :-
    "IRC_SOAINFRA.WFTASKPKG_111160", line 2932
    ORA-20005:
    ORA-06512: at line 1I am using the task element which I got back by calling the TaskQueryService's getTaskById operation. At a loss why this is happening!!! Any help is much appreciated.
    Thanks,
    Rahul

    Hi,
    I am trying to update a task's payload using the Task Service. But I am getting the following error :-
    "IRC_SOAINFRA.WFTASKPKG_111160", line 2932
    ORA-20005:
    ORA-06512: at line 1I am using the task element which I got back by calling the TaskQueryService's getTaskById operation. At a loss why this is happening!!! Any help is much appreciated.
    Thanks,
    Rahul

  • Getting ORA-01017: invalid username/password error only with specific tools

    Hi,
    I am a Junior DBA still getting familiar with Oracle. I am having trouble accessing one of my databases through both TOAD and SQLDetective tools. When I try to log in to my database using these tools, I get the error:
    ORA - 01017: invalid username/password; login denied
    Even though the password and username is correct.
    I can successfully login through other tools like SQLTools and through SQL Plus. I have searched this issue and I have seen people with the same problems but I couldnt find a solution. The weird thing is, I can use TOAD and SQLDetective to login to other databases without any issues. It seems to be this one specific database.
    My database is an 11g database on a linux box. I have 9i and 10g clients installed on my machine. The all my apps use the tnsnames from the 9i home on my machine.
    Any help on this would be greatly appreciated. Thanks.
    Rgs,
    Rob
    Edited by: rgilligan on 16-Apr-2010 02:11

    Hello, if it is 11g, look at the parameter sec_case_sensitive_logon. This parameter defaults to true, which makes the password case sensitive. Some tools/apps do a UPPER or LOWER on the password and so this may the reason for the error
    Henner

  • ORA-00604:error occurred at recursive SQL level 1ORA-01003:no stmnt parsed

    Following PL/SQL block works fine when executed as SQL statement but throws
    2147217900:ORA-00604: error occurred at recursive SQL level 1ORA-01003: no statement parsed
    error, when called from application (Visual Basic 6.0).
    Procedure xyz(pStartDt IN VARCHAR2,pEndDt IN VARCHAR2,pErrorDesc OUT VARCHAR2, pReportData OUT SYS_REFCURSOR) IS
    Begin
    Open pReportData For
    WITH Dataset AS
    (SELECT SUBSTR(forename,1,1) FName, trim(surname) SurName, trim(NVL(address_1, address_2)) Addr,
    DECODE(UPPER(hacc_num),'999999999',NULL,'N/A', NULL,'NA', NULL, 'NON GIVEN', NULL, 'NOT GIVEN', NULL, 'UNKNOWN', NULL,'NONE GIVEN', NULL,hacc_num) HaccNum,
            TRUNC(receipt_date) RcptDate,
            UPPER(SUBSTR(forename,1,1)||trim(surname)||trim(NVL(address_1, address_2))) NameAddr,
            casenum, customer_title, forename, address_1, address_2, postcode, comp_date                        
            FROM bprit_act_current
            WHERE proc_code = 'CF2'
            AND receipt_date BETWEEN ADD_MONTHS(TO_DATE(p_dtEnd,'dd/mm/yyyy'), -3)+1
            AND TO_DATE(p_dtEnd,'dd/mm/yyyy')
            AND ((ForeName IS NOT NULL AND SurName IS NOT NULL AND NVL(address_1, address_2) IS NOT NULL)
            OR hacc_num IS NOT NULL)),
    RequiredData AS (SELECT *
                     FROM Dataset
                     WHERE RcptDate BETWEEN TO_DATE(p_dtStart,'dd/mm/yyyy') AND TO_DATE(p_dtEnd,'dd/mm/yyyy')),
    DuplicateData AS (SELECT a.nameaddr, NULL haccnum, COUNT(a.Addr) Cnt
                      FROM Dataset a, RequiredData b
                      WHERE (a.NameAddr = b.NameAddr) 
                      GROUP BY a.nameaddr
                      HAVING COUNT(1) >1
                      UNION ALL
                      SELECT NULL nameaddr, a.haccnum, COUNT(1) Cnt
                      FROM Dataset a, RequiredData b
                      WHERE (a.haccnum = b.haccnum) 
                      GROUP BY a.haccnum
                      HAVING COUNT(1) >1)
    SELECT DISTINCT a.casenum "Case No.", a.customer_TITLE "Title", a.FORENAME "Forename", a.SURNAME "Surname", a.HACCNUM "Holding/Account No.",
           a.ADDRESS_1 "Address Line1", a.ADDRESS_2 "Address Line 2",a.POSTCODE "Post Code", a.RcptDate "Receipt Date", a.comp_date "Complete Date"
      FROM Dataset a, DuplicateData b
    WHERE (a.nameaddr = b.nameaddr) OR (a.haccnum = b.haccnum)
    ORDER BY a.haccnum, a.forename, a.surname, a.address_1, a.address_2;
    EXCEPTION
    WHEN OTHERS THEN
    pErrorDesc  := SUBSTR(SQLERRM, 1, 255);
    END XYZ;Any help will be appreciated.
    Oracle version is 9.2.0.6.0.
    SQL commands works fine if executed alone but calling from vb application throw following error,
    [12:53:23][ERR]getReportData::-2147217900:ORA-00604: error occurred at recursive SQL level 1ORA-01003: no statement parsed
    Edited by: rav_bhu on 05-May-2009 05:30

    Few points
    1. Use {noformat} <put your code here> {noformat} tags to format your code. Its ugly without formatting.
    2. Please remove the WHEN OTHERS THEN from your code and run again. Get the full error message with line number and post it here.
    3. Mention your database version.

Maybe you are looking for

  • How do i expand all the nodes in a jtree

    Hi, I am working on a project where i need to expand all the nodes of a jtree i have tried a few different ways but it never seems to expand all the nodes.. I would be very greatful if someone could point me in the right direction cheers Mary

  • TS3694 iphone cant be update to ios6 and saying a 3014error

    iphone cant be update to ios6 and saying a 3014error

  • "Type of Device" in Device Category

    Hi, I could find "Only Device Info records Permitted; Multiple Ser. No. poss." as one of the options in the field "Type of Device" of the Device category. This means that system would allows us created only Device info Record for this device Category

  • Need template with daily entries, & monthly sums & year-to-date sums

    I'm trying to find a budget template for Numbers -- adapted from the checkbook template, maybe? -- where one can enter daily transactions (with category) in 12 different monthly tables, show each month's category sums in tables next to the daily ones

  • IT0009 bank detail delimiting problem!

    We have one employee who was terminated on Apr. 20th (which is the end of our payroll period). He has two IT0009 entries, subtype 0 for main bank. And subtype 1 is set up to deposit $300 per period.  Both entries are delimited on Apr. 20th. Now when