General SQL

Is there anything called recursive query in Oracle. If yes please give one example how to use this.

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kvprabhu:
Is there anything called recursive cursor in Oracle. If yes please give one example how to use this.<HR></BLOCKQUOTE>
null

Similar Messages

  • PS General SQL Routines: Missing or invalid version of SQL library libpsora

    Hi Everyone,
    Need your assistance. Perhaps someone of you encountered this already. I have completed setting up everything until the application server part. If I try to boot the application server I get the error below. I have tried several solution published in Oracle Support and these did not resolve the issue.
    Appserv log
    PSADMIN.15894 (0) [10/01/10 16:17:21](0) Begin boot attempt on domain hc91dmo
    PSAPPSRV.15941 (0) [10/01/10 16:17:50](0) PeopleTools Release 8.50 (Linux) starting. Tuxedo server is APPSRV(99)/1
    PSAPPSRV.15941 (0) [10/01/10 16:17:51](0) Cache Directory being used: /applications/psoft/hc91/appserv/hc91dmo/CACHE/PSAPPSRV_1/
    PSAPPSRV.15941 (0) [10/01/10 16:17:51](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora (200,0)
    PSAPPSRV.15941 (0) [10/01/10 16:17:51](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database HC91DMO with user PS.
    PSAPPSRV.15941 (0) [10/01/10 16:17:51](0) Server failed to start
    PSADMIN.15894 (0) [10/01/10 16:17:58](0) End boot attempt on domain hc91dmo
    Tuxedo log
    161730.TESTLAB-03!BBL.15902.2248875168.0: 10-01-2010: client high water (0), total client (0)5900.2137364080.-2: TMADMIN_CAT:1330: INFO: Command: boot -A
    161728.TESTLAB-03!tmboot.15901.2219435552.-2: 10-01-2010: Tuxedo Version 10.3.0.0, 64-bit
    161728.TESTLAB-03!tmboot.15901.2219435552.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 120 seconds
    161728.TESTLAB-03!tmboot.15901.2219435552.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
    161730.TESTLAB-03!BBL.15902.2248875168.0: 10-01-2010: Tuxedo Version 10.3.0.0, 64-bit, Patch Level (none)
    161730.TESTLAB-03!BBL.15902.2248875168.0: LIBTUX_CAT:262: INFO: Standard main starting
    161733.TESTLAB-03!tmboot.15905.1855951168.-2: 10-01-2010: Tuxedo Version 10.3.0.0, 64-bit
    161733.TESTLAB-03!tmboot.15905.1855951168.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 120 seconds
    161733.TESTLAB-03!tmboot.15905.1855951168.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
    161735.TESTLAB-03!PSWATCHSRV.15906.1160363616.-2: 10-01-2010: Tuxedo Version 10.3.0.0, 64-bit
    161735.TESTLAB-03!PSWATCHSRV.15906.1160363616.-2: LIBTUX_CAT:262: INFO: Standard main starting
    161750.TESTLAB-03!PSAPPSRV.15941.4117513168.0: 10-01-2010: Tuxedo Version 10.3.0.0, 64-bit
    161750.TESTLAB-03!PSAPPSRV.15941.4117513168.0: LIBTUX_CAT:262: INFO: Standard main starting
    161751.TESTLAB-03!PSAPPSRV.15941.4117513168.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
    161751.TESTLAB-03!tmboot.15905.1855951168.-2: tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
    161755.TESTLAB-03!BBL.15902.2248875168.0: CMDTUX_CAT:26: INFO: The BBL is exiting system
    161758.TESTLAB-03!PSADMIN.15894: End boot attempt on domain hc91dmo
    stderr.log
    dlopen in libpscompat failed for 'libpsora.so': libclntsh.so.10.1: cannot open shared object file: No such file or directory
    dlopen in libpscompat failed for 'libpsora.so': libclntsh.so.10.1: cannot open shared object file: No such file or directory
    dlopen in libpscompat failed for 'libpsora.so': libclntsh.so.10.1: cannot open shared object file: No such file or directory
    dlopen in libpscompat failed for 'libpsora.so': libclntsh.so.10.1: cannot open shared object file: No such file or directory
    dlopen in libpscompat failed for 'libpsora.so': libclntsh.so.10.1: cannot open shared object file: No such file or directory
    Here is my environment configuration.
    CentOS 5.4 64 bit
    PeopleTools 8.50
    HCM 9.1 MultiLanguage
    WebLogic 11g R1
    Tuxedo 11g R3
    VmWare Server 2
    Oracle 11g
    Thanks ....

    It's Oracle 11.2.0.1.0. Yes, I can login to database via SQL PLus.
    [oracle@TESTLAB-03 ~]$ sqlplus /nolog
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Oct 1 17:56:13 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    SQL> conn people/peop1e
    Connected.
    Here what in my .bash_profile
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    export ORACLE_HOME=/applications/oracle/product/11.2.0
    export TUXDIR=/applications/mdlware/tuxedo10gR3
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$TUXDIR/lib
    export PATH=$PATH:$ORACLE_HOME/bin:$TUXDIR/bin:$ORACLE_HOME/lib
    export PS_HOME=/applications/psoft/hc91
    export PS_CFG_HOME=$PS_HOME
    . $PS_HOME/psconfig.sh
    cd $PS_HOME

  • PS General SQL Routines: Missing or invalid version of SQL library libpsor

    Hi,
    I am facing the above error while booting up the Appserver. Could someone help me on these please.
    below are the softwares used:
    Oracle Linux5.4 64bit
    peopletools:8.51
    Application HCM:9.1
    weblogic wls_1034
    Tuxedo 10g3
    Stderr shows:
    dlopen in libpscompat failed for 'libpsora.so': libclntsh.so.10.1: cannot open shared object file: No such file or directory
    Appserv_log
    GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora (200,0)
    PSAPPSRV.9875 (0) [12/11/12 15:37:28](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database HCMDMO with user PS.
    Thanks in advance

    It's Oracle 11.2.0.1.0. Yes, I can login to database via SQL PLus.
    [oracle@TESTLAB-03 ~]$ sqlplus /nolog
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Oct 1 17:56:13 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    SQL> conn people/peop1e
    Connected.
    Here what in my .bash_profile
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    export ORACLE_HOME=/applications/oracle/product/11.2.0
    export TUXDIR=/applications/mdlware/tuxedo10gR3
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$TUXDIR/lib
    export PATH=$PATH:$ORACLE_HOME/bin:$TUXDIR/bin:$ORACLE_HOME/lib
    export PS_HOME=/applications/psoft/hc91
    export PS_CFG_HOME=$PS_HOME
    . $PS_HOME/psconfig.sh
    cd $PS_HOME

  • PS General SQL Routine -- Missing or invalid version of SQL library PSORA (

    I installed PeopleTool8.5 in Windows7 ultimate(64bit version) . while i am tring to login first time in to datamover to populate the data to peopsoft. I am getting the following error message.
    Installed: Oracle 11g (64 bit), PeopleTools 8.5
    PS General SQL Routine -- Missing or invalid version of SQL library PSORA (200,0).
    Any idea to solve this issue.
    Thanks
    Ayyanar
    Edited by: P.P Ayyanar on Mar 13, 2010 12:56 PM

    P.P Ayyanar wrote:
    Please , we need to delete the existing row in dbowner table or any other solution.It seems you ran more than once this script. As I already said to you above, you MUST use a 32bit Oracle client against your 64bit Oracle database from a Windows workstation, are you ?
    Furthermore, Oracle db and Peoplesoft are not certified on Windows 7...
    Lastly, or you remove that line from the script, or you delete that row (all rows) from that table, or you re-create database from scratch (I mean drop and recreate) because running this script more than once is never good, especially regarding the DMS import.
    Nicolas.

  • Crystal 8.5 - General SQL Error

    I am using Crystal 8.5.  I'm writing a report with 4 tables.  If they are all equal joins, it works fine.  When I change the join between the first two tables to left outer join (which is what I need), I get the errors:  General SQL Errorr, Error detected by database DLL.  I found some documentation on this problem at Crystal Decisions.  It tells me to download ODBCregs.zip from their downloads.  It is no longer listed there.  Does anyone know where I can find it or how to resolve this problem.
    Thanks.

    Use the link below and navigate to the end of page:
    http://adc.exactsoftware.com/docs/DocView.aspx?DocumentID=%7B2ed0c56b-25cd-4b9e-ae9b-bfaa35d24d4e%7D
    Functions are the same for each version of CR. Just extrapolate to the new versions registry structure

  • General SQL question

    I have seen the following in some sql, but not sure of the difference.
    select abc, NULL from xyz where .....
    select abc, to_char(NULL) from xyz where ....
    my question is there a difference between NULL and TO_CHAR(NULL) ?
    Thanks.

    BluShadow wrote:
    Looks like someone was trying to cast the null to a varchar2 datatype so that SQL knew the datatype of the column. In that case they should have used the CAST function...
    Blu:
    Just out of curiosity, any particular reason for the preference for cast instead of to_datatype(null)? I often use that construct, particularly in union type queries. The cast is sematically meaningless in a union query since the column will get the size of the largest column in the query.
    SQL> set null null
    SQL> select *
      2  from (select 1 id, null c1, to_char(null) c2, cast(null as varchar2(10)) c3 from dual
      3        union all
      4        select 2, 'Hello there', 'Hello there', 'Hello there' from dual);
            ID C1          C2          C3
             1 null        null        null
             2 Hello there Hello there Hello there
    SQL> create view v as
      2  select *
      3  from (select 1 id, null c1, to_char(null) c2, cast(null as varchar2(10)) c3 from dual
      4        union all
      5        select 2, 'Hello there', 'Hello there', 'Hello there' from dual);
    View created.
    SQL> desc v;
    Name               Null?    Type
    ID                          NUMBER
    C1                          VARCHAR2(11)
    C2                          VARCHAR2(11)
    C3                          VARCHAR2(11)About the only place where I would use an explicit cast is if I was "hiding" the content of a column in a view, but needed to maintain the same structure as the table.
    John

  • General sql help

    hi,
    i have a small question regarding sql, there are two tables that i need to work with on this, one has fields like:
    Table1:
    (id, name, street, city, zip, phone, fax, etc...) about 20 more columns
    Table2:
    name
    what i need help with is that table2 contains about 200 distinct names that i need to insert into table1, i'm using sql server, is there a way to insert them into table1?? i'm not sure how to write a query within the insert statment to get them inserted into table1? something like:
    insert into table(id, name, street, zip, phone, fax, ...) values(newid(), (select distinct name from table2), null, null, null....)
    and is there a way to do it without all the nulls having to be put in, there are about 20 more columns in table1, and id in table1 is unique. i know this doens't have much to do with java but the project does involve jdbc, just wasn't sure how to do this query.

    You've got the right idea, but I believe the number of columns you INSERT has to match the number selected. So your query would have to look like:
    INSERT INTO TABLE2(NAME)
    SELECT DISTINCT NAME FROM TABLE1;MOD

  • General SQL query

    Helo all,
    I have a sample table
    ID     TITLE
    1     book
    2     book
    3     magazine
    4     newspaper
    5     newspaper
    6     newspaper
    7     comics
    I am trying to write a query to find out all the titles having multiple id's (for ex. book and newspaper are having multiple id's). I came up with the following query:
    select *
    from sample
    where title in
    (select title from sample where title in
    ( select title from sample where id !=1)
    and id = 1);
    but the problem is with the above query I have to keep changing the id's to find out those records, the table is having lot more records like this and it would take for ever this way. Can anyone please help me finding all the titles having multiple id's at once instead of changing the id's again and again.
    Thanks in Advance!!

    WITH DATA AS (SELECT 1 ID, 'book' TITLE FROM DUAL
                  UNION ALL
                  SELECT 2 ID, 'book' TITLE FROM DUAL
                  UNION ALL
                  SELECT 3 ID, 'magazine' TITLE FROM DUAL
                  UNION ALL
                  SELECT 4 ID, 'newspaper' TITLE FROM DUAL
                  UNION ALL
                  SELECT 5 ID, 'newspaper' TITLE FROM DUAL
                  UNION ALL
                  SELECT 6 ID, 'newspaper' TITLE FROM DUAL
                  UNION ALL
                  SELECT 7 ID, 'comics' TITLE FROM DUAL
    SELECT *
      FROM (
            SELECT A.*,
                   COUNT(TITLE) OVER (PARTITION BY TITLE) CNT
              FROM DATA A
    WHERE CNT>1

  • Missing or invalid version of SQL library PSORA (200,0)

    I am trying to configure App. Server on Vista laptop machine.
    The machine name is VRGhati03.
    It is a logical 3 tier archtecture. Its a EPM 9.0 Install. My database (PFDMO) is all configured and I am able to signon using a User ID VP1 and password VP1. My connect id is people with password of peop1e.
    My access id is SYSADM.
    I have created a user id in Oracle as VP1 and granted him the PSADMIN role .
    When I try to boot up the App. Server it tells me ' Missing or invalid version of SQL Library PSORA' and 'Could not sign on to database PFDMO with user VP1'
    The VP1 sign on works via SQLPLUS.
    I also created a User Account of VP1 and tried to boot the appserver under that id but still no success.
    I have gone thru some of the postings on this topic but they have not helped me. What am I doing wrong?
    Below are the details of the log files, portion of my psappserv.cng file and the system environment variables.
    Can somebody help. Thanks in advance
    Sudhir
    I) Log from APPSERV:
    PSADMIN.10000 (0) [08/05/09 09:19:24](0) Begin boot attempt on domain PFDMO
    PSWATCHSRV.2556 (0) [08/05/09 09:19:33] Checking process status every 120 seconds
    PSWATCHSRV.2556 (0) [08/05/09 09:19:33] Server started
    PSAPPSRV.5636 (0) [08/05/09 09:19:34](0) PeopleTools Release 8.49 (WinX86) starting
    PSAPPSRV.5636 (0) [08/05/09 09:19:34](0) Cache Directory being used: C:\PT8.49\appserv\PFDMO\CACHE\PSAPPSRV_2\
    PSAPPSRV.5636 (0) [08/05/09 09:19:34](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library PSORA (200,0)
    PSAPPSRV.5636 (0) [08/05/09 09:19:34](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PFDMO with user VP1.
    PSAPPSRV.5636 (0) [08/05/09 09:19:34](0) Server failed to start
    PSWATCHSRV.2556 (0) [08/05/09 09:19:35] Shutting down
    PSADMIN.10000 (0) [08/05/09 09:19:41](0) End boot attempt on domain PFDMO
    II) Log from TUXLOG:
    091924.VRGHATI03!PSADMIN.10000: Begin attempt on domain PFDMO
    091927.VRGHATI03!tmadmin.9844.8684.-2: TMADMIN_CAT:1330: INFO: Command: boot -A
    091929.VRGHATI03!tmboot.9720.8272.-2: 08-05-2009: Tuxedo Version 9.1, 32-bit
    091929.VRGHATI03!tmboot.9720.8272.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 60 seconds
    091929.VRGHATI03!tmboot.9720.8272.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
    091931.VRGHATI03!BBL.8340.3320.0: 08-05-2009: Tuxedo Version 9.1, 32-bit, Patch Level 036
    091931.VRGHATI03!BBL.8340.3320.0: LIBTUX_CAT:262: INFO: Standard main starting
    091933.VRGHATI03!tmboot.9224.8412.-2: 08-05-2009: Tuxedo Version 9.1, 32-bit
    091933.VRGHATI03!tmboot.9224.8412.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 60 seconds
    091933.VRGHATI03!tmboot.9224.8412.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
    091933.VRGHATI03!PSWATCHSRV.2556.9492.-2: 08-05-2009: Tuxedo Version 9.1, 32-bit
    091933.VRGHATI03!PSWATCHSRV.2556.9492.-2: LIBTUX_CAT:262: INFO: Standard main starting
    091934.VRGHATI03!PSAPPSRV.5636.9008.0: 08-05-2009: Tuxedo Version 9.1, 32-bit
    091934.VRGHATI03!PSAPPSRV.5636.9008.0: LIBTUX_CAT:262: INFO: Standard main starting
    091934.VRGHATI03!PSAPPSRV.5636.9008.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
    091934.VRGHATI03!tmboot.9224.8412.-2: tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
    091938.VRGHATI03!BBL.8340.3320.0: CMDTUX_CAT:26: INFO: The BBL is exiting system
    091941.VRGHATI03!PSADMIN.10000: End boot attempt on domain PFDMO
    III) System Environmental Variables:
    LIBPATH=c:\oracle\product\10.2.0\db_1\LIB
    ORACLE_SID=PFDMO
    OS=Windows_NT
    path=C:\oracle\product\10.2.0\db_1\bin;C:\product\10.1.3.1\OracleAS_1\jdk\bin;C:\product\10.1.3.1\OracleAS_1\ant\bin;C:\product\10.1.3.1\OracleAS_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\bea\Tuxedo9.1\bin
    TUXDIR=C:\bea\Tuxedo9.1
    IV) psappserv.cfg File:
    [Startup]
    ;=========================================================================
    ; Database Signon settings
    ;=========================================================================
    DBName=PFDMO
    DBType=ORACLE
    UserId=VP1
    UserPswd=tRWpMM0Cragi9I0nrWPAxZ+GS1YD0PRXzCrF4YWbe5E=
    ConnectId=people
    ConnectPswd=kyD3QPxnrag=
    ServerName=VRGhati03
    [Database Options]
    ;=========================================================================
    ; Database-specific configuration options
    ;=========================================================================
    SybasePacketSize=
    UseLocalOracleDB=0
    ;ORACLE_SID=
    EnableDBMonitoring=1
    OracleDisableFirstRowsHint=0
    [Security]
    ;=========================================================================
    ; Security settings
    ;=========================================================================
    Validate Signon with Database=0
    [Workstation Listener]
    ;=========================================================================
    ; Settings for Workstation Listener
    ;=========================================================================
    Address=%PS_MACH%
    Port=7000
    Encryption=0
    Min Handlers=1
    Max Handlers=3
    Max Clients per Handler=40
    Client Cleanup Timeout=60
    Init Timeout=5
    Tuxedo Compression Threshold=5000
    [JOLT Listener]
    ;=========================================================================
    ; Settings for JOLT Listener
    ;=========================================================================
    Address=%PS_MACH%
    Port=9000
    Encryption=0
    Min Handlers=5
    Max Handlers=7
    Max Clients per Handler=40
    Client Cleanup Timeout=10
    Init Timeout=5
    Client Connection Mode=ANY
    Jolt Compression Threshold=1000000
    [JOLT Relay Adapter]
    ;=========================================================================
    ; Settings for JOLT Relay Adapter (JRAD)
    ;=========================================================================
    Listener Address=%PS_MACH%
    Listener Port=9100
    [Domain Settings]
    ;=========================================================================
    ; General settings for this Application Server.
    ;=========================================================================
    Domain ID=PFDMO
    Add to PATH=c:\oracle\product\10.2.0\db_1\BIN
    Spawn Threshold=1,600:1,1
    Restartable=Y
    ;Log Directory=%PS_SERVDIR%\LOGS
    ; This allows for dynamic changes to certain setting without having to reboot
    ; the domain. The settings that can be dynamically changed are: Recycle Count,
    ; Consecutive Service failures, Trace SQL, Trace Mask SQL, TracePC, TracePCMask,
    ; TracePpr, TracePprMask, TracePIA, TracePIAMask, Log Fence, Enable DB Monitoring,
    ; Enable Debugging, LogErrorReport, MailErrorReport, DumpMemoryImageAtCrash
    ; These settings are further identified by the "Dynamic change allowed for .."
    ; comment.
    Allow Dynamic Changes=N
    ; Logging detail level
    ; Level Type of information
    ; -100 - Suppress logging
    ; -1 - Protocol, memory errors
    ; 0 - Status information
    ; 1 - General errors
    ; 2 - Warnings
    ; 3 - Tracing Level 1 (default)
    ; 4 - Tracing Level 2
    ; 5 - Tracing Level 3
    ; Dynamic change allowed for LogFence
    LogFence=3
    ; Trace-Log File Character Set: Character set used for log and trace files
    Trace-Log File Character Set=ANSI
    [PeopleCode Debugger]
    ;=========================================================================
    ; PeopleCode Debug Server settings
    ;=========================================================================
    PSDBGSRV Listener Port=9500
    ; PeopleCode Debugger Trace Settings
    ; Level Type of tracing
    ; 0 Off (default)
    ; 1 Level 1 - log connection activity
    ; 2 Level 2 - log debug broker transactions (getsession, register/unregister, acquire/unacquire)
    ; 3 Level 3 - log primary debuggee/debugger transactions (register, modechange, seteventflag, break)
    ; 4 Level 4 - log debuggee/debugger variables transactions
    ; 5 Level 5 - log debuggee/debugger command responses and gotbreaks
    ; Warning: Levels 3 thru 5 result in lots of transaction data being logger and require plenty of disk space.
    DebuggerMsgLogEnable=0
    [Trace]
    ;=========================================================================
    ; Server Trace settings
    ;=========================================================================
    ; SQL Tracing Bitfield
    ; Bit Type of tracing
    ; 1 - SQL statements
    ; 2 - SQL statement variables
    ; 4 - SQL connect, disconnect, commit and rollback
    ; 8 - Row Fetch (indicates that it occurred, not data)
    ; 16 - All other API calls except ssb
    ; 32 - Set Select Buffers (identifies the attributes of columns
    ; to be selected).
    ; 64 - Database API specific calls
    ; 128 - COBOL statement timings
    ; 256 - Sybase Bind information
    ; 512 - Sybase Fetch information
    ; 1024 - SQL Informational Trace
    ; 4096 - Manager information
    ; 8192 - Mapcore information
    ; Dynamic change allowed for TraceSql and TraceSqlMask
    TraceSql=0
    TraceSqlMask=12319
    ; PeopleCode Tracing Bitfield
    ; Bit Type of tracing
    ; 1 - Trace Evaluator instructions (not recommended)
    ; 2 - List Evaluator program (not recommended)
    ; 4 - Show assignments to variables
    ; 8 - Show fetched values
    ; 16 - Show stack
    ; 64 - Trace start of programs
    ; 128 - Trace external function calls
    ; 256 - Trace internal function calls
    ; 512 - Show parameter values
    ; 1024 - Show function return value
    ; 2048 - Trace each statement in program (recommended)
    ; Dynamic change allowed for TracePC and TracePCMask
    TracePC=0
    TracePCMask=4095
    ; Panel Processor Tracing Bitfield
    ; Bit Type of tracing
    ; 1 - Log extra debug messages
    ; 2 - Dump panel after build
    ; 4 - Dump buffers after PPRInit
    ; 8 - Dump buffers before/after service
    ; 16 - Dump buffers after scrollselect
    ; 32 - Dump buffers after modal panel
    ; 64 - Dump buffers before save
    ; 128 - Dump buffers after insertrow
    ; 256 - Trace default processing
    ; 512 - Dump PRM data
    ; 1024 - Show function return value
    ; 2048 - dump memory statistics
    ; 4096 - Trace related display processing
    ; 8192 - Trace keylist generation
    ; 16384 - Trace work record settings
    ; Dynamic change allowed for TracePPR and TracePPRMask
    TracePPR=0
    TracePPRMask=32767
    ; PIA Page Generation Tracing Bitfield
    ; Bit Type of tracing
    ; 1 - Log page generation errors
    ; 2 - Show table layout via cell borders in generated page
    ; 4 - Annotate field overlap in HTML source
    ; 8 - Detailed trace of table generation algorithm
    ; 16 - Inline stylesheet in generated pages
    ; 32 - Inline javascript in generated pages
    ; 64 - QATesting - annotation and extra tags needed by Robot
    ; 128 - Format source. Make HTML more readable
    ; 256 - Save File. Save each generated page in log directory
    ; 512 - Debug JavaScript. Include debug functions in page
    ; 1024 - Log form data. Log all request parameters on each service
    ; 2048 - Log key errors. Write log message for unrecognized query parameters.
    ; Dynamic change allowed for TracePIA and TracePIAMask
    TracePIA=0
    TracePIAMask=32767
    ; AE Tracing Bitfield
    ; Bit Type of tracing
    ; 1 - Trace STEP execution sequence to AET file
    ; 2 - Trace Application SQL statements to AET file
    ; 4 - Trace Dedicated Temp Table Allocation to AET file
    ; 8 - not yet allocated
    ; 16 - not yet allocated
    ; 32 - not yet allocated
    ; 64 - not yet allocated
    ; 128 - Timings Report to AET file
    ; 256 - Method/BuiltIn detail instead of summary in AET Timings Report
    ; 512 - not yet allocated
    ; 1024 - Timings Report to tables, ignored if Process Instance is 0
    ; 2048 - DB optimizer trace to file
    ; 4096 - DB optimizer trace to tables
    ; 8192 - Transform trace
    TraceAE=0
    ; Analytic Server Tracing Bitfield
    ; MostSignificantBit -> LeastSignificantBit
    ; QAS |ACE MODEL | ACE CALC | ACE API| Plugin | DCache | Utils | Analytic Server |
    ; 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
    ; Bit Type of tracing 3 bits per component (octal word)
    ; 1 - Analytic Server LSB
    ; 2 - Analytic Server MSB LSB LogFence
    ; 4 - Analytic Server MSB --- --- --------------------
    ; 8 - Utilities LSB 0 0 0 0 (Severity_Status)
    ; 16 - Utilities 0 0 1 1 (Severity_Error)
    ; 32 - Utilities MSB 0 1 0 2 (Severity_Warn)
    ; 64 - DataCache LSB 0 1 1 3 (Severity_Info)
    ; 128 - DataCache 1 0 0 4 (Severity_Trace1)
    ; 256 - DataCache MSB 1 0 1 5 (Severity_Trace2)
    ; 512 - Plug-in LSB 1 1 0 6 (not used)
    ; 1024 - Plug-in 1 1 1 7 (not used)
    ; 2048 - Plug-in MSB
    ; 4096 - ACE API LSB
    ; 8192 - ACE API
    ; 16384 - ACE API MSB
    ; 32768 - ACE CALC LSB
    ; 65536 - ACE CALC
    ; 131072 - ACE CALC MSB
    ; 262144 - ACE MODEL LSB
    ; 524288 - ACE MODEL
    ; 1048576 - ACE MODEL MSB
    ; 2097152 - QAS LSB
    ; 4194304 - QAS
    ; 8388608 - QAS MSB
    ; The bits enable logging for OptEngine components beyond the standard
    ; LogFence setting. E.g., TraceAnalytic=14380470 sets full trace on all components.
    ; Using 110 (1 greater than Severity_Trace2) for each component:
    ; OptEng: 4 + 2
    ; Utils : 32 + 16
    ; DC : 256 + 128
    ; Plugin: 2048 + 1024
    ; ACE API: 16384 + 8192
    ; ACE CALC: 131072 + 65536
    ; ACE MODEL: 1048576 + 524288
    ; QAS : 8388608 + 4194304
    ; Total : 14380470
    TraceAnalytic=9586980
    TraceAnalyticMask=16777215
    ; Performance Monitor Tracing Bitfield
    ; Bit Type of tracing
    ; 1 - Trace All performance monitor agent activity
    TracePPM=0
    ; Create a memory image of the failing process during a crash
    ; Setting Meaning
    ; NONE no memory image
    ; MINI mini memory image
    ; FULL full memory image
    ; If set to MINI or FULL, when a crash occurs, a memory.dmp file is
    ; generated under <log directory>/<server name>.<process id>.
    ; Dynamic change allowed.
    DumpMemoryImageAtCrash=NONE
    ;If set to Y, when a crash occurs, the application server process will write
    ;additional information to help in debugging the crash that occurred.
    ;This consists of the customized object definitions for reproducing
    ;the request on another database.
    DumpManagerObjectsAtCrash=Y
    ; If set to Y, when a runtime error is detected, the message and a dump of
    ; the application state will be written to the current log file.
    ; Dynamic change allowed.
    LogErrorReport=N
    ; When set to an email address, an email will be sent when an error report
    ; or a crash dump is written to the log.
    ; Dynamic change allowed.
    MailErrorReport=
    [Cache Settings]
    ;==============================================================================================
    ; Settings for managed object caching;
    ; Default EnableServerCaching=2, ServerCacheMode=0
    ; Default CacheBaseDir=%PS_SERVDIR% if defined else %PS_HOME/<domain name>/cache
    ; You can change these values by uncommenting and setting to the desired value
    ;==============================================================================================
    ; EnableServerCaching -
    ; 0 Server file caching disabled
    ; 1 Server file caching limited to most used classes
    ; 2 Server file caching for all types
    ;EnableServerCaching=2
    ; CacheBaseDir = the base file cache directory
    ;CacheBaseDir=%PS_SERVDIR%
    ; ServerCacheMode
    ; 0 One file cache directory per app server process
    ; 1 One file cache directory per domain (shared file cache, needs to be preloaded)
    ;ServerCacheMode=0
    ; Deprecated cache settings : MaxInMemoryObjects
    ; MaxCacheMemory - controls cache memory pruning
    ; 0 cache memory pruning disabled
    ; >0 max size of memory cache in MBytes
    MaxCacheMemory=0
    ; Preload Cache projects for file and in memory cache
    ;PreloadFileCache=
    ;PreloadMemoryCache=
    [RemoteCall]
    ;=========================================================================
    ; Settings for RemoteCall
    ;=========================================================================
    ; RemoteCall child process output redirection
    ; If this parameter is non-zero, the child process output is saved to
    ; <Domain Settings\Log Directory>\<program>_<oprid>.out, and any error
    ; output is saved to <program>_<oprid>.err.
    ; By default, the output is not saved
    RCCBL Redirect=0
    ; Location of COBOL programs
    ; NT/Windows 2000: By default, RemoteCall looks for the COBOL programs in
    ; %PS_HOME%\cblbin%PS_COBOLTYPE%. PS_COBOLTYPE is automatically set when
    ; the application server is started. The value depends upon the database.
    ; Possible values:
    ; PS_COBOLTYPE = A (non-Unicode)
    ; PS_COBOLTYPE = E (EBCDIC)
    ; PS_COBOLTYPE = U (Unicode)
    ; UNIX: By default, RemoteCall looks for the COBOL programs in $PS_HOME/cblbin.
    ; You can override the default setting by commenting out the appropriate
    ; line and modifying the setting to fit your requirements.
    ; NT/Windows 2000:
    ;RCCBL PRDBIN=%PS_HOME%\cblbin%PS_COBOLTYPE%
    ; UNIX:
    ;RCCBL PRDBIN=%PS_HOME%/cblbin
    [PSAPPSRV]
    ;=========================================================================
    ; Settings for PSAPPSRV
    ;=========================================================================
    ; UBBGEN settings
    Min Instances=3
    Max Instances=3
    Service Timeout=300
    ; Number of services after which PSAPPSRV will automatically restart.
    ; If the recycle count is set to zero, PSAPPSRV will never be recycled.
    ; The default value is 5000.
    ; Dynamic change allowed for Recycle Count
    Recycle Count=5000
    ; Percentage of Memory Growth after which PSAPPSRV will automatically restart.
    ; Default is 20, meaning additional 20% of memory growth after the process has
    ; built up its memory cache.
    ; Uncomment the setting to use memory growth instead of Recycle Count at
    ; determining the restart point.
    ; Percentage of Memory Growth=20
    ; Number of consecutive service failures after which PSAPPSRV will
    ; automatically restart.
    ; If this is set to zero, PSAPPSRV will never be recycled.
    ; The default value is zero.
    ; Dynamic change allowed for Allowed Consec Service Failures
    Allowed Consec Service Failures=2
    ; Max Fetch Size -- max result set size in KB for a SELECT query
    ; Default is 5000KB. Use 0 for no limit.
    Max Fetch Size=5000
    ; Automatically select prompt, 1 = yes, 0 = no
    Auto Select Prompts=1
    ; This parameter is used for Tuxedo Queue Thresold Determination (used forPub/Sub
    ; processing only). This parameter is the actual Tuxedo message queue size.
    ; This is a kernel parameter in Unix. For Windows, look in BEA Tuxedo, IPC Resources.
    ; A value of 0 will disable Tuxedo Queue threshold Determination and usage.
    ; A value of -1 will use these defaults: Windows = 65535, AIX = 4000000,
    ; Solaris = 65535, HP = 65535
    Tuxedo Queue Size=65535
    [PSANALYTICSRV]
    ;=========================================================================
    ; Settings for PSANALYTICSRV
    ;=========================================================================
    ; UBBGEN settings
    Min Instances=3
    Max Instances=3
    ; Number of Analytic Instances an Analytic Server instance will load and
    ; unload before recycling. If the recycle count is set to zero, the
    ; Analytic Server will never be recycled.
    ; The default value is 1.
    ; Dynamic changes to this setting are allowed. A dynamic change will
    ; affect running Analytic Servers.
    ;Recycle Count=1
    ; Number of minutes an analytic instance will remain loaded without being
    ; accessed when it is auto-loaded by the analytic grid or when a
    ; PeopleCode program loads the instance with a timeout value of -1.
    ; The default value is 30
    ; Setting this to zero will disable timeouts for auto-loaded instances.
    ; Dynamic changes to this setting are allowed.
    ;Analytic Instance Idle Timeout=30
    ; Setting this to 1 will cause each analytic server to log to it's own
    ; file rather than the common PSANALYTICSRV_<Month|Day>.LOG file. The
    ; individual log files will include the Tuxedo server ID.
    ; Dynamic changes to this setting are allowed. Changes will only come
    ; into affect for running analytic servers when they are recycled.
    ; The default value is 0
    ;Analytic Per Server Log=1
    ; This setting determines what is the threshold to enable file swaping
    ; in ACE. Each data block is of 6K. Each data cube is divided into multiple
    ; data blocks. In batch environment this could be configured to a higher value.
    ; The default value is 1024 blocks. If set to zero, the disk swaping is disabled.
    ;ACE Max Memory Data Blocks=1024
    ; Queue size for data loading in batches. If set to zero, batch loading is disabled.
    ;ACE Load Queue Size=100000
    [PSSAMSRV]
    ;=========================================================================
    ; Settings for PSSAMSRV
    ;=========================================================================
    ; UBBGEN settings
    ; PSSAMSRV never spawns, so we set Instances instead of setting a Min and
    ; Max value for Instances.
    Min Instances=1
    Max Instances=3
    Service Timeout=300
    ; Number of services after which PSSAMSRV will automatically restart.
    ; If the recycle count is set to zero, PSSAMSRV will never be recycled.
    ; The default value is zero.
    Recycle Count=100000
    ; Number of consecutive service failures after which PSSAMSRV will
    ; automatically restart.
    ; If this is set to zero, PSSAMSRV will never be recycled.
    ; The default value is zero.
    Allowed Consec Service Failures=2
    ; Max Fetch Size -- max result set size in KB for a SELECT query
    ; Max Fetch Size=n indicates n * 1024 bytes
    ; Default is 32KB. Use 0 for no limit
    Max Fetch Size=32
    [PSQCKSRV]
    ;=========================================================================
    ; Settings for PSQCKSRV
    ;=========================================================================
    ; UBBGEN settings
    Min Instances=1
    Max Instances=3
    Service Timeout=300
    ; Number of services after which PSQCKSRV will automatically restart.
    ; If the recycle count is set to zero, PSQCKSRV will never be recycled.
    ; The default value is zero.
    Recycle Count=100000
    ; Number of consecutive service failures after which PSQCKSRV will
    ; automatically restart.
    ; If this is set to zero, PSQCKSRV will never be recycled.
    ; The default value is zero.
    Allowed Consec Service Failures=2
    ; Max Fetch Size -- max result set size in KB for a SELECT query
    ; Default is 5000KB. Use 0 for no limit.
    Max Fetch Size=5000
    [PSQRYSRV]
    ;=========================================================================
    ; Settings for PSQRYSRV
    ;=========================================================================
    ; UBBGEN settings
    Min Instances=1
    Max Instances=3
    Service Timeout=1200
    ; Number of services after which PSQRYSRV will automatically restart.
    ; If the recycle count is set to zero, PSQRYSRV will never be recycled.
    ; The default value is zero.
    Recycle Count=100000
    ; Number of consecutive service failures after which PSQRYSRV will
    ; automatically restart.
    ; If this is set to zero, PSQRYSRV will never be recycled.
    ; The default value is zero.
    Allowed Consec Service Failures=2
    ; Max Fetch Size -- max result set size in KB for a SELECT query
    ; Default is 10000KB. Use 0 for no limit.
    Max Fetch Size=10000
    ; Use dirty-read(uncommitted read) for PSQRYSRV only on DB2/OS390 or SQL Server
    Use dirty-read=0

    VP1 is an application user, not a database user.
    PS is a database user, the Peoplesoft objects' owner. It is also an application user on some application.
    Did you try to connect onto the database with people user through SQL*Plus ? Are you able to read PSOPRDEFN, PSVERSION, PSACCESSPRFL tables ?
    What Vista version are you on ? What Oracle version ?
    If you have Metalink3 access, you should read the note :
    Missing or invalid version of SQL library libpsora (0,0) or (200,0) (Doc ID 608741.1)+
    Nicolas.

  • Is it possible to start planning manager programatically from backend through PL/SQL?

    I need to activate and run Planning manager concurrent program from back end through PL/SQL.Actually i am working on MRP Open Forecast Interface and I want to run this program after inserting data in the interface table mrp_forecast_interface.Please guide me.

    Oracle EBS forum is the best place for your question. This place is more towards general SQL, PL/SQL questions.
    https://community.oracle.com/community/oracle-applications/e-business_suite/e-business-suite-technology/general_ebs_discussion

  • How to do pivoting on part of an SQL output row in 10g

    Hi,
    I'm using Oracle 10.1.0.5.0.
    I would like to know what the general decode is for pivoting in 10g. I need to display PAGE_DISPLAY_NAME, ITEM_DISPLAY_NAME, ITEM_TYPE_DISPLAY_NAME essentially once and then display ATTRIBUTE_DISPLAY_NAME and ITEM_ATTRIBUTE_VALUE as a separate column for each:
    So my query starts me with the following output.
    PAGE_DISPLAY_NAME        ITEM_DISPLAY_NAME            ITEM_TYPE_DISPLAY_NAME     ATTRIBUTE_DISPLAY_NAME                              ITEM_ATTRIBUTE_VALUE
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Benefit                                                       0
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: Accounting                               0
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: Consulting Services                       0
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: Customer Data Management              0
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: Facilities                                0
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: Finance                                0
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: HR                                        0
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: IT                                        0
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: International                        0
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: Inventory Control                     0
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: Legal                                0
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: Marketing                                0
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: Sales                                1
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record     Business Function: Sales Operations                     1I'd like to show the following:
    PAGE_DISPLAY_NAME        ITEM_DISPLAY_NAME            ITEM_TYPE_DISPLAY_NAME        decode(...),   decode(...), .....         decode(etc...
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record          Benefit    Business Function: Accounting  
    Content     Rpt-Yearly-EMC Transactions-2007     RIKR Content Record             0                   0                              What's the general SQL for doing this type of thing?
    For the record, here's the initial SQL:
    select p.DISPLAY_NAME               PAGE_DISPLAY_NAME,
    i.DISPLAY_NAME                      ITEM_DISPLAY_NAME,
    it.DISPLAY_NAME                     ITEM_TYPE_DISPLAY_NAME,
    attr.DISPLAY_NAME                   ATTRIBUTE_DISPLAY_NAME,
    ia.VALUE                            ITEM_ATTRIBUTE_VALUE
    from
    wwsbr_item_attributes ia,
    wwsbr_attributes attr,
    wwsbr_all_items i,
    wwsbr_item_types it,
    wwsbr_all_folders p
    where
        ia.attribute_id = attr.id
    and ia.attribute_caid = attr.CAID
    and ia.item_masterid = i.id
    and ia.item_caid = i.caid
    and i.subtype = it.id
    and i.subtype_caid = it.caid
    and i.folder_id = p.id
    and i.active = 1
    and i.visible = 1
    and i.is_current_version = 1
    and upper(it.DISPLAY_NAME) like '%RIKR%'
    and substr(attr.DISPLAY_NAME,1,5) <> '-----' 
    order by i.DISPLAY_NAME, attr.DISPLAY_NAME;

    Hi,
    There are a few errors in the INSERT statements, but it looks like the ones that work provide a good enough sample.
    In your sample data,
    attribute_display_name = 'Benefit' only when item_type_display_name LIKE '%RIKR%', and
    attribute_display_name = 'Billing & Collections' only when item_type_display_name LIKE '%OMKR%'
    and so on, for the other values. In other words, just by looking at attribute_display_name , once could predict whether item_type_display_name was LIKE '%RIKR%' or '%OMKR%'.
    If that's alwsays the case, then you can say:
    SELECT    page_display_name
    ,       item_display_name
    ,       item_type_display_name
    ,       MAX (DECODE ( attribute_display_name
                          , 'Benefit'                         , item_attribute_value
                          , 'Billing & Collections'                    , item_attribute_value
               )          AS p1
    ,       MAX (DECODE ( attribute_display_name
                           , 'Business Function: Accounting'               , item_attribute_value
                    , 'Change Description'                    , item_attribute_value
               )           AS p2
    ,       MAX (DECODE ( attribute_display_name
                          , 'Business Function: Consulting Services'     , item_attribute_value
                    , 'Deal Type: Counrty Federal'                 , item_attribute_value
               )           AS p3
    ,       MAX (DECODE ( attribute_display_name
                    , 'Deal Type: Counrty International Order'     , item_attribute_value
               )           AS p4
    FROM       taxonomy
    GROUP BY  page_display_name
    ,       item_display_name
    ,       item_type_display_name
    ORDER BY  page_display_name
    ,       item_display_name
    ,       item_type_display_name
    ;This produces generically-named columns, 'p1', 'p2', ...:
                               ITEM_
    PAGE_      ITEM_           TYPE_
    DISPLAY_   DISPLAY_        DISPLAY_
    NAME       NAME            NAME                 P1  P2  P3  P4
    Archive    Rpt-AR          RIKR Content Record      1   0
    Content    Rpt-Booking     RIKR Content Record      1   0
    Documents  Calc-Discount   OMKR Document        0       0   0
    Documents  Calc-Early      OMKR Document        0       0   0I shortened item_display_name to make the output more readable.
    If you add a WHERE clause like
    WHERE   item_type_display_name LIKE '%RIKR%'then, of course, you would only get the first two rows of output from the result set above, but you would get all the same columns, including the p4 column that will necessarily be NULL.
    If my earlier assumption was wrong (for example, if attribute_display_name can 'Benefit' even when item_type_display_name is NOT LIKE '%RIKR%', but, when that happens, you want to ignore it), then change the pivot columns like this:
    ,       MAX ( CASE
                         WHEN  (     item_type_display_name LIKE '%RIKR%'
                           AND  attribute_display_name = 'Benefit'
                   OR        (     item_type_display_name LIKE '%OMKR%'
                           AND  attribute_display_name = 'Billing & Collections'
                   THEN  item_attribute_value
              END
               )          AS p1
    ,       MAX ( CASE
                         WHEN  (     item_type_display_name LIKE '%RIKR%'
                           AND  attribute_display_name = 'Business Function: Accounting'
                   OR        (     item_type_display_name LIKE '%OMKR%'
                           AND  attribute_display_name = 'Change Description'
                   THEN  item_attribute_value
              END
               )          AS p2
    ,       MAX ( CASE
                         WHEN  (     item_type_display_name LIKE '%RIKR%'
                           AND  attribute_display_name = 'Business Function: Consulting Services'
                   OR        (     item_type_display_name LIKE '%OMKR%'
                           AND  attribute_display_name = 'Deal Type: Counrty Federal'
                   THEN  item_attribute_value
              END
               )          AS p3
    ,       MAX ( CASE
                         WHEN  (     item_type_display_name LIKE '%OMKR%'
                           AND  attribute_display_name = 'Deal Type: Counrty International Order'
                   THEN  item_attribute_value
              END
               )          AS p4For the sample data given, this produces the same output as above.
    All this assumes that the conditions
    item_type_display_name LIKE '%RIKR%' and
    item_type_display_name LIKE '%OMKR%' are mutualyy exclusive; that is, you never have item_type_display like 'RIKR Content Record/OMKR Document'.
    If you do have values like that, then you'll need separate columns for each of the possible values of attribute_display_name. Given your sample data, that means 7 pivoted columns. Depending on your WHERE clause and your data, some of those columns might by NULL for all rows. As you suggested, you coul;d use the anlaytic ROW_NUMBER function to number the rows that actually occurred in the query. You would still have 7 pivoted columns, but the ones that were not always NULL would appear on the left, where they were easier to read.
    The number of columns, and their aliases, must be hard-coded into the query. If you want something that has column aliases like BENEFIT instead of P1, or only has 4 piovted columns when you only need 4, then you have to use dynamic SQL.
    You can fake column headings by doing a separate query, which includes some of the same conditions as the main query, figures out what the pivoted columns will be, and displays appropriate headings. I've done this when producing csv files, where the heading only had to appear once, at the very beginning. Getting such a heading to appear after, say, every 50 rows of output is much more complicated.
    You can fake the number of columns by using string aggregation to put all the pivoted data into one humongeous VARCHAR2 column, concatenating spaces so that it looks like 3, or 4, or however many columns.

  • PeopleTools 8.53 , 9.2 Install - Missing or invalid version of SQL library

    Hello All
    I am installing 9.2 / 8.53 on a Windows 7 Professional (64 Bit) Machine
    I have installed Oracle 11g 32 bit (Server and Client) edition that has the following paths:
    C:\oracle\product\11.2.0\dbhome_1 and
    C:\oracle\product\11.2.0\client_1
    I can connect to DB with SYSADM , PS accounts with no issues and also to App Designer and Data Mover ;
    I am trying to configure App Server. The Tuxedo is 64 bit. Installed this with no issue.
    On the PSAdmin configuration for App Server, I have provided the path of C:\oracle\product\11.2.0\client_1\bin.
    When trying to boot, it gives me the below errors in log file:
    PS General SQL Routines: Missing or invalid version of SQL library PSORA64 (200,0)
    and stderr file has:
    LoadLibraryA() in pscompat.dll failed for 'PSORA64.dll': reason=126
    How to fix this?

    Your DB should already have been installed on 64 bit Oracle Server.
    The Application server, as stated in the installation manual in Task 8A-4: Creating, Configuring, and Starting an Initial Application Server Domain:
    Enter 20 for AddToPATH, and enter the path to the 64-bit connectivity software
    If DB and Appserver are on the same server you can reuse the DB libs, otherwise you need to install a 64 bit Oracle Client for the application server
    Note:
    Application Designer, Datamover, etc still need 32 bits Oracle Client for connectivity.

  • Missing or invalid version of SQL Library PSORA with 8.50

    Although unsupported, I am trying to get a HCM 9.1 on PT 8.50.05 running on a 64 bit Windows 7 Pro laptop. Running 11.1.0.7 Windows 2008 64 bit Oracle. I installed the 32 bit Oracle 11.1.0.7 client for Win2008 also.
    Every thing seems OK until I try to start an App Server domain. I can login two-tier via PS. I can connect sqlplus with SYSADM and people. I ran the VERSION AE process without incident. Datamover runs fine with PS and bootstrap.
    When I try to boot my domain, I get the "Missing or invalid version of SQL library PSORA (200,0)" error. In stderr file it notes "LoadLibraryA() in pscompat.dll failed for 'PSORA.dll': reason=126".
    I have the path to my 32bit client files within the app servers' AddtoPath setting. I even tried using the UseLocalOracleDB settings but that didn't help either.
    Any of you smart folks have any suggestions (aside from using a Supported OS and calling Oracle support)?

    I set the app server log fence to 5 and it still doesn't provide any real insight. Sorry if this i little long:
    PSADMIN.3916 (0) [01/25/10 10:00:51](0) Begin boot attempt on domain HR91DMO
    PSAPPSRV.2868 (0) [01/25/10 10:01:28](0) PeopleTools Release 8.50.05 (WinX86) starting. Tuxedo server is APPSRV(99)/2
    PSAPPSRV.2868 (0) [01/25/10 10:01:28](4) Server Environment:
    PSAPPSRV.2868 (0) [01/25/10 10:01:28](4) Server Configuration Settings: {logging level=5, sql trace=15, client sql trace mask=12319, peoplecode trace=0, client PC trace mask=4095, Time-out=0, recycle count=1000, max conseq svc failures=0, database type=ORACLE, database name='HR91DMO', database server='*****', user id='PS', connect id='people'}
    PSAPPSRV.2868 (0) [01/25/10 10:01:28](0) Cache Directory being used: C:\PT8.50\PS_CFG_HOME\appserv\HR91DMO\CACHE\PSAPPSRV_2\
    PSAPPSRV.2868 (0) [01/25/10 10:01:28](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library PSORA (200,0)
    PSAPPSRV.2868 (0) [01/25/10 10:01:28](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database HR91DMO with user PS.
    PSAPPSRV.2868 (0) [01/25/10 10:01:28](0) Server failed to start
    PSADMIN.3916 (0) [01/25/10 10:01:35](0) End boot attempt on domain HR91DMO
    Tux log just has
    100106.MPMCT3!tmadmin.2164.2188.-2: TMADMIN_CAT:1330: INFO: Command: boot -A
    100109.MPMCT3!tmboot.3816.3796.-2: 01-25-2010: Tuxedo Version 10.3.0.0 with VS2005, 32-bit
    100109.MPMCT3!tmboot.3816.3796.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 120 seconds
    100109.MPMCT3!tmboot.3816.3796.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
    100113.MPMCT3!BBL.3872.3804.0: 01-25-2010: Tuxedo Version 10.3.0.0 with VS2005, 32-bit, Patch Level (none)
    100113.MPMCT3!BBL.3872.3804.0: LIBTUX_CAT:262: INFO: Standard main starting
    100115.MPMCT3!tmboot.3076.696.-2: 01-25-2010: Tuxedo Version 10.3.0.0 with VS2005, 32-bit
    100115.MPMCT3!tmboot.3076.696.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 120 seconds
    100115.MPMCT3!tmboot.3076.696.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
    100117.MPMCT3!PSWATCHSRV.356.1968.-2: 01-25-2010: Tuxedo Version 10.3.0.0 with VS2005, 32-bit
    100117.MPMCT3!PSWATCHSRV.356.1968.-2: LIBTUX_CAT:262: INFO: Standard main starting
    100127.MPMCT3!PSAPPSRV.2868.1040.0: 01-25-2010: Tuxedo Version 10.3.0.0 with VS2005, 32-bit
    100127.MPMCT3!PSAPPSRV.2868.1040.0: LIBTUX_CAT:262: INFO: Standard main starting
    100128.MPMCT3!PSAPPSRV.2868.1040.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
    100129.MPMCT3!tmboot.3076.696.-2: tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
    100132.MPMCT3!BBL.3872.3804.0: CMDTUX_CAT:26: INFO: The BBL is exiting system
    100135.MPMCT3!PSADMIN.3916: End boot attempt on domain HR91DMO
    Stderr has this
    LoadLibraryA() in pscompat.dll failed for 'PSORA.dll': reason=126
    Edited by: Chris.C on 25-Jan-2010 1:25 PM

  • How to select in an if pl sql block

    Hi
    I want to do something like the followings
    DECLARE
         empcnt number ;
    BEGIN
         BEGIN
              select count(*)  into empcnt from employees where status = 'L';
          EXCEPTION
               WHEN NO_DATA_FOUND THEN
                 empcnt := 0;          
         END;
         IF empcnt > 0 THEN
              select * from employees;
              ---dbms_output.put_line is not permitted
         END IF;
    END;
    I don't have permission to create object type or table either,   how can I do it?
    thanks

    And what does ANY of that have to do with sql developer?
    SQL Developer (Not for general SQL/PLSQL questions)

  • Oracle 10.1.0.4.2 SQL Plus dbms_output.put_line not working

    I am using Oracle 10.1.0.4.2 SQL Plus, and dbms_output.put_line is not working. It returns the dbms_output ONLY from outside the procedure. I have dbms_output INSIDE my procedure, and none of it gets returned. Please help!
    Here is what I enter:
    set serveroutput on size 1000000;
    DECLARE
         x number:=0;
    begin
    DBMS_OUTPUT.ENABLE;
    c2reports.c2proc(x,'TEST');
    DBMS_OUTPUT.PUT_LINE('testX');
    END;
    testX
    There should be more besides the 'testX' that gets returned. The first line in my procedure has output code to print testY. Thanks in advance!

    This is the forum for the Oracle's SQL Developer (Not for general SQL/PLSQL questions). You should ask question like this in the PL/SQL forum

Maybe you are looking for

  • LDAP Windows 2000 Login name

    Hi ! I use the following code to authenticate users against a Windows 2000 Active Directory. My problem is that I have to pass the user name "John Doe" instead of the login name "johndoe" as a parameter. How can I achive this ? I know, I have to use

  • Select options values pass to function module

    Hi all,         I want to pass the values entered in the select options to the function module. How should my function module interface be declared for passing the select options I tried declaring like t_range type data in the tables tab.  But this t

  • Activation of Business Content Datasources in CRM Source system

    Hi,       My Requirement is to activate all Datasources in CRM Develoment server.I have select the entire node in RSA5 and click "Activate Datasources".But for each Datasources system is askin for develoment request.Is there any procedure to activate

  • Photoshop Elements 9 & Pixelmator on New Macbook Air - Frustrated!

    If I use zoom on either photoshop elements 9 or Pixelmator and then try to use a brush tool the the cursor reverts to a normal cursor and the brush circle is missing. Then if you click the brush marks appear but not near the cursor. Then both program

  • Attaching photos as a file

    How can you attach a photo file without the actual photo showing on the email. If I go to the "Attach" not all my photos are there from IPhoto. Some are, some are not. Is there a way to have them copy over to the "Pictures" on Finder? Thanks