Oracle 9i on xp pro

Hi,
oracle 9i installation stopped at the end with following error
Faulting application javaw.exe, version 0.0.0.0, faulting module jvm.dll, version 0.0.0.0, fault address 0x0000d95e.
I don't see any oracle logs for instal. How to remove the partial install ?
-suresh

I am getting following error in the installation logs
Ignoring Exception during de-installjava.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
     at java.lang.String.substring(Unknown Source)
     at clusterRegister.finalCluster(clusterRegister.java:92)
     at finalClusterSetup.deinstallAction(finalClusterSetup.java:79)
     at oracle.sysman.oii.oiic.OiicInstallActionsPhase.loopOverDeinstalls(OiicInstallActionsPhase.java:1540)
     at oracle.sysman.oii.oiic.OiicInstallActionsPhase.doDeinstalls(OiicInstallActionsPhase.java:1008)
     at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiInstRun.run(OiicInstallActionsPhase.java:2892)
     at java.lang.Thread.run(Unknown Source)

Similar Messages

  • Oracle 8i lite and Pro C

    Is Oracle 8i Lite Support Pro C ? if yes how to install Pro C with Oracle 8i Lite ? Is Pro C come along with 8i Lite CD ? or it has to be purchased ?

    Hi,
    I am qouting below from the oracle 8i Lite documentation which says it supports triggers . Please clarify.
    Oracle Lite DBMS
    Oracle Lite DBMS is a lightweight (50KB - 750KB), Java enabled database designed from the ground up for laptops, handheld computers, PDAs and smartphones. It supports industry standard ODBC, JDBC, SQLJ, and Java Stored Procedures and Triggers. It provides a streaming fast "C" interface, OKAPI, to its object kernel. It also supports Java Access Classes, JAC, a fast and easy way to make Java Objects persistent. Oracle Lite DBMS now supports all popular mobile platforms, including Palm OS, EPOC, and Windows CE, letting you deploy enterprise applications on virtually any mobile device.
    Regards
    null

  • Oracle 8i for XP Pro

    Having problems with Oracle 8i install - XP pro.
    Are there anyone with this problem? Is it possible to install
    8i in XP-pro? Need to install for class.
    Thanks,
    [email protected]

    im having the same trouble, cant get the dumb thing to work either. even the instructor is up the creek without a paddle.

  • Oracle 8.1.7 Pro*C on Windows XP Problems

    Two years ago I had Pro*C, (Oracle 8.1.7), running on NT v 4.0 service pack 5. I used the cl.exe compiler successfuly and gcc, (2.95 I think). This time I have installed Oracle 8.1.7 client on Windows XP Professional and none of the programs work. If I try to run code built on this platform with the make files and code that worked 2 years ago the programs crash. I am stumped. Can anybody help me or point me to some documentation.
    Martyn

    Tom,
    Thanks for replying.
    I don't see what I can compile. The initial program I am trying to compile is very simple it has a connect statement followed by the definition of a cursor, the cursor is opened and the fetch is performed. The program crashes on performing the open of the cursor. It seems to me that Pro*C is producing C output that the comipilers, (cl.exe in the visual studio .Net IDE, or mingw gcc for win32), cannot turn into runnable code on the Windows XP Professional platform. Pro*C is not open source code so I cannot recompile that, Microsoft cl.exe is most definately not open source. gcc is open source and I suppose I could recompile that but surely the mingw win32 compiler should work as it is standard and widely used. Anyway the output of both the compilers fails. Maybe I will compile gcc for my installation but it seems to me like Pro*C is probably the culprit here and trying to run the Oracle 8.1.7 version on XP may not be possible. I posted here in case this is a known problem.
    Another thought has just occured to me that maybe I should try running a 10g or 9i version of Pro*C on the 8.1.7 installation. How would I get this? Would I have to install the whole installations to get the binary?
    Martyn

  • Linux 6.1/Oracle 8.1.5 Pro C compilation core dumps

    Linux installation did not place stdarg.h or stddef.h in the /usr/include directory for some reaon. I located different copies in other directories and have created symobolic links to them all in the end. BUT all result in the following error when I attempt to make sample1.pc in $ORACLE_HOME/precomp/demo/proc. Has anyone got any ideas how I can fix this problem.
    Yours hopefully Kev
    make -f demo_proc.mk sample1
    gmake -f /oracle/app/oracle/product/8.1.5/precomp/demo/proc/demo_proc.mk
    OBJS=sample1.o EXE=sample1 build
    gmake[1]: Entering directory `/oracle/app/oracle/product/8.1.5/precomp/demo/proc'
    proc iname=sample1
    Pro*C/C++: Release 8.1.5.0.0 - Production on Sun Jan 9 17:02:05 2000
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    System default option values taken from:
    /oracle/app/oracle/product/8.1.5/precomp/admin/pcscfg.cfg
    gmake[1]: *** [sample1.o] Segmentation fault (core dumped)
    gmake[1]: Leaving directory `/oracle/app/oracle/product/8.1.5/precomp/demo/proc'
    make: *** [sample1] Error 2
    null

    Thanks for your input. But having investiagted further I have made progress.
    On one of the FAQ docs listed throughout the Linux Forum I found an example of what should be in the pcscfg.cfg file. Once this was in place I then had, /usr/bin/ld cannot find -laio (or the file /usr/lib/libaio.a). To get a clean(ish) compile, I created a symbolic link from libc.a to libaio.a which is crude but was effective. I had a working Pro C exe.
    I understand that the second patch solves the libaio.a prob as well as others. But a colleague has installed it and had to regress it, due to more damaging problems he listed but I cannot recall at this time.
    Thanks again.

  • Oracle BRM / Win 7 Pro x64 / PIN_ERR_DM_CONNECT_FAILED:26

    Hello all
    I'm trying to install Oracle BRM but when running pin_setup.bat I have the output below.
    I tried on Win 7 Pro x64 and on Windows XP Pro.
    I also tried to see if there were any connection attempt when the errors "pcmdd: bad connect for PCWORK, errno 9" is shown, using Wireshark, but it seems that there is no connection attempt when this message is printed to the output.
    As the error is exactly the same on Win 7 Pro and Win XP Pro, I think that this is not an operating system problem.
    Do you know what I am doing wrong ?
    Thanks
    pin_setup.bat output :_
    #===========================================================
    # Installation started at Mon Sep 5 21:04:15 2011.
    #===========================================================
    cm: Generating pin.conf file
    pin.conf is generated under C:/BRM/Portal/sys/cm/pin.conf
    pin.conf is generated under C:/BRM/Portal/apps/pin_remit/pin.conf
    dm_oracle: Generating pin.conf file
    pin.conf is generated under C:/BRM/Portal/setup/scripts/pin.conf
    pin.conf is generated under C:/BRM/Portal/sys/dm_oracle/pin.conf
    dm_oracle: Configuring database
    Creating Portal tablespaces ... this may take a few minutes
    Creating main tablespace 'pin00'
    Creating index tablespace 'pinx00'
    Creating temporary tablespace 'PINTEMP'
    Creating 'pin' user
    Granting 'pin' correct permissions
    Altering 'pin' user default tablespace
    Altering 'pin' user temporary tablespace
    Finished creating the Portal tablespaces
    Continuing to Configure the database
    Execute SQL statement from file C:/BRM/Portal/sys/dm_oracle/data/create_dd_UTF8.
    source
    Loading objects from file
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    pcmdd: bad connect for PCWORK, errno 9
    errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UN
    KNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    *** Error: Unable to update the Portal Base database.
    Exiting from the install without finishing successfully.
    Please check for errors in C:/BRM/Portal/setup/pin_setup.log
    and then rerun this program.
    Press enter to continue
    content of pin_setup.log_
    #===========================================================
    # Log for installation started at Mon Sep 5 21:04:15 2011.
    #===========================================================
    cm: Generating pin.conf file
    pin.conf is generated under C:/BRM/Portal/sys/cm/pin.conf
    pin.conf is generated under C:/BRM/Portal/apps/pin_remit/pin.conf
    dm_oracle: Generating pin.conf file
    pin.conf is generated under C:/BRM/Portal/setup/scripts/pin.conf
    pin.conf is generated under C:/BRM/Portal/sys/dm_oracle/pin.conf
    dm_oracle: Configuring database
    #--- Executing SQL statement:
    set heading off;
    set feedback off;
    select FILE_NAME from dba_data_files where TABLESPACE_NAME = 'SYSTEM';
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
    #--- Executing SQL statement:
    create tablespace pin00 datafile 'C:/ORACLE/PRODUCT/10.2.0/ORADATA/ORCL/pin00.dbf' size 600M reuse autoextend on next 100M extent management local segment space management manual;
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    Tablespace created.
    #--- Executing SQL statement:
    create tablespace pinx00 datafile 'C:/ORACLE/PRODUCT/10.2.0/ORADATA/ORCL/pinx00.dbf' size 400M reuse autoextend on next 100M extent management local segment space management manual;
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    Tablespace created.
    #--- Executing SQL statement:
    create tablespace PINTEMP datafile 'C:/ORACLE/PRODUCT/10.2.0/ORADATA/ORCL/PINTEMP.dbf' size 100M reuse autoextend on next 100M extent management local segment space management manual;
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    Tablespace created.
    #--- Executing SQL statement:
    create user pin identified by pin;
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    User created.
    #--- Executing SQL statement:
    grant resource, connect to pin;
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    Grant succeeded.
    #--- Executing SQL statement:
    alter user pin default tablespace pin00;
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    User altered.
    #--- Executing SQL statement:
    set heading off;
    set feedback off;
    select FILE_NAME from dba_data_files where TABLESPACE_NAME = 'SYSTEM';
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
    #--- Executing SQL statement:
    --     @(#)%Portal Version: create_dd.source:BillingVelocityInt:4:2006-Sep-14 18:49:48 %
    -- Copyright (c) 1996 - 2006 Oracle. All rights reserved.
    -- This material is the confidential property of Oracle Corporation or its
    -- licensors and may be used, reproduced, stored or transmitted only in
    -- accordance with a valid Oracle license or sublicense agreement.
    -- Create sequences
    create sequence obj_ids start with 1000;
    create sequence poid_ids2 start with 10000;
    -- /dd/fields ARRAY PIN_FLD_FIELD
    create table dd_fields_t (
         obj_id0               int,
         rec_id               int,
         field_name          varchar2(255),     -- PIN_FLD_FIELD_NAME
         field_num          int,          -- PIN_FLD_FIELD_NUM
         field_type          int,          -- PIN_FLD_FIELD_TYPE
         descr               varchar2(1023),     -- PIN_FLD_DESCR
         status               int          -- PIN_FLD_DESCR
    ) tablespace pin00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 ) ;
    -- /dd/objects ARRAY PIN_FLD_OBJ_DESC
    create table dd_objects_t (
         obj_id0               int,
         name               varchar2(255),     -- PIN_FLD_NAME
         mod_t               number,          -- PIN_FLD_MOD_T
         state               int,          -- PIN_FLD_STATE
         permission          int,          -- PIN_FLD_PERMISSION
         label               varchar2(255),     -- PIN_FLD_LABEL
         descr               varchar2(1023),     -- PIN_FLD_DESCR
         sm_info               varchar2(1023),     -- PIN_FLD_SM_INFO
         seq_start          int,          -- PIN_FLD_SEQ_START
         read_access          varchar2(1),     -- PIN_FLD_READ_ACCESS
         write_access          varchar2(1),     -- PIN_FLD_WRITE_ACCESS
         create_access          varchar2(1),     -- PIN_FLD_CREATE_ACCESS
         audit_flag          int,          -- PIN_FLD_AUDIT_FLAG
         audit_scheme          int,          -- PIN_FLD_AUDIT_SCHEME
         au_sm_info          varchar2(1023),     -- PIN_FLD_AU_SM_INFO
         is_partitioned          int,          -- PIN_FLD_IS_PARTITIONED
         partition_mode int, -- PIN_FLD_PARTITION_MODE
         residency_type int -- PIN_FLD_RESIDENCY_TYPE
    ) tablespace pin00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 ) ;
    -- /dd/objects ARRAY PIN_FLD_OBJ_ELEM
    create table dd_objects_fields_t (
         obj_id0               int,
         rec_id               int,
         parent_element_id     int,          -- PIN_FLD_PARENT_ELEMENT_ID
         field_name          varchar2(255),     -- PIN_FLD_FIELD_NAME
         field_type          int,          -- PIN_FLD_FIELD_TYPE
         label               varchar2(255),     -- PIN_FLD_LABEL
         descr               varchar2(1023),     -- PIN_FLD_DESCR
         state               int,          -- PIN_FLD_STATE
         permission          int,          -- PIN_FLD_PERMISSION
         field_order          int,          -- PIN_FLD_ORDER
         length               int,          -- PIN_FLD_LENGTH
         sm_item_name          varchar2(255),     -- PIN_FLD_SM_ITEM_NAME
         sm_item_vw_name          varchar2(255),     -- PIN_FLD_SM_ITEM_VW_NAME
         sm_info               varchar2(1023),     -- PIN_FLD_SM_INFO
         auditable          int,          -- PIN_FLD_AUDIT
         queryable_on_audit     int,          -- PIN_FLD_QUERYABLE_ON_AUDIT
         ignore_on_audit          int,          -- PIN_FLD_IGNORE_ON_AUDIT
         encryptable          int,          -- PIN_FLD_ENCRYPT
         serializable          int          -- PIN_FLD_SERIALIZABLE
    ) tablespace pin00 storage (initial 200k next 200k maxextents unlimited pctincrease 0 ) ;
    -- New table for storing encrypted-Aes keys
    -- cryptkey_t
    create table cryptkey_t (
         crypt_scheme           varchar2(10),     -- to store scheme name
         crypt_key_id           int,          -- to store key_id
         crypt_key           varchar2(255)     -- to store actual key
    ) tablespace pin00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 ) ;
    -- New table for storing the converted table information
    create table aes_crypt_details_t (
    table_name varchar2(32),
    field_name varchar2(32),
    old_size int,
    new_size int
    ) tablespace pin00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 ) ;
    -- /dd
    create unique index i_dd_objects__id on dd_objects_t ( obj_id0 )
         tablespace pinx00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 );
    create unique index i_dd_objects_fields__id on dd_objects_fields_t ( obj_id0, rec_id, parent_element_id, field_name)
         tablespace pinx00 storage (initial 200k next 200k maxextents unlimited pctincrease 0 );
    create unique index i_dd_fields__id on dd_fields_t ( obj_id0, rec_id )
         tablespace pinx00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 );
    -- crypt
    create unique index i_cryptkey__scheme on cryptkey_t ( crypt_scheme, crypt_key_id )
         tablespace pinx00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 );
    create unique index i_aes_crypt_details__dtls on aes_crypt_details_t ( table_name, field_name )
         tablespace pinx00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 );
    #------------- SQL Results:
    Executing sqlplus -s pin/pin@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    Sequence created.
    Sequence created.
    Table created.
    Table created.
    Table created.
    Table created.
    Table created.
    Index created.
    Index created.
    Index created.
    Index created.
    Index created.
    EBUF: errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UNKNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    #===========================================================
    # Log for installation started at Mon Sep 5 21:13:05 2011.
    #===========================================================
    cm: Generating pin.conf file
    pin.conf is generated under C:/BRM/Portal/sys/cm/pin.conf
    pin.conf is generated under C:/BRM/Portal/apps/pin_remit/pin.conf
    dm_oracle: Generating pin.conf file
    pin.conf is generated under C:/BRM/Portal/setup/scripts/pin.conf
    pin.conf is generated under C:/BRM/Portal/sys/dm_oracle/pin.conf
    dm_oracle: Configuring database
    #--- Executing SQL statement:
    set heading off;
    set feedback off;
    select FILE_NAME from dba_data_files where TABLESPACE_NAME = 'SYSTEM';
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
    #--- Executing SQL statement:
    create tablespace pin00 datafile 'C:/ORACLE/PRODUCT/10.2.0/ORADATA/ORCL/pin00.dbf' size 600M reuse autoextend on next 100M extent management local segment space management manual;
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    create tablespace pin00 datafile 'C:/ORACLE/PRODUCT/10.2.0/ORADATA/ORCL/pin00.dbf' size 600M reuse autoextend on next 100M extent management local segment space management manual
    ERROR at line 1:
    ORA-01543: tablespace 'PIN00' already exists
    #--- Executing SQL statement:
    create tablespace pinx00 datafile 'C:/ORACLE/PRODUCT/10.2.0/ORADATA/ORCL/pinx00.dbf' size 400M reuse autoextend on next 100M extent management local segment space management manual;
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    create tablespace pinx00 datafile 'C:/ORACLE/PRODUCT/10.2.0/ORADATA/ORCL/pinx00.dbf' size 400M reuse autoextend on next 100M extent management local segment space management manual
    ERROR at line 1:
    ORA-01543: tablespace 'PINX00' already exists
    #--- Executing SQL statement:
    create tablespace PINTEMP datafile 'C:/ORACLE/PRODUCT/10.2.0/ORADATA/ORCL/PINTEMP.dbf' size 100M reuse autoextend on next 100M extent management local segment space management manual;
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    create tablespace PINTEMP datafile 'C:/ORACLE/PRODUCT/10.2.0/ORADATA/ORCL/PINTEMP.dbf' size 100M reuse autoextend on next 100M extent management local segment space management manual
    ERROR at line 1:
    ORA-01543: tablespace 'PINTEMP' already exists
    #--- Executing SQL statement:
    create user pin identified by pin;
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    create user pin identified by pin
    ERROR at line 1:
    ORA-01920: user name 'PIN' conflicts with another user or role name
    #--- Executing SQL statement:
    grant resource, connect to pin;
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    Grant succeeded.
    #--- Executing SQL statement:
    alter user pin default tablespace pin00;
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    User altered.
    #--- Executing SQL statement:
    set heading off;
    set feedback off;
    select FILE_NAME from dba_data_files where TABLESPACE_NAME = 'SYSTEM';
    #------------- SQL Results:
    Executing sqlplus -s system/oracle@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
    #--- Executing SQL statement:
    -- Copyright (c) 1996 - 2006 Oracle. All rights reserved.
    -- This material is the confidential property of Oracle Corporation or its
    -- licensors and may be used, reproduced, stored or transmitted only in
    -- accordance with a valid Oracle license or sublicense agreement.
    -- sql file to drop Infranet Snapshots;
    set serveroutput on;
    DECLARE
         tname     varchar2(40);
         tcount     number;
         cid     int;
    BEGIN
         select count(*) into tcount from user_tables where table_name like
              'DD_OBJECTS_FIELDS_T';     
         if tcount = 0 then
              cid := DBMS_SQL.OPEN_CURSOR;
              DBMS_SQL.PARSE (cid,
                   'CREATE TABLE DD_OBJECTS_FIELDS_T ' ||
                   '(PARENT_ELEMENT_ID int, SM_ITEM_NAME VARCHAR2(255))',
                   dbms_sql.v7);
              DBMS_SQL.CLOSE_CURSOR(cid);
         end if;
    END;
    -- DROP THE SNAPSHOT LOGS
    DECLARE
         cursor c1 is
         SELECT distinct master
         FROM dd_objects_fields_t, USER_SNAPSHOTS where
         UPPER(sm_item_name ) like '%' || master || '%';
         cursor c2 is
         SELECT distinct master
         FROM dd_objects_fields_t, USER_SNAPSHOT_LOGS where
         UPPER(sm_item_name ) like '%' || master || '%';
         tname      c1%ROWTYPE;
         lname      c2%ROWTYPE;
         t_name      varchar2(255);
         l_name      varchar2(255);
         snapshot_count     number(38) := 0;
         cid          int :=0;
    BEGIN
    --     drop existing multi-dB snapshot LOGS
         FOR lname in c2
         LOOP
              dbms_output.enable(10000);
              dbms_output.put_line(lname.master);
              l_name := lname.master;
              select count(*) into snapshot_count from
              user_snapshot_LOGS where master LIKE '%' || UPPER(l_name) || '%';
              if snapshot_count > 0 then
                   dbms_output.put_line('dropping SNAPSHOT LOG on ' ||
                        l_name || '...');
                   cid := DBMS_SQL.OPEN_CURSOR;
                   DBMS_SQL.PARSE (cid,
                        'DROP SNAPSHOT LOG ON ' ||
                        l_name,
                        dbms_sql.v7);
                   DBMS_SQL.CLOSE_CURSOR(cid);
              else
                   dbms_output.put_line('No snapshot logs Found');
              end if;
         END LOOP;
    --     drop existing multi-dB snapshots
         FOR tname in c1
         LOOP
              dbms_output.enable(10000);
              dbms_output.put_line(tname.master);
              t_name := tname.master;
              select count(*) into snapshot_count from
              user_snapshots where master LIKE '%' || UPPER(t_name) || '%';
              if snapshot_count > 0 then
                   dbms_output.put_line('dropping SNAPSHOT ' ||
                        t_name || '...');
                   cid := DBMS_SQL.OPEN_CURSOR;
                   DBMS_SQL.PARSE (cid,
                        'DROP SNAPSHOT ' ||
                        t_name,
                        dbms_sql.v7);
                   DBMS_SQL.CLOSE_CURSOR(cid);
              else
                   dbms_output.put_line('No snapshots Found');
              end if;
         END LOOP;
    END;
    DECLARE
         tcount     number;
         cid     int;
    BEGIN
         select count(*) into tcount from user_tab_columns where table_name like
              'DD_OBJECTS_FIELDS_T';     
         if tcount = 2 then
              cid := DBMS_SQL.OPEN_CURSOR;
              DBMS_SQL.PARSE (cid,
                   'DROP TABLE DD_OBJECTS_FIELDS_T ',
                   dbms_sql.v7);
              DBMS_SQL.CLOSE_CURSOR(cid);
         end if;
    END;
    #------------- SQL Results:
    Executing sqlplus -s pin/pin@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    #--- Executing SQL statement:
    --     Copyright (c) 2007 Oracle. All rights reserved.
    --     This material is the confidential property of Oracle Corporation or its
    --     licensors and may be used, reproduced, stored or transmitted only in
    --     accordance with a valid Oracle license or sublicense agreement.
    --     This file has been generated automatically at build time
    --     from object specifications on Wed Sep 12 13:10:56 2007.
    --     USE THIS FILE WITH CAUTION: NOT FOR USE IN PRODUCTION ENVIRONMENTS
    declare
    cursor c1 is select sm_item_name from dd_objects_fields_t where sm_item_name not like ':%';
    tname c1%ROWTYPE;
    cid int;
    cnt int;
    thename varchar(80);
    begin
    for tname in c1
    loop
    cid := DBMS_SQL.OPEN_CURSOR;
    if tname.sm_item_name not like 'C%' then
    select count(*) into cnt from user_tables where table_name = upper(tname.sm_item_name);
    if (cnt > 0) then
    DBMS_SQL.PARSE(cid, 'DROP TABLE ' || tname.sm_item_name, dbms_sql.v7);
    end if;
    else
    cnt := instr(tname.sm_item_name, 'T=');
    thename := substr(tname.sm_item_name, cnt + 2);
    select count(*) into cnt from user_tables where table_name = upper(thename);
    if (cnt > 0) then
    DBMS_SQL.PARSE(cid, 'DROP TABLE ' || thename, dbms_sql.v7);
    end if;
    end if;
    DBMS_SQL.CLOSE_CURSOR(cid);
    end loop;
    end;
    drop table dd_objects_t;
    drop table dd_objects_fields_t;
    drop table dd_fields_t;
    drop sequence obj_ids;
    drop sequence poid_ids2;
    drop table cryptkey_t;
    drop table aes_crypt_details_t;
    drop synonym event_v;
    drop synonym event_bal_impacts_v;
    drop synonym event_total_v;
    drop synonym event_tax_jurisdictions_v;
    #------------- SQL Results:
    Executing sqlplus -s pin/pin@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    PL/SQL procedure successfully completed.
    Table dropped.
    Table dropped.
    Table dropped.
    Sequence dropped.
    Sequence dropped.
    Table dropped.
    Table dropped.
    drop synonym event_v
    ERROR at line 1:
    ORA-01434: private synonym to be dropped does not exist
    drop synonym event_bal_impacts_v
    ERROR at line 1:
    ORA-01434: private synonym to be dropped does not exist
    drop synonym event_total_v
    ERROR at line 1:
    ORA-01434: private synonym to be dropped does not exist
    drop synonym event_tax_jurisdictions_v
    ERROR at line 1:
    ORA-01434: private synonym to be dropped does not exist
    #--- Executing SQL statement:
    drop package PIN_PARTITION;
    #------------- SQL Results:
    Executing sqlplus -s pin/pin@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    drop package PIN_PARTITION
    ERROR at line 1:
    ORA-04043: object PIN_PARTITION does not exist
    #--- Executing SQL statement:
    --     @(#)%Portal Version: create_dd.source:BillingVelocityInt:4:2006-Sep-14 18:49:48 %
    -- Copyright (c) 1996 - 2006 Oracle. All rights reserved.
    -- This material is the confidential property of Oracle Corporation or its
    -- licensors and may be used, reproduced, stored or transmitted only in
    -- accordance with a valid Oracle license or sublicense agreement.
    -- Create sequences
    create sequence obj_ids start with 1000;
    create sequence poid_ids2 start with 10000;
    -- /dd/fields ARRAY PIN_FLD_FIELD
    create table dd_fields_t (
         obj_id0               int,
         rec_id               int,
         field_name          varchar2(255),     -- PIN_FLD_FIELD_NAME
         field_num          int,          -- PIN_FLD_FIELD_NUM
         field_type          int,          -- PIN_FLD_FIELD_TYPE
         descr               varchar2(1023),     -- PIN_FLD_DESCR
         status               int          -- PIN_FLD_DESCR
    ) tablespace pin00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 ) ;
    -- /dd/objects ARRAY PIN_FLD_OBJ_DESC
    create table dd_objects_t (
         obj_id0               int,
         name               varchar2(255),     -- PIN_FLD_NAME
         mod_t               number,          -- PIN_FLD_MOD_T
         state               int,          -- PIN_FLD_STATE
         permission          int,          -- PIN_FLD_PERMISSION
         label               varchar2(255),     -- PIN_FLD_LABEL
         descr               varchar2(1023),     -- PIN_FLD_DESCR
         sm_info               varchar2(1023),     -- PIN_FLD_SM_INFO
         seq_start          int,          -- PIN_FLD_SEQ_START
         read_access          varchar2(1),     -- PIN_FLD_READ_ACCESS
         write_access          varchar2(1),     -- PIN_FLD_WRITE_ACCESS
         create_access          varchar2(1),     -- PIN_FLD_CREATE_ACCESS
         audit_flag          int,          -- PIN_FLD_AUDIT_FLAG
         audit_scheme          int,          -- PIN_FLD_AUDIT_SCHEME
         au_sm_info          varchar2(1023),     -- PIN_FLD_AU_SM_INFO
         is_partitioned          int,          -- PIN_FLD_IS_PARTITIONED
         partition_mode int, -- PIN_FLD_PARTITION_MODE
         residency_type int -- PIN_FLD_RESIDENCY_TYPE
    ) tablespace pin00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 ) ;
    -- /dd/objects ARRAY PIN_FLD_OBJ_ELEM
    create table dd_objects_fields_t (
         obj_id0               int,
         rec_id               int,
         parent_element_id     int,          -- PIN_FLD_PARENT_ELEMENT_ID
         field_name          varchar2(255),     -- PIN_FLD_FIELD_NAME
         field_type          int,          -- PIN_FLD_FIELD_TYPE
         label               varchar2(255),     -- PIN_FLD_LABEL
         descr               varchar2(1023),     -- PIN_FLD_DESCR
         state               int,          -- PIN_FLD_STATE
         permission          int,          -- PIN_FLD_PERMISSION
         field_order          int,          -- PIN_FLD_ORDER
         length               int,          -- PIN_FLD_LENGTH
         sm_item_name          varchar2(255),     -- PIN_FLD_SM_ITEM_NAME
         sm_item_vw_name          varchar2(255),     -- PIN_FLD_SM_ITEM_VW_NAME
         sm_info               varchar2(1023),     -- PIN_FLD_SM_INFO
         auditable          int,          -- PIN_FLD_AUDIT
         queryable_on_audit     int,          -- PIN_FLD_QUERYABLE_ON_AUDIT
         ignore_on_audit          int,          -- PIN_FLD_IGNORE_ON_AUDIT
         encryptable          int,          -- PIN_FLD_ENCRYPT
         serializable          int          -- PIN_FLD_SERIALIZABLE
    ) tablespace pin00 storage (initial 200k next 200k maxextents unlimited pctincrease 0 ) ;
    -- New table for storing encrypted-Aes keys
    -- cryptkey_t
    create table cryptkey_t (
         crypt_scheme           varchar2(10),     -- to store scheme name
         crypt_key_id           int,          -- to store key_id
         crypt_key           varchar2(255)     -- to store actual key
    ) tablespace pin00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 ) ;
    -- New table for storing the converted table information
    create table aes_crypt_details_t (
    table_name varchar2(32),
    field_name varchar2(32),
    old_size int,
    new_size int
    ) tablespace pin00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 ) ;
    -- /dd
    create unique index i_dd_objects__id on dd_objects_t ( obj_id0 )
         tablespace pinx00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 );
    create unique index i_dd_objects_fields__id on dd_objects_fields_t ( obj_id0, rec_id, parent_element_id, field_name)
         tablespace pinx00 storage (initial 200k next 200k maxextents unlimited pctincrease 0 );
    create unique index i_dd_fields__id on dd_fields_t ( obj_id0, rec_id )
         tablespace pinx00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 );
    -- crypt
    create unique index i_cryptkey__scheme on cryptkey_t ( crypt_scheme, crypt_key_id )
         tablespace pinx00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 );
    create unique index i_aes_crypt_details__dtls on aes_crypt_details_t ( table_name, field_name )
         tablespace pinx00 storage (initial 100k next 100k maxextents unlimited pctincrease 0 );
    #------------- SQL Results:
    Executing sqlplus -s pin/pin@ORCL < "C:/BRM/Portal/tmp/tmp.sql"
    Sequence created.
    Sequence created.
    Table created.
    Table created.
    Table created.
    Table created.
    Table created.
    Index created.
    Index created.
    Index created.
    Index created.
    Index created.
    EBUF: errno=<PIN_ERR_DM_CONNECT_FAILED:26> location=<Unknown pin location:0> class=<UNKNOWN:0> field num=<0:0,0> recid=<0> reserved=<9>
    Edited by: oracledigger on 5 sept. 2011 10:32

    I have checked the services (in services.msc) and I started the following ones :
    - Portal Base Connection Manager
    - Portal Base Oracle Data Manager
    All other services cannot be started (Error 1067).
    Anyway After starting these 2 services I have launched pin_setup.bat again and now the error is :
    *** Error: Unable to update the Portal Base database.
    Exiting from the install without finishing successfully.
    Please check for errors in C:/BRM/Portal/setup/pin_setup.log
    and then rerun this program.
    In dm_oracle.pinlog There is the following output :
    D 09/05/11 21:56:32 - dm:6360.4176 ../dm_oracle_stmt_cache.c:502 1:PCWORK:dm:6360:4176:0:1315245251:0
         PINStmtPrepare: SQL Statement = select value from sys.nls_database_parameters where parameter='NLS_CHARACTERSET'
         audsession-id: 30162; Statement-id: 42905160;
    D 09/05/11 21:56:32 - dm:6360.4176 ../dm_oracle_stmt_cache.c:513 1:PCWORK:dm:6360:4176:0:1315245251:0
         audsession-id: 30162; Statement-id: 42905160; Time taken by OCIStmtPrepare = 0.000000 milliseconds
    D 09/05/11 21:56:32 - dm:6360.4176 dm_if_oracle.c(110):625 1:PCWORK:dm:6360:4176:0:1315245251:0
         audsession-id: 30162; Statement-id: 42905160; Time taken by OCIStmtExecute = 0.000000 milliseconds
    E 09/05/11 21:56:32 - dm:6360.4176 dm_if_oracle.c(110):2368 1:PCWORK:dm:6360:4176:0:1315245251:0
         Invalid characterset AL32UTF8 for ORACLE database "ORCL"
    W 09/05/11 21:56:32 - dm:6360.4176 dm_if_oracle.c(110):3288 1:PCWORK:dm:6360:4176:0:1315245251:0
         dm_oracle_create_logins: failed to connect to database. It will try again after 10 seconds.
    E 09/05/11 21:56:42 - dm:6360.4176 dm_if_oracle.c(110):3308 1:PCWORK:dm:6360:4176:0:1315245251:0
         dm_oracle_create_logins: failed to create connection 1
    D 09/05/11 21:56:42 - dm:6360.4176 pcm_tbls.c(21):313 1:PCWORK:dm:6360:4176:0:1315245251:0
         pcmext.dll Library initialized
    D 09/05/11 21:56:42 - dm:6360.4176 pcm_tbls.c(21):316 1:PCWORK:dm:6360:4176:0:1315245251:0
         PCMEXT initialized with 0 function failures
    E 09/05/11 21:56:42 - dm:6360.4176 dm_if_oracle.c(110):3852 1:PCWORK:dm:6360:4176:0:1315245251:0
         bad initial dm_oracle_get_lda: err=43(PIN_ERR_STORAGE)
    E 09/05/11 21:56:42 - dm:6360.4176 dm_back.c(12):443 1:PCWORK:dm:6360:4176:0:1315245251:0
         can't do dm_if_init_process(), err 43
    E 09/05/11 21:56:42 - dm:6360.4176 dm_main.c(26):1930 1:PCWORK:dm:6360:4176:0:1315245251:0
         DM master dm_die: "", errno 0
    After that the services "Portal Base Connection Manager" and "Portal Base Oracle Data Manager" is stopped.
    Any idea :) ?
    Edited by: oracledigger on 5 sept. 2011 11:02
    Edited by: oracledigger on 5 sept. 2011 11:08

  • Oracle 10g Listener XP pro need to be restarted ...

    Hello all.
    Here is my problem. I have oracle 10g installed on a computer with Windows XP pro Sp1a. Every thing work fine despite 1 point. When the computer is restarted, a small software starts the different Oracle Services (Oracle Database Service and listener) and wait for the 2 services to be in the state "started". After startup, the two services are in the state "started" but, sometimes, I can not get connected to Oracle. In the listener log, I have a message "TNS-12514: TNS:listener does not currently know of service requested in connect descriptor".
    To solve the problem, I have to restart either the listener service or the oracle service or both of them.
    My problem is that this computer must be an "auto starting system".
    What can I do to solve this problem ???? Is there a specific order to start the process ?, Should I put dependency between them ???
    Thank for your help.
    D. GARRIVIER

    If you use, as I think, dynamic service registration (no SID_LIST in Listener.ora for your DB), then it would be better to start the listener before the Database. If not, the registration could take a few seconds (or minutes). Anyway, if this is the problem, you should be able to connect after a few seconds (or minutes).

  • Oracle Best Practices Discussion Pros/Cons of using Synonyms

    Please share your experience given the Pros/Cons of Developing Enterprise Database Applications using public and private Synonyms.
    My recommendation to developers on my team is to avoid using Public Synonyms in their code and instead Fully Qualify the database object by schema owner.
    Pros: When you drop a schema, you do not drop the public synonyms that they created. Therefore if you have to use synonym, make it private and not public.
    Please share your experience!

    Fahd Mirza wrote:
    Well I rarely use public synonyms and that only case of db links. For example, I have a scenario, in which I have hooked up a MS SQLSERVER database with Oracle database through Heterogenous Services. I am accessing the SQLSERVER table in real time, through HS, in Oracle in real time, and then from this Oracle environment I have created db links to many other interested databases. In those interested database, I have created public synonyms over those dblinks.
    It's so transparent for the interested databases. But I have documented this whole configuration in great detail for any upcoming DBA, just in case I leave, or expire or anything. Sounds interesting - this might be worth 'cleaning' and publishing to OTN's Articles. If you are interested in pursuing this, you might want to contact Justin (Community Forum) or myself ([email protected])

  • Oracle 8i / Windows XP Pro

    Can Oracle8i be installed on a {Windows XP PRO} O/S? If so, what needs to be done?

    When i attemp to start oracle 8i install on my COMPUTER it seems like it is loding and then it stops with no respond or a an message error i tried WIN2000,WIN XP,WIN XP Pro. and keep doing the same.
    So i was wondering if the problem with Pentium 4 or something else, or something i dont know.
    any hint pLZ??????

  • Oracle 9i   Windows Xo Pro

    Hi,
    I loaded the 3 zip files in 3 different directories: disk1,.... After decompressing thoses files I started to load the first one from Disk1. I got many errors whose one is that I had not the rigths to access oci.dll or this service was running. I stopped the service and still not able to install the 9i. I am running Windows XP Pro on a Tecra S1 with 512 Mez of RAM.
    I'll appreciate any help to get trough. Thanks
    AG

    Hi andre, I have the same problem with oracle 9i,if you had solve it, please write me
    thanks

  • Oracle 10g or less Pro Fortran for linux  ?

    Hello,
    I'm looking for the oracle pro-fortran for linux.
    Where can i find it ?
    Thanks

    Doesn't appear to be part of the Linux bundle. It may not have been ported. I checked 10gR1 and 9.2.x.

  • ORACLE 8i  WINDOWS XP PRO WORKSTATION

    8I CLIENT WILL NOT EVEN BEGIN TO INSTALL ON XPpro! WILL 9i CLINET RUN WITH 8i server database?

    When i attemp to start oracle 8i install on my COMPUTER it seems like it is loding and then it stops with no respond or a an message error i tried WIN2000,WIN XP,WIN XP Pro. and keep doing the same.
    So i was wondering if the problem with Pentium 4 or something else, or something i dont know.
    any hint pLZ??????

  • HOW to use new Oracle 9i Features in Pro*C

    Hi All,
    I am an Pro*C developer. I tried using Oracle 9i Features like RIGHT OUTER JOIN, FULL OUTER JOIN, CASE ... etc inside proc program. But I am getting error while compiling it.
    My sample code:
    EXEC SQL DECLARE CARD_CUR CURSOR FOR
    SELECT A.EMP_NBR,
    FROM EMP A FULL OUTER JOIN DEPT B
    ON A.DEPT_NO = B.DEPT_NO;
    EXEC SQL OPEN CARD_CUR;
    Pre Compilier Error:
    Pro*C/C++: Release 9.2.0.5.0 - Production on Wed Dec 14 02:34:35 2005
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    System default option values taken from: /oracle/oracle/9.2.0.5//precomp/admin/pcscfg.cfg
    Syntax error at line 476, column 50, file br_afs_cardxrf.pc:
    Error at line 476, column 50 in file br_afs_cardxrf.pc
    FROM EMP A FULL OUTER JOIN
    ......................................1
    PCC-S-02201, Encountered the symbol "FULL" when expecting one of the following:
    ; , for, union, connect, group, having, intersect, minus,
    order, start, where, with,
    Even when I use CASE statement, i get some similar error.
    Can anyone guide me on this.
    Regards,
    ghu

    You will probably need to use dynamic SQL.
    See the discussion at:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:53140567326263
    (while the question deals with SQLX, the answer is the same - Pro*C can't parse all SQL, but dynamic SQL is not parsed by Pro*C)

  • How to store txt file into Oracle 7 Database using Pro*C

    Hi,
    I want to store a txt file into Oracle 7 database table using
    Pro*C application. But do not know what type of column to use.
    At first glance it appeared to me as LONG can serve the purpose
    but later I noticed that I can not do the sequential read/write
    in LONG type of column. That is, I have to use chunks of max of
    2GB (or file lenght) to read/write into such columns.
    I want something simiar to CLOB of Oracle 8.
    I would appreciate if you can provide me solution.
    Thanks,
    Anurag

    You store images in a BLOB column in the database.
    However, inserting image in that column and displaying data/image from that column are 2 very different tasks.
    If you are using Oracle forms, displaying is easy. Default block sitting on the table with BLOB column, can be easily mapped to image box (or similar control), which will display that image.
    Inserting images will be a different ball game. If your forms are web based (i.e. run from browser) and you want to insert images from client machine, some special arrangements are required.
    If images are on database server and you want to insert them in database, the stored procedure given in the earlier thread (posted above) will do the job.

  • Hey Oracle ! Say XP Pro not just XP or Windows

    The top level description for software should say XP Pro not XP. This is a very common issue. In the last 30 days, there have been over 1,400 posting regarding XP Home. Give users a break and make it clear from the very beginning
    that XP Home is not supported by any Oracle products.

    See the extensive advice on the topic of setting up a PC running Windows XP to connect to an Airport Express or Airport Extreme Base Station at http://www.efelix.co.uk/tech/windowsxp.html
    If the PC doesn't "see" the Airport Express wireless network at all, I'd say you haven't installed the Linksys wireless network adapter properly.

  • Will oracle 8.3.7 Pro *c Programs run with 10g?

    Hi all,
    This may not be suitable for this forum but please advise me
    We are planning to upgrade the oracle 8.3.7 to 10grel2
    This is in AIX 4.3.We got MQSeries version 5.2 installed.
    Our PRO *C programs are compiled in 8.3.7..
    will the PRO *C programs will run and communicate with 10g.We receive messages from MQ and manipulate the database.
    Will the existing programs run with 10g
    Help needed URGENT
    Thanks

    Your Pro*C will need to be version 9.2 compliant, to run against 10g so may need some reworking. See here for more detail:
    http://oraclesvca2.oracle.com/docs/cd/B14117_01/win.101/a96111.pdf

Maybe you are looking for