Oracle 11g ProC/C++ PCC-S-02346, PL/SQL found semantic errors

Hi
We use ProC/C++ since Oracle V7 and have precompile without problem with proc 7, 8, 9 10.
I have downloaded instant client 11g (base + sdk + precomp) and have errors PCC-S-02346 !
332 EXEC SQL EXECUTE
Error at line 333, column 4 in file cdsgbtol.cpp
333 BEGIN
333 ...1
333 PCC-S-02346, PL/SQL found semantic errors
Error at line 334, column 5 in file cdsgbtol.cpp
334 DSS_CINDOC_PKG.DSS_UTIL_SYSTAB(:P1,:Optype,:P2,:oRowCont,:res) ;
334 ....1
334 PLS-S-00000, Statement ignored
335 END ;
336 END-EXEC ;
Errors occurs with source that needs proc option sqlcheck=SEMANTICS.
Thanks for help
Jean-François

Hello,
I'm having the same problem !
Got unchanged .pc source code which worked fine with Oracle 9 and Oracle 10 pro*C precompilers,
I just installed Oracle 11gR1 Server on Win XP 32bits, and now I'm having this error :
C:\> proc.exe .\sources\t_bas_information_base sqlcheck=semantics native_types=YES userid=tpv/tpv@tpv
Pro*C/C++: Release 11.1.0.7.0 - Production on Ven. FÚvr. 4 11:34:44 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Valeurs des options systÞme par dÚfaut extraites de : D:\oracle\ora11gR1\precomp\admin\pcscfg.cfg
Erreur Ó la ligne 93, colonne 54 dans le fichier .\sources\t_bas_information_base.pc
EXEC SQL DECLARE cur_T_BAS_INFORMATION_BASE CURSOR FOR
.....................................................1
PLS-S-00000, SQL Statement ignored
erreur sÚmantique Ó la ligne 93, colonne 54, fichier .\sources\t_bas_information_base.pc:
EXEC SQL DECLARE cur_T_BAS_INFORMATION_BASE CURSOR FOR
.....................................................1
PCC-S-02346, PL/SQL a trouvÚ des erreurs sÚmantiques
Anyone, an idea ?
Thank you.

Similar Messages

  • Connect Oracle 11g (64-bit windows server) to Microsoft SQL Server 2000

    Hi all,
    I am trying to connect:
    Oracle 11g (64-bit windows server) to Microsoft SQL Server 2000 (32-bit) on a different machine.
    1) I have create an ODBC connection (called:GALAXY) which connects.
    2) created a init.ora called it initgalaxy.ora in $oracle_home\hs\admin
    HS_FDS_CONNECT_INFO = GALAXY
    HS_FDS_TRACE_LEVEL = on
    3) modified the listener.ora file as below
    # listener.ora Network Configuration File: E:\Ora11g\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = BIU01)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = extproc0))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC =
    (GLOBAL_DBNAME = HEX.BIU01.kingsch.nhs.uk)
    (ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
    (SID_NAME = HEX)
    (SID_DESC=
    (SID_NAME = galaxy)
    (ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
    (PROGRAM = dg4odbc)
    (SID_DESC =
    (PROGRAM = EXTPROC)
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
    4) modified the tnsnames.ora file is as follows
    GALAXY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = BIU01.kingsch.nhs.uk)(PORT = 1521))
    (CONNECT_DATA =
    (SID = galaxy)
    (HS = OK)
    HEX =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = BIU01.kingsch.nhs.uk)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HEX)
    5) restarted the listener
    6) created a public database connect
    create PUBLIC DATABASE LINK "GALAXY" CONNECT TO "USER" IDENTIFIED by "PWD" USING 'galaxy';
    This is the error message I can sell in $oracle_home\hs\admin\trace
    Oracle Corporation --- MONDAY APR 27 2009 11:54:18.370
    Heterogeneous Agent Release
    11.1.0.6.0
    Oracle Corporation --- MONDAY APR 27 2009 11:54:18.370
    Version 11.1.0.6.0
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using galaxy_live as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    ##>Connect Parameters (len=42)<##
    ## DSN=GALAXY;
    #! UID=galaxy_live;
    #! PWD=*
    hgocont, line 1890: calling SqlDriverConnect got sqlstate IM002
    when I try to test the database link, I get this error:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC Drive Manager] Data source name not found and no default driver specified
    ORA-02063: preceding 2 lines from GALAXY
    28500.00000- "connection from ORACLE to ad non-Oracle system returned this message:"
    *Cause: The cause is explained in the forwarded message.
    *Action: See the non-Oracle system's documentation of the forwarded message.
    vendor code 28500
    Edited by: user7336435 on 27-Apr-2009 05:56

    11.2 is beta at the moment. There is no official release date so far.
    As DG4ODBC is independant from the Oracle database (or the target database) you can use a 3 machine model:
    On the first machine you have your Oracle database, on a second machine running 32bit Windows you can install DG4ODBC and on the 3rd machine you can run your foreign database.
    If the SQL Server 2k is installed on a 32bit Windows machine, then you can also install DG4ODBC on this machine.
    In general the connection from an Oracle database to the DG4ODBC machine is done using SDQL*Net. The listener responsible for DG4ODBC will then load the DG4ODBC executable which will connect to the SQL Server using SQL Server ODBC driver.

  • DW sees no Oracle 11g procs

    PropertyManager.Application.Databases lists the tables and
    views for my Oracle 11g CF Data Source, but lists "None" under the
    Stored Procedure node. User is owner of these procs. I am already
    calling these procs with ColdFusion cfcs from Flex. TIA,
    Mic.

    crzymnmchl wrote:
    > PropertyManager.Application.Databases lists the tables
    and views for my Oracle
    > 11g CF data source and for MySQL5 data source, but lists
    "None" under the
    > Stored Procedure node.
    MySQL has supported stored procedures only since MySQL 5.
    Dreamweaver's
    server behaviors were developed in pre-MySQL 5 days, and have
    not been
    substantially revised since then.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Oracle 11g /proc file system files on Linux x86-64

    OS: RHEL 5.6
    Oracle: 11.2.0.3 Standard Edition RAC (GI and DB)
    In 11.2.0.3, it is found that the pseudo files for Oracle processes in /proc filesystem were owned by root, even though the process owner is oracle.
    [oracle@dbserver proc]$ ps -ef|grep ckpt
    oracle    7358     1  0 Dec17 ?        00:00:46 ora_ckpt_orcl1
    oracle   28190 27544  0 12:08 pts/1    00:00:00 grep ckpt
    [oracle@dbserver proc]$ cd /proc/7358
    [oracle@dbserver 7358]$ ls -l
    ls: cannot read symbolic link cwd: Permission denied
    ls: cannot read symbolic link root: Permission denied
    ls: cannot read symbolic link exe: Permission denied
    total 0
    dr-xr-xr-x 2 oracle asmdba 0 Dec 19 12:08 attr
    -r-------- 1 root   root   0 Dec 19 12:08 auxv
    -r--r--r-- 1 root   root   0 Dec 19 10:58 cmdline
    -rw-r--r-- 1 root   root   0 Dec 19 12:08 coredump_filter
    -r--r--r-- 1 root   root   0 Dec 19 12:08 cpuset
    lrwxrwxrwx 1 root   root   0 Dec 19 12:08 cwd
    -r-------- 1 root   root   0 Dec 19 12:08 environ
    lrwxrwxrwx 1 root   root   0 Dec 19 12:08 exe
    dr-x------ 2 root   root   0 Dec 17 22:17 fd
    dr-x------ 2 root   root   0 Dec 19 12:08 fdinfo
    -r--r--r-- 1 root   root   0 Dec 19 12:08 io
    -r--r--r-- 1 root   root   0 Dec 19 10:58 limits
    -rw-r--r-- 1 root   root   0 Dec 19 12:08 loginuid
    -r--r--r-- 1 root   root   0 Dec 19 12:08 maps
    -rw------- 1 root   root   0 Dec 19 12:08 mem
    -r--r--r-- 1 root   root   0 Dec 19 12:08 mounts
    -r-------- 1 root   root   0 Dec 19 12:08 mountstats
    -r--r--r-- 1 root   root   0 Dec 19 12:08 numa_maps
    -rw-r--r-- 1 root   root   0 Dec 19 12:08 oom_adj
    -r--r--r-- 1 root   root   0 Dec 19 12:08 oom_score
    lrwxrwxrwx 1 root   root   0 Dec 19 12:08 root
    -r--r--r-- 1 root   root   0 Dec 19 12:08 schedstat
    -r--r--r-- 1 root   root   0 Dec 19 12:08 smaps
    -r--r--r-- 1 root   root   0 Dec 19 10:59 stat
    -r--r--r-- 1 root   root   0 Dec 19 10:58 statm
    -r--r--r-- 1 root   root   0 Dec 19 10:58 status
    dr-xr-xr-x 3 oracle asmdba 0 Dec 19 12:08 task
    -r--r--r-- 1 root   root   0 Dec 19 11:00 wchanAs a result, many diagnostic utility, like the /proc filesystem (especially the fd/ subdirectory), lsof, strace, gdb, ... were not usable by the the oracle OS account. Any idea?
    In 10g + RHEL 5.2, the psuedo files were owned by oracle.

    sb92075 wrote:
    different system, different OS, & different permissions which has NOTHING to do with Oracle RDBMSDon't agree. Permissions, ownership, etc could be reconfigured while process spawn, this is surely related to Oracle Software. (Well, you may argue that it is related to GI only. But the situation is the same for standalone DB running on standalone ASM).

  • Oracle 11g - Problem in referring ROWNUM in the SQL

    Hello All,
    We are facing a strange problem with Oracle 11g (11.2.0.1.0).
    When we issue a query which refers the rownum, it returns a invalid record ( which is not exists in the table).
    The same sql is working fine once we analyze the table
    Note: The same sql is working fine with oracle 10g (Before analyze also).
    The script to reproduce the issue:
    DROP TABLE BusinessEntities;
    CREATE TABLE BusinessEntities
    business_entity_id VARCHAR2(25) PRIMARY KEY,
    business_entity_name VARCHAR2(50) NOT NULL ,
    owner_id VARCHAR2(25) ,
    statutory_detail_id NUMBER ,
    address_id NUMBER NOT NULL
    DROP TABLE BusEntityRoles;
    CREATE TABLE BusEntityRoles
    business_entity_id VARCHAR2(25) NOT NULL,
    role_id VARCHAR2(10) NOT NULL,
    PRIMARY KEY (business_entity_id, role_id)
    INSERT
    INTO businessentities ( business_entity_id , business_entity_name, owner_id , statutory_detail_id , address_id)
    VALUES
    ( 'OWNER', 'OWNER Corporation Ltd', NULL , 1, 1 );
    INSERT
    INTO businessentities ( business_entity_id , business_entity_name, owner_id , statutory_detail_id , address_id)
    VALUES
    ( 'ALL_IN_ALL', 'ALL IN ALL Corporation Ltd', 'OWNER' , 2, 2 );
    INSERT INTO busentityroles(business_entity_id, role_id) VALUES ('TEST' , 'OWNER');
    INSERT INTO busentityroles (business_entity_id,role_id) VALUES ('TEST','VENDOR');
    INSERT INTO busentityroles(business_entity_id, role_id) VALUES ('ALL_IN_ALL' , 'VENDOR');
    SELECT *
    FROM
    (SELECT raw_sql_.business_entity_id, raw_sql_.business_entity_name, raw_sql_.owner_id, raw_sql_.address_id,
    rownum raw_rnum_
    FROM
    (SELECT *
    FROM BusinessEntities
    WHERE (business_entity_id IN
    (SELECT business_entity_id
    FROM BusinessEntities
    WHERE business_entity_id = 'OWNER'
    OR owner_id = 'ALL_IN_ALL'
    AND business_entity_id NOT IN
    (SELECT business_entity_id FROM BusEntityRoles
    ORDER BY business_entity_id ASC
    ) raw_sql_
    WHERE rownum <= 5
    WHERE raw_rnum_ > 0;
    OUTPUT Before Analyzing
    BUSINESS_ENTITY_ID: OWNER
    BUSINESS_ENTITY_NAME: NULL
    OWNER_ID: OWNER
    ADDRESS_ID: NULL
    RAW_RNUM_: 1
    Note: There is no record in the table with the value business_entity_id as 'OWNER' and OWNER_ID as 'OWNER' and the address_id as NULL
    OUTPUT : After analyzed the table Using the below mentioned command
    ANALYZE TABLE "BUSENTITYSUPPLYCHAINROLES" ESTIMATE STATISTICS
    ANALYZE TABLE "BUSINESSENTITIES" ESTIMATE STATISTICS
    BUSINESS_ENTITY_ID: OWNER
    BUSINESS_ENTITY_NAME: OWNER Corporation Ltd
    OWNER_ID: NULL
    ADDRESS_ID: 1
    RAW_RNUM_: 1
    Any clue why Oracle 11g is behaving like this.

    Hi,
    it's a good practice to give aliases for tables, as well as name query blocks. Here it is (and formatted for convinience):
    select --/*+ gather_plan_statistics optimizer_features_enable('10.2.0.4') */
      from (select /*+ qb_name(v2) */
                   raw_sql_.business_entity_id
                  ,raw_sql_.business_entity_name
                  ,raw_sql_.owner_id
                  ,raw_sql_.address_id
                  ,rownum raw_rnum_
              from (select /*+ qb_name(v1) */ *
                      from businessentities b1
                     where (b1.business_entity_id in
                           (select /*+ qb_name(in) */ b2.business_entity_id
                               from businessentities b2
                              where business_entity_id = 'OWNER'
                                 or owner_id = 'ALL_IN_ALL'
                                and business_entity_id not in
                                   (select /*+ qb_name(not_in) */ r.business_entity_id from busentityroles r)))
                     order by business_entity_id asc) raw_sql_
             where rownum <= 5)
    where raw_rnum_ > 0;You are facing some bug - definitely - and, possibly, it is caused by [join elimination|http://optimizermagic.blogspot.com/2008/06/why-are-some-of-tables-in-my-query.html]. As a workaround you should rewrite the query to eliminate unnecessary join manually; or you may include a hint to not eliminate join (it's not documented):
    SQL>
    select -- /*+ gather_plan_statistics optimizer_features_enable('10.2.0.4') */
      from (select /*+ qb_name(v2)  */
                   raw_sql_.business_entity_id
                  ,raw_sql_.business_entity_name
                  ,raw_sql_.owner_id
                  ,raw_sql_.address_id
                  ,rownum raw_rnum_
              from (select /*+ qb_name(v1) no_eliminate_join(b1) */ *
                      from businessentities b1
                     where (b1.business_entity_id in
                           (select /*+ qb_name(in) */ b2.business_entity_id
                               from businessentities b2
                              where business_entity_id = 'OWNER'
                                 or owner_id = 'ALL_IN_ALL'
                                and business_entity_id not in
                                   (select /*+ qb_name(not_in) */ r.business_entity_id from busentityroles r)))
                     order by business_entity_id asc) raw_sql_
             where rownum <= 5)
    20   where raw_rnum_ > 0;
    BUSINESS_ENTITY_ID        BUSINESS_ENTITY_NAME                               OWNER_ID                  ADDRESS_ID  RAW_RNUM_
    OWNER                     OWNER Corporation Ltd                                                                 1          1Strange thing is executing a transformed query gives correct result too:
    SELECT "from$_subquery$_001"."BUSINESS_ENTITY_ID" "BUSINESS_ENTITY_ID",
           "from$_subquery$_001"."BUSINESS_ENTITY_NAME" "BUSINESS_ENTITY_NAME",
           "from$_subquery$_001"."OWNER_ID" "OWNER_ID",
           "from$_subquery$_001"."ADDRESS_ID" "ADDRESS_ID",
           "from$_subquery$_001"."RAW_RNUM_" "RAW_RNUM_"
      FROM  (SELECT /*+ QB_NAME ("V2") */
                    "RAW_SQL_"."BUSINESS_ENTITY_ID" "BUSINESS_ENTITY_ID",
                    "RAW_SQL_"."BUSINESS_ENTITY_NAME" "BUSINESS_ENTITY_NAME",
                    "RAW_SQL_"."OWNER_ID" "OWNER_ID","RAW_SQL_"."ADDRESS_ID" "ADDRESS_ID",
                    ROWNUM "RAW_RNUM_"
               FROM  (SELECT /*+ QB_NAME ("V1") */
                            "SYS_ALIAS_1"."BUSINESS_ENTITY_ID" "BUSINESS_ENTITY_ID",
                            "SYS_ALIAS_1"."BUSINESS_ENTITY_NAME" "BUSINESS_ENTITY_NAME",
                            "SYS_ALIAS_1"."OWNER_ID" "OWNER_ID",
                            "SYS_ALIAS_1"."STATUTORY_DETAIL_ID" "STATUTORY_DETAIL_ID",
                            "SYS_ALIAS_1"."ADDRESS_ID" "ADDRESS_ID"
                       FROM "TIM"."BUSINESSENTITIES" "SYS_ALIAS_1"
                      WHERE ("SYS_ALIAS_1"."BUSINESS_ENTITY_ID"='OWNER'
                          OR "SYS_ALIAS_1"."OWNER_ID"='ALL_IN_ALL' AND  NOT
                             EXISTS (SELECT /*+ QB_NAME ("NOT_IN") */ 0
                                       FROM "TIM"."BUSENTITYROLES" "R"
                                      WHERE "R"."BUSINESS_ENTITY_ID"="SYS_ALIAS_1"."BUSINESS_ENTITY_ID")
                      ORDER BY "SYS_ALIAS_1"."BUSINESS_ENTITY_ID") "RAW_SQL_"
             WHERE ROWNUM<=5) "from$_subquery$_001"
    26   WHERE "from$_subquery$_001"."RAW_RNUM_">0
    27  /
    BUSINESS_ENTITY_ID        BUSINESS_ENTITY_NAME                               OWNER_ID                  ADDRESS_ID  RAW_RNUM_
    OWNER                     OWNER Corporation Ltd                                                                 1          1

  • Oracle 11G Install on Win 7 With PL/SQL Developer Help Needed

    Today is my first day with Oracle. I have tried to Install Ora11g from our network drive.I think the installation went fine. I also installated PL/SQL Developer when i try to log in i got the following error see below.
    PL/SQL Developer - (Not logged on)
    Initialization error
    SQL*Net not properly installed
    OracleHomeKey: SOFTWARE\ORACLE
    OracleHomeDir:
    OK
    After i did some research online i found this solution "go to Tools > Preferences > options set manually "Oracle Home" to the folder of ORACLE_HOME and "OCI Library" to the oci.dll file located in ORACLE_HOME/bin/oci.dll"
    C:\app\user\product\11.2.0\client_1\bin.dll <=== I believe this is my Oracle_Home
    C:\app\user\product\11.2.0\client_1\bin\oci.dll <==== Is my OCI Library.
    When i apply thse 2 paths i get the following error.
    Initialization error
    COuld not load " C:\app\user\product\11.2.0\client_1\bin.dll
    OCIDLL forced to C:\app\user\product\11.2.0\client_1\bin.dll
    LoadLibrary(C:\app\user\product\11.2.0\client_1\bin\.dll)returned 0
    Can someone help me with this ???????????????/

    Pl indicate which version of Win 7 - you will need Professional or higher - Home versions are not supported/certified, so things may or may not work as expected.
    http://download.oracle.com/docs/cd/E11882_01/install.112/e16773/reqs.htm#CHDHGGFE
    HTH
    Srini

  • Finally Fixed! Oracle 11g XE 'Get Started' Page (but it won't start) Error

    OMG--I JUST FIXED THIS!!
    I've been looking for days on these posts and saw a lot of frustration and finally got it.
    I'm coming from your 'average guy' approach, so I don't get all super technical stuff, so...
    I just read the message on my IE explore page when it couldn't load it, and under 'More Information' drop down, it said...
    (my paraphrase)
    'The possible problem with your internet connection is'
    ...(and somewhere down the line)
    - GO TO Internet Explorer TOOLS, INTERNET OPTIONS, ADVANCED TAB, and under the SECURITY heading, make sure the...
    [X] SSL 2.0
    [X] SSL 3.0
    [X] TSL 1.0 boxes are checked
    And I saw the Home page--AHH HAAAA!
    Anyway, Hope this helps you guys!!!
    Don's 3D

    Hi Paul,
    I was convinced with you ans. And i tried by enabling the Local LAN option in VPN.
    But all vain... Its working off the VPN but not on.
    And I did something: installed old 10g XE and guess what! its working perfectly fine. I don't even need to change the port.
    For the time being work is being done. but i'd love to know the reason n case with 11g.
    any points?

  • Oracle 11g and PRO*C :  pre-compile errors only with 11g !

    Hi !
    I didn't find a forum specific to pro*c, so here i am.
    I've downloaded Oracle 11g and recompiled our applications using pro*c
    We currently precompiling without any problem our sources against Oracle 7, 8, 9, 10.
    With Oracle 11g, it doesn't work !
    every EXEC SQL followed by a command works.
    every EXEC SQL followed by a query generates the same error.
    Example :
    char *oracle_date_courante()
         static char buf[SIZE_ORADATE+1];
         EXEC SQL SELECT sysdate into :buf from DUAL;
         if(ORA_SQLERROR())
              oracle_error("sélection date courante");
              buf[0]=0;
         return buf;
    PRO*C output :
    Erreur Ó la ligne 105, colonne 2 dans le fichier src\oracle.pc
    EXEC SQL
    .1
    PLS-S-00000, SQL Statement ignored
    erreur sÚmantique Ó la ligne 105, colonne 2, fichier src\oracle.pc:
    EXEC SQL
    .1
    PCC-S-02346, PL/SQL a trouvÚ des erreurs sÚmantiques
    So, we investigated... And found that thoses errors come when we use the option sqlcheck=semantics.
    If we use an inferiour check level, it works but because we use PL/SQL keywords, pro*c prints errors and wants us to provide the 'semantics' sqlcheck level !
    So, it's a vicious circle !
    Any ideas ?
    Thanks...
    Vincent

    Adding the option common_parser=yes removes the errors !
    But brings errors linked to the PL/SQL parser such like
    CSF-S-00000, ORA-06544: PL/SQL : erreur interne, arguments : [55916], [], [], []
    1>, [], [], [], []
    1>ORA-06553: PLS-801: erreur interne [55916]
    Really vicious..and still not precompiling !
    By the way : Server is 10.2.0.1... and i guess thoses errors are normal since the common parser is not available in this version...
    So bye bye option common_parser and i'm back to my orignals errors.
    Message was edited by:
    Vicenzo

  • Pro*C with Oracle 11g

    Hi !
    I didn't find a forum specific to pro*c, so here i am because i was told this forum had a bit of pro*c activity....
    I've downloaded Oracle 11g and recompiled our applications using pro*c
    We currently precompiling without any problem our sources against Oracle 7, 8, 9, 10.
    With Oracle 11g, it doesn't work !
    every EXEC SQL followed by a command works.
    every EXEC SQL followed by a query generates the same error.
    Example :
    char *oracle_date_courante()
    static char buf[SIZE_ORADATE+1];
    EXEC SQL SELECT sysdate into :buf from DUAL;
    if(ORA_SQLERROR())
    oracle_error("sélection date courante");
    buf[0]=0;
    return buf;
    PRO*C output :
    Erreur Ó la ligne 105, colonne 2 dans le fichier src\oracle.pc
    EXEC SQL
    .1
    PLS-S-00000, SQL Statement ignored
    erreur sÚmantique Ó la ligne 105, colonne 2, fichier src\oracle.pc:
    EXEC SQL
    .1
    PCC-S-02346, PL/SQL a trouvÚ des erreurs sÚmantiques
    So, we investigated... And found that thoses errors come when we use the option sqlcheck=semantics.
    If we use an inferiour check level, it works but because we use PL/SQL keywords, pro*c prints errors and wants us to provide the 'semantics' sqlcheck level !
    So, it's a vicious circle !
    Any ideas ?
    Thanks...
    Vincent

    Adding the option common_parser=yes removes the errors !
    But brings errors linked to the PL/SQL parser such like
    CSF-S-00000, ORA-06544: PL/SQL : erreur interne, arguments : [55916], [], [], []
    1>, [], [], [], []
    1>ORA-06553: PLS-801: erreur interne [55916]
    Really vicious..and still not precompiling !
    By the way : Server is 10.2.0.1... and i guess thoses errors are normal since the common parser is not available in this version...
    So bye bye option common_parser and i'm back to my orignals errors.
    Message was edited by:
    Vicenzo

  • New To Oracle.. Needs Help:: Conversion from SQL Server to Oracle 11g

    I am new to Oracle 11g and badly need the conversion of SQL Server Functions to Oracle.. Sample Pasted Code not working .. end with error.. pls help
    Create Table TempT (ID1 Varchar (10),
    ID2 Varchar (10)
    CREATE OR REPLACE PACKAGE GLOBALPKG
    AS
    TYPE RCT1 IS REF CURSOR;
    TRANCOUNT INTEGER := 0;
    IDENTITY INTEGER;
    END;
    CREATE OR REPLACE FUNCTION fTempT
    i IN VARCHAR2 DEFAULT NULL
    RETURN GLOBALPKG.RCT1
    IS
    REFCURSOR GLOBALPKG.RCT1;
    BEGIN
    OPEN REFCURSOR FOR
    SELECT TT.*
    FROM TempT TT
    WHERE (fTempT.i = ''
    OR TT.ID1 = fTempT.i)
    RETURN REFCURSOR;
    END;
    CREATE OR REPLACE FUNCTION fTempTF
    i IN VARCHAR2 DEFAULT NULL
    RETURN GLOBALPKG.RCT1
    IS
    REFCURSOR GLOBALPKG.RCT1;
    BEGIN
    OPEN REFCURSOR FOR
    SELECT *
    FROM TABLE(fTempT(i))
    RETURN REFCURSOR;
    END;
    LAST FUNCTION ENDs WITH ERROR
    Error(13,7): PL/SQL: ORA-22905: cannot access rows from a non-nested table item

    2. The major purpose is to get a simplest way to create a parameterized function who can return a table like output. 2nd function has no use instead i was testing the result of First Function like thisIf you just want to select from a select, you should use a view not a function.
    1. which program is more help ful for writing and executing queries bcoz after using Query Analyzer of Microsoft It seems difficult to work on SQL Developer.
    sqlplus? If you are having difficulty learning new tools because of an old one you used, probably best to forget the old one and concentrate on learning the new one because it will be different. This goes for the database itself also.
    2. Can DMLs be used within a Function.Yes, you just can't execute the function in another SQL statement if it modifies data and this is a good thing.
    3. Can temporary tables be used within a function.Unfortunately yes, but they shouldn't be unless you are in a slowest application competition.
    5. Each Function which is a Table Function must be accompanied with Type Definitions?? its a bit longer way of doing the things than SQL ServerThat is why it is better to use views instead, is there any reason you want a select that you can select from inside a function?
    SQL Server for last 9 years thats why i refer this toolThat is not in itself a problem, if you try and do what you did in SQLServer in Oracle, that will be a problem though.

  • Oracle 11g EM error after installation

    Hi dears
    I installed ORacle 11g on Windows. installation comipleted successfully, but I got an error at the end of the installation that:
    "Enterprise Manager configuration failed due to the following error -
    Error starting Databae Control
    Refer to the log file at c:\..... for more details
    You can retry configuring this database with Enterprise Manager later by manually running c:\..... "
    What might be reason of this error? I and my friend installed 11gR1 on windows many times, and each time we got this error
    any help will be appreciated
    thank you

    As requested already, post the log file. One thing, you need to ensure that you don't have the DHCP based system but would have a static IP for the machine otherwise you must install a loopback adaptor for the machine before you would configure the EM again. This may not be the error for your EM's failed installation but this is one of the prominent reasons for sure for the failure.
    HTH
    Aman....

  • SQL performance slow -- oracle 10g to oracle 11g

    Hi,
    We are have two development server, here we can call server10 and server11.
    Server’s having same hardware and OS, but different oracle version, server 10 and server 11 having oracle 10g and oracle 11g respectively.
    Problem, when you run sql query in oracle 11g it’s very slow compare to oracle 10g server.
    Here I have checked
    1)     sga size – comparatively 11g size is big
    2)     no full table scan
    OS – SUN
    DB: 11.1.0.7.0, 10.2.0.4.0

    mmee wrote:
    Hi,
    We are have two development server, here we can call server10 and server11.
    Server’s having same hardware and OS, but different oracle version, server 10 and server 11 having oracle 10g and oracle 11g respectively.
    Problem, when you run sql query in oracle 11g it’s very slow compare to oracle 10g server.
    Here I have checked
    1)     sga size – comparatively 11g size is big
    2)     no full table scan
    OS – SUN
    DB: 11.1.0.7.0, 10.2.0.4.0If the query is running slow, the sga size should not be the first thing to check. PLease post the execution plans of the queries from both the servers. Please try to post the tkprof output of the trace of both. The reason for this that explain plan may lie to us about what has happened but trace would be the real picture only.
    HTH
    Aman....
    PS: Don't forget to use the code tag and using the Preview tab to see how the code looks. A better formatted post would most likely get better attention and response.

  • Not able to connect in Oracle 11g

    I have done the installation of oracle 11g...when i am using sql command line to connect i am getting an error "oracle initialization or shutdown in progress" what to do??
    I have provided the username as 'system' and password as the one providede during installation.Plzz help.

    Kumar_Jaga wrote:
    It may be the case, the database did not stop correctly.
    Or it could be that the shutdown is still in progress.  Perhaps rolling back uncommited transactions.  There simply isn't enough information to make an informed suggestion.
    Try out following.
    sql:> sqlplus /nolog
    sql> connect sys/manager as sysdba
    The 'as sysdba' makes the 'sys/manager' pointless.  You could just as well 'connect fubar/thisisnotmypassword as sysdba'.
    sql>shutdown immediate
    And if the previous shutdown did not work or is waiting on something, this one surely will not succeed.
    sql> startup
    sql> exit
    While startup it may show error message like some of the parameter is missing. Note down that parameter and update in initSID.ora file.
    Unless of course he's not using initSID.  Most databases don't, anymore.

  • SQL PLUSW.EXE Not Supported on oracle 11G

    I installed Oracle 11G and am not able to connect the GUI SQL Plus. When SQLPlus.exe is
    executed, it brings me to a DOS based version of SQL Plus. Is there a way I can get the
    GUI verison installed with 11G?
    i ve installed Oracle Database 11g Release 1 Client (11.1.0.6.0)
    for Microsoft Windows (32-bit)
    but it gives me the same DOS based version
    In which version i ve to download to get GUI sql Plus on oracle 11G?

    user613197 wrote:
    I installed Oracle 11G and am not able to connect the GUI SQL Plus. When SQLPlus.exe is
    executed, it brings me to a DOS based version of SQL Plus. Is there a way I can get the
    GUI verison installed with 11G?
    i ve installed Oracle Database 11g Release 1 Client (11.1.0.6.0)
    for Microsoft Windows (32-bit)
    but it gives me the same DOS based version
    In which version i ve to download to get GUI sql Plus on oracle 11G?Do you mean internet based Sql*PLus?
    For this, you need to start the service (and you should be installed 11g Database, not client) as follows:
    isqlplusctl startThen using port number from $ORACLE_HOME/install/portlist.ini connect to GUI interface of SQL*Plus

  • How to configure debug mode in Oracle 11g ?

    I am making Oracle Argus system based on Oracle 11g DB.
    I heard there is debugging mode in Oracle DB to investigate trouble.
    How to configure debug mode in Oracle 11g ?

    Are you talking about oradebug:
    SQL> oradebug setmypid
    SQL> oradebug unlimit
    SQL> oradebug dump systemstate 266
    SQL> oradebug dump systemstate 266
    SQL> oradebug -g all hanganalyze 3 ---> g is for RAC database instances
    Thanks,
    http://gssdba.wordpress.com

Maybe you are looking for

  • Do I need to take my Apple TV for service?

    I have the 3rd Gen Apple TV and have had it since the launch date. Probably 1/3 of the time when I turn the device on, I get the green screen, which is really frustrating. Normally after unplugging the device and plugging in again, it works fine -- b

  • {no subject}

    HI , I am using Iplanet Migration ToolBox -1.2.1-kivabeta . I am a new user and when I tried to migrate sample application , I am getting following error (during migration of NetDynamics DataObjects). I went thru the docs and did exactly what it said

  • Open java files in Jdeveloper

    Hi, Good day I have a question about OAF under Oracle ERP version 11.10.5.2 I have some web pages working fine, and I can see the code in the server (in the custom application folder under java). How can I open them in my client? If I open them in th

  • PutClientProperty("JTree.lineStyle", "Angled") in JDK 1.4.2

    In 1.4.2 the look of the tree has been updated to remove the ---- line handles on the tree by default. I would like to continue displaying those as they appeared in earlier versions without using the older classic windows look and feel for the rest o

  • Volume Changes From Track to Track

    Hello Everyone, I am annoyed that songs on my iTV change volume drastically from track to track. I can adjust the volume on loud tracks in iTunes but the adjustment is not carrying over to the songs that sync to iTV. Does anyone know if there is a wa