11G Upgrade - EBS 12.1.2

I have a few questions on the 11G upgrade.
DB - 11.2.0.3 - OS - zLinux
EBS - 12.1.2 - SLES 10-SP3
I am following note 1058763.1 (Interoperability Notes Oracle E-Business Suite Release 12 with Oracle Database 11g Release 2 (11.2.0) - and am at step 23 - Implement and Run Autoconfig
Referring to 387859.1 (Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12), I have finished unzipping the appsutil.zip file to the $ORACLE_HOME on the database tier using the unzip -o appsutil.zip.
The next step in 387859.1 requires running autoconfig on the DB tier - for which I don't find the $ORACLE_HOME/appsutil/scripts folder.
Section 3.2 of 387859.1 refers to Installing JRE on the Database tier - however when I run the java -version command - I already get the following output on the upgraded 11g home.
tebsdb01:EBST1:/t01/product/db11.2.0.3 > java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxz6460sr9fp3ifix-20111215_04(SR9 FP3+IV12154))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux s390x-64 jvmxz6460sr9-20111214_97396 (JIT enabled, AOT enabled)
J9VM - 20111214_097396
JIT - r9_20101028_17488ifx31
GC - 20101027_AA)
JCL - 20110727_04
tebsdb01:EBST1:/t01/product/db11.2.0.3 >
My first question - what steps have I missed that have resulted in a missing $ORACLE_HOME/appsutil/scripts folder
My second question - if my java version is already 1.6.0, is there a need to continue with instaling JRE on the database tier?
This is the first time I am running through a 11g upgrade - hence the plethora of questions.
Thanks so much in advance for your help.
Regards

One last question regarding this 11gR2 upgrade.
My APPS and BA team are now asking what kind of testing they should be doing on an upgraded 11gR2 instance.
Can anyone who has upgraded an instance (DB only) shed some light on this aspect of the QA testing process?Since the database upgrade does not change any of the underlying objects under Oracle EBS schemas, you need to do basic checks to verify this upgrade. Examples are ..
- You can shutdown/startup the database with no issues
- No errors are reported in the database log files
- Submit concurrent programs and make sure it completes successfully
- Make sure CM and all services are up
- Create/Update Users/Responsibilities
- Make sure AutoConfig complete successfully
..etc
Thanks,
Hussein

Similar Messages

  • Upgrade ebs Database 10G to 11G  (Os upgrade from 32 to 64)

    I have to perform the following upgrade:
    ebs Database 10G to 11G (Os upgrade from 32 to 64)
    Any information is welcome.
    Thank you in advance.
    Edited by: Atanas Cholakov on Nov 19, 2012 2:27 AM

    Please also see:
    11gR2 11.2.0.3 Database Certified with E-Business Suite
    https://blogs.oracle.com/stevenChan/entry/11gr2_11_2_0_3
    Thanks,
    Hussein

  • 11g Upgrade from 10.2.0.4 in SUSE 10.

    Hi Gurus,
    We have 11g Database upgrade on our EBS 11i environment, database size is around 1.3 TB, i already did test upgrade it was not satisfactory results what client is expecting regarding downtime, i followed manual upgrade as i am very much familier with that, i your views and suggestions to reduce upgrade downtime.
    11g Upgrade from 10.2.0.4 in SUSE 10.

    Hi,
    Is your database is RAC or NON-RAC.
    If you are going for patchset upgrade then you can go for roll upgrade patch.
    as you know, you cannot escape the downtime always. ;-)
    i already did test upgrade it was not satisfactory results what client is expecting regarding downtime, i followed manual upgrade as i am very much familier with thatOracle introduces DBUA with many features, still why you are not going for DBUA?
    You have to test the TEST environment using DBUA ;-)
    If for example For 1.3 TB you are going to consistent backup, still you have down time. then there is no point to think on UPGRADE duration.
    but you can perform pro-actively like.. install the 11g ORACLE_HOME before the downtime. & so on.

  • 11g Upgrade Issues and Questions

    Hi,
    I am upgrading database from 9.2.0.6 to 11g in EBS, Apps version is 11.5.10.2.
    I have performed 11.1.0.7 patch set installation tasks & Apply additional 11.1.0.7 RDBMS patches
    Now my query is that I have to copy InitSID.ora from 9i to 11g before or after database Upgrade(using DBUA)?
    When I have to set Database Initialization Parameters for Oracle Applications Release 11i before or after database Upgrade(using DBUA)?
    Regard's
    GSM

    Hi,
    The output of utlu111i.sql script is as below before upgrade.We have to make any modification before upgrade.If yes where I have to do the changes.
    SQL> @utlu111i.sql
    Oracle Database 11.1 Pre-Upgrade Information Tool 04-09-2010 12:55:26
    Database:
    --> name: PROD
    --> version: 9.2.0.8.0
    --> compatible: 9.2.0
    --> blocksize: 8192
    --> timezone file: V4
    Logfiles: [make adjustments in the current environment]
    --> The existing log files are adequate. No changes are required.
    Tablespaces: [make adjustments in the current environment]
    --> SYSTEM tablespace is adequate for the upgrade.
    .... minimum required size: 8052 MB
    --> ODM tablespace is adequate for the upgrade.
    .... minimum required size: 10 MB
    --> APPS_UNDOTS1 tablespace is adequate for the upgrade.
    .... minimum required size: 299 MB
    --> APPS_TS_TX_DATA tablespace is adequate for the upgrade.
    .... minimum required size: 2322 MB
    --> APPS_TS_QUEUES tablespace is adequate for the upgrade.
    .... minimum required size: 70 MB
    --> OLAP tablespace is adequate for the upgrade.
    .... minimum required size: 16 MB
    Update Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    WARNING: --> "compatible" must be set to at least 10.1.0
    Renamed Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    -- No renamed parameters found. No changes are required.
    Obsolete/Deprecated Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    --> "optimizer_max_permutations"
    --> "row_locking"
    --> "undo_suppress_errors"
    --> "max_enabled_roles"
    --> "enqueue_resources"
    --> "sql_trace"
    --> "background_dump_dest" replaced by "diagnostic_dest"
    --> "user_dump_dest" replaced by "diagnostic_dest"
    --> "core_dump_dest" replaced by "diagnostic_dest"
    Components: [The following database components will be upgraded or installed]
    --> Oracle Catalog Views [upgrade] VALID
    --> Oracle Packages and Types [upgrade] VALID
    --> JServer JAVA Virtual Machine [upgrade] VALID
    --> Oracle XDK for Java [upgrade] VALID
    --> Real Application Clusters [upgrade] INVALID
    --> OLAP Analytic Workspace [upgrade] UPGRADED
    --> OLAP Catalog [upgrade] VALID
    --> Oracle Text [upgrade] VALID
    --> Oracle XML Database [install]
    --> Oracle Java Packages [upgrade] VALID
    --> Oracle interMedia [upgrade] VALID
    --> Spatial [upgrade] VALID
    --> Data Mining [upgrade] VALID
    --> Oracle OLAP API [upgrade] UPGRADED
    Miscellaneous Warnings
    WARNING: --> Passwords exist in some database links.
    .... Passwords will be encrypted during the upgrade.
    .... Downgrade of database links with passwords is not supported.
    WARNING: --> Deprecated CONNECT role granted to some user/roles.
    .... CONNECT role after upgrade has only CREATE SESSION privilege.
    WARNING: --> Database contains stale optimizer statistics.
    .... Refer to the 11g Upgrade Guide for instructions to update
    .... statistics prior to upgrading the database.
    .... Component Schemas with stale statistics:
    .... SYS
    .... OLAPSYS
    .... MDSYS
    .... ODM
    WARNING: --> Database contains INVALID objects prior to upgrade.
    .... The list of invalid SYS/SYSTEM objects was written to
    .... registry$sys_inv_objs.
    .... The list of non-SYS/SYSTEM objects was written to
    .... registry$nonsys_inv_objs.
    .... Use utluiobj.sql after the upgrade to identify any new invalid
    .... objects due to the upgrade.
    .... USER APPS has 3 INVALID objects.
    WARNING: --> Database contains schemas with objects dependent on network
    packages.
    .... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
    .... USER APPS has dependent objects.
    .... USER MDSYS has dependent objects.
    SYSAUX Tablespace:
    [Create tablespace in the Oracle Database 11.1 environment]
    --> New "SYSAUX" tablespace
    .... minimum required size for database upgrade: 500 MB
    PL/SQL procedure successfully completed.
    SQL> spool off
    Thank's
    Regards
    GSM

  • 11g Upgradation

    Hi,
    We are doing an upgrade from 9i to 11g with EBS .We have upgraded the dbase and as a post step its mentioned in metalink doc 452783.1 as below.
    Run adgrants.sql
    Copy $APPL_TOP/admin/adgrants.sql (adgrants_nt.sql for Windows) from the administration server node to the database server node. Use SQL*Plus to connect to the database as SYSDBA and run the script using the following command:
    $ sqlplus "/ as sysdba" @adgrants.sql (or adgrants_nt.sql)
    <APPLSYS schema name>
    Grant create procedure privilege on CTXSYS
    Copy $AD_TOP/patch/115/sql/adctxprv.sql from the administration server node to the database server node
    Anyone have any idea where to copy adgrants.sql,adctxprv.sql in database node.?
    Thanks,
    praveen

    HI hsawwan ,
    Thank you for your prompt reply..
    One more doubt is that after the database upgrade ...it is mentioned to start the listener ,but the oracle_home of 11g contains just:
    $ORACLE_HOME/network/admin
    $ ls
    samples shrept.lst
    In the main doc ,it is mentioned to start the listener.Since in EBS environment,listener.ora,sqlnet.ora,tnsnames.ora is configured by autoconfig...and we are running the autoconfig as the next step after starting the listener(and also for runnning the autoconfig,listner shud be up)...so can we just copy the listener.ora,sqlnet.ora,tnsnames.ora files from old instance and edit oracle_home and other relevant entries in it...???
    Also when we copy appsutil.zip and run autoconfig in dbtier will it overwrite these files which we copied...
    In documents:452783.1 and 429825.1 nothing is mentioned regarding this...
    Pls help...
    Thanks,
    Praveen

  • Upgrade EBS 11i To R12.2

    Hello ,
    I need help if you can send me notes , DOC   .... step by step how to upgrade EBS 11i to R12.2
    Thanks

    Hi,
    there are MOS notes and Whitepapers available.
    Note that there are some SLA upgrade jobs in the upgrade from 11i to Release 12.2.0, especially ... most current data is being upgraded.
    Best Practices for Minimizing Oracle EBS R12.2.n Upgrade Downtime Whitepaper
    regards

  • Oracle DB 10g to 11g Upgrade

    Hi,
    We have a SAP Oracle Database, the size is 1.5 TB.
    The Hardware details are
    Application – SAP ERP 6.0 EHP5 SPS6
    Database – Oracle 10.2.0.2
    OS Platform – AIX 5.3 TL05, SP06
    HW – 8 Dual Core CPU’s, 256 GB RAM on DB-CI server
    Test Environment : 32 GB RAM
    Please from your experience let me know how much time will a 10g to 11g upgrade will take.
    Regards,
    Narayan

    hi,
    There are several parameters you have to check before upgrading. Commonly it is independent of size of database.I think it will take as minimum 1 hour. Check the links to speed up upgrading and to consider pre-upgrade preparation:
    https://blogs.oracle.com/UPGRADE/entry/how_long_will_your_upgrade_tak
    http://www.oracle.com/technetwork/database/upgrade/best-practices-for-upgrading-11gr2-174946.pdf

  • There are some form errors after upgrading ebs from 12.1.1 to 12.1.3

    Hello , EBS experts,
    I have some upgrading issues need your great help. thanks in advance!
    We have installed EBS 12.1.1 on Oracle Linux 5.7, everything is okay.
    Now, we need to upgrading EBS from 12.1.1 to 12.1.3, after all the upgrading process were done. We have encountered the form error while opening the AR transaction forms as below
    ORA-01403: no data found
    FRM-40735: PRE-FORM trigger raised unhandled exception ORA-04062.
    Lots of Receivable forms have the same issue, I have upgrading the ebs from 12.1.1 to 12.1.3 with 2 times, but every time, I have encountered the same issue.
    Can anyone have me? it's very urgent for me to finish this task, thanks!
    Here is my upgrading process for your reference
    1. Installed the EBS 12.1.1 and everything is okay(Create a AR, AP transaction and invoice and post to gl).
    2. I have referenced this document to upgrading the EBS
    Oracle E-Business Suite Release 12.1.3 Readme [ID 1080973.1]
    To apply Oracle E-Business Suite Release 12.1.3, follow these steps:
    1) 9239089
    2) 9239090(US), then applied the 9239090_zhs as I have the zhs language on the EBS 12.1.1
    3) 9239095
    Post-Update Steps
    1. Apply post-install Oracle E-Business Suite Applications Technology patches. (Required)
    4)9817770
    5)9966055
    2. Update database tier nodes with the Oracle E-Business Suite Release 12.1.3 code level.
    Application tier:
    Database tier:
    3. I have applied the following patches before upgrading to 12.1.3(before step 2 as above)
    Database Preparation Guidelines for an E-Business Suite Release 12.1.1 Upgrade [ID 761570.1]
    Database Preparation Guidelines for an Oracle E-Business Suite Release 12.1.1 Upgrade
    Patch E
    B) For users on 11.1.0.7:
    7111245 - 7684818 also includes 7111245 but this is a later version of the patch. Disregard errors related to 7111245 being installed when applying 7684818.
    7211965
    7330434
    7486407
    7627743
    7639602
    7684818
    8199107
    8639653
    8940108
    9026927
    9066130
    9554727
    9743057
    (I have compared the above patches with my db(ebs 12.1.1 ) and some patches have already been applied based on EBS 12.1.1), and the following patches were not included on the db, so I applied the following patches one by one
    7684818
    8199107
    8639653
    8940108
    9026927
    9066130
    9554727
    9743057
    Modify Initialization Parameters
    disablefast_validate=TRUE
    pgamax_size=104857600
    Can anyone help me on this issue? thanks!
    Open AR forms such as transaction, receipt, etc, and always encountered the same issues as below
    ORA-01403: no data found
    FRM-40735: PRE-FORM trigger raised unhandled exception ORA-04062.
    The AR forms opened failed. thanks!
    Thanks!
    Chuan Ling

    Hi, Helios,
    Thanks for your great help on this issues.
    Here is my verification result for your reference as below
    1.Known errors generated on the People form (PERWSHRG) [ID 206584.1]
    10 -      Error: FRM-40735:PRE-FORM trigger raised unhandled exception ORA-04062.
    ORA-01403:no data found
    APP-FND-01242:cannot read value from field: GLOBAL.G_NAV_NODE_USAGE_ID
    Cause: The field: Global.G_NAV_NODE_USAGE_ID couldn't be located or read.
         Resolution: This is an issue associated with multiple APPL_TOPS. Ensure
    that references to the APPL_TOP are pointing to correct one.
    I don't know how to fix this? do you know?
    2.After Upgrade From R12.0.4 To 12.1.1 Property Manager Forms Give Error FRM-40735 [ID 1092394.1]
    [r12app@infsgvm14 forms]$ strings -a $PN_TOP/patch/115/sql/PNPFUNCB.pls | grep '$Header:'
    -- $Header: PNPFUNCB.pls 120.19.12010000.12 2010/03/26 10:43:10 rthumma ship $
    my file's version is 120.19.12010000.12, so ignore this step
    3.Property Manager Forms Error FRM-40735 After Upgrade From 12.0.6 to 12.1.2 [ID 1091124.1]
    did you know how to set this 1) Please set Property Manager status to "Installed" via License Manager.
    I don't find this on license manager.
    4.Frm-40735 Ora-04062 When Trying To Open Transactions Form [ID 1363671.1]
    just checked the custom.pll and custom.plx and they are existed in AU_TOP/resource, I want to re-generated this custom.plx using this
    frmcmp module=CUSTOM.pll userid=apps/apps@hostname module_type=LIBRARY
    but have some issues.
    [r12app@infsgvm14 resource]$ frmcmp module=CUSTOM.pll userid=apps/[email protected] module_type=LIBRARY
    Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.3.0 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.5.0 Production
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    so, it's strange.
    Thanks!
    Chuan Ling

  • Error while upgrading EBS 12.0.4 to 12.1.1

    Hi,
    I am in a process of upgrading EBS from 12.0.4 to 12.1.1. I have applied patch 7461070 (from making R12.AD.B.1 )
    Then i started patch 7303030. It was going on fine for some time but now i am facing below error.
    There are now 18510 jobs remaining (current phase=A8):
    3 running, 9 ready to run and 18498 waiting.
    Deferred: file jtf_diagnostic_test.xdf on worker 4 for product fnd username AP
    PS. (Deferment number 2 for this job)
    Assigned: file az_structure_apis_b.xdf on worker 4 for product az username AP
    PS.
    FAILED: file AHL_MR_HEADERS_B.xdf on worker 1 for product ahl username APPS.
    FAILED: file az_sel_set_ent_b.xdf on worker 2 for product az username APPS.
    FAILED: file az_structure_apis_tl.xdf on worker 3 for product az username A
    PPS.
    FAILED: file az_structure_apis_b.xdf on worker 4 for product az username AP
    PS.
    ATTENTION: All workers either have failed or are waiting:
    FAILED: file AHL_MR_HEADERS_B.xdf on worker 1.
    FAILED: file az_sel_set_ent_b.xdf on worker 2.
    FAILED: file az_structure_apis_tl.xdf on worker 3.
    FAILED: file az_structure_apis_b.xdf on worker 4.
    ATTENTION: Please fix the above failed worker(s) so the manager can continue.
    Then i searched and in worker log (present at D:\oracle\PROD\apps\apps_st\appl\admin\PROD\log) i found this.
    Performing AOL meta data updates
    Error during upload of Fnd_Primary_Keys
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'UPLOADPRIMARYKEY'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Attempting to update fnd tablespace meta data
    Upload of Fnd_Object_Tablespaces is successful
    Updating task with status 1
    AD Worker error:
    The utility FndXdfCmp returned error for the above task.
    AD Worker error:
    The above program failed. See the error messages listed
    above, if any, or see the log and output files for the program.
    Time when worker failed: Wed Jul 01 2009 19:02:36
    Please tell me what i need to do in order to apply the patch successfully.
    Thank You,
    Niranjan.

    Hi,
    Yes all of my worker logs are giving same error.
    In one of your thread i read that "You need to apply R12.AD.B.1 (Patch 7461070) before applying 12.1.1 Maintenance Pack."
    So i applied this pack successfully.
    Also i ran adpatch with options=prereq. and i got the below warning :
    AutoPatch warning:
    option: "prereq" is not supported on R12
    So i applied Patch 7461070 and then started with patch 7303030.
    Thank You,
    Niranjan

  • Oracle 11g upgrade: How to update stale statistics for sys and sysman?

    Hi,
    I am in the process of testing Oracle 11g upgrade from Oracle 10.2.0.3. I have run utlu111i.sql on the 10g database.
    The utility utlu111i.sql reports about the stale statistics for SYS and SYSMAN components.
    I executed dbms_stats.gather_dictionary_stats; dbms_stats.gather_schema_stats('SYS'); and dbms_stats.gather_schema_stats('SYSMAN');
    After that the utlu111i.sql still reports the stale statistics for sys and sysman. Does anyone know how to get rid off this warning successfully?
    Thanks,
    Sreekanth

    Does anyone know how to get rid off this warning successfully?Just ignore the warnings. Check The Utlu111i.Sql Pre-Upgrade Script Reports Stale Sys Statistics - 803774.1 from Metalink.

  • Oracle packages - nested table cursor - 11g upgrade testing

    I have a package call Crisis_Contacts. This package has a function(generate_file) in it that has a create cusor statement which calls on another function(split) in another package called NCF_UTL. In testing our code for a 11g upgrade the cursor statement calling on the split function is throwing a Error: ORA-00600: internal error code, arguments: [4814], [5], [0], [0], [], [], [], [], [], [], [], [] when compiling the package, which it was not doing prior to upgrade. Can you suggest a possible workaround or mod to this code to stop the error from occuring.
    Basically, this code is reading html files and spliting them into section and loading them into the cursor. Then the cursor is read to write them to a table. Then it reads the table and transmits the lines of html to another location.
    CREATE OR REPLACE package body ACADMGR.crisis_contacts as
    function generate_file( file_type in varchar2,
    person_pidm in integer := null,
    person_id in varchar2 := null,
    dry_run in varchar2 := 'N',
    pidm_filter in varchar2 := null,
    include_placeholders in varchar2 := 'N',
    comments in varchar2 := null ) return integer is
    cursor typeDef is
    select * from crisis_contact_file_type ccft
    where ccft.file_type = generate_file.file_type;
    file_type_def typeDef%rowtype;
    cursor fieldDef is
    select * from crisis_contact_file_field ccff
    where ccff.file_type = generate_file.file_type
    order by seq asc;
    type r_typ is ref cursor;
    r r_typ;
    datasel varchar2(32767) := '';
    r_pidm integer;
    pers_pidm integer := person_pidm;
    prev_pidm integer;
    r_tag varchar2(255);
    r_val varchar2(4000);
    type field_list is table of varchar2(256);
    type field_index is table of integer index by varchar2(256);
    type val_list is table of varchar2(4000);
    type req_tbl is table of boolean index by varchar2(256);
    req_fields field_list := field_list();
    all_req_seen boolean;
    fields field_list := field_list();
    vals val_list := val_list();
    field_idx field_index;
    out_id integer;
    out_line integer := 0;
    buf varchar2(4000);
    saved_out_line integer := 0;
    xml_section_lf_delims ncf_utl.split_tbl := ncf_utl.split_tbl( ncf_utl.crlf, chr(13), chr(10) );
    cursor splitcur( txt in varchar2 ) is
    select column_value line from table(ncf_utl.split( txt, xml_section_lf_delims ));
    cursor get_output is
    select text from crisis_contact_file_line
    where output_id = out_id
    order by line_no asc;
    log_time date := sysdate;
    log_seq integer := 1;
    procedure outp( txt in varchar2 ) is
    begin
    --dbms_output.put_line( txt );
    insert into crisis_contact_file_line
    ( output_id, line_no, text )
    values
    ( out_id, out_line, txt );
    out_line := out_line + 1;
    end;
    procedure split_outp( txt in varchar2 ) is
    begin
    if txt is not null then
    for r in splitCur( txt ) loop
    outp( r.line );
    end loop;
    end if;
    end;
    begin
    open typeDef;
    fetch typeDef into file_type_def;
    close typeDef;
    if pers_pidm is null and person_id is not null then
    select distinct(spriden_pidm) into pers_pidm from spriden
    where spriden_id = person_id;
    end if;
    insert into crisis_contact_file_out ( file_type, comments ) values ( file_type, comments )
    returning output_id into out_id;
    datasel := gen_outfile_sql( file_type, pers_pidm, pidm_filter, include_placeholders );
    if dry_run = 'Y' then
    ncf_utl.output_text( datasel );
    else
    split_outp( file_type_def.preamble );
    buf := '';
    for f in fieldDef loop
    fields.extend;
    fields(fields.last) := f.alias;
    field_idx(f.output_field) := fields.last;
    vals.extend();
    if f.mandatory = 'Y' then
    req_fields.extend;
    req_fields(req_fields.last) := f.output_field;
    end if;
    if file_type_def.file_mode = 'DELIM' and file_type_def.print_heading = 'Y' then
    buf := buf || case when fieldDef%rowcount > 1 then nvl(file_type_def.delimiter,',') else '' end ||
    nvl(file_type_def.quote,'') || nvl(f.alias,f.output_field) || nvl(file_type_def.quote,'');
    end if;
    end loop;
    if length(buf) > 0 then
    outp(buf);
    end if;
    --outp( '<?xml version="1.0" encoding="UTF-8"?>' );
    --outp( '<recipients>' );
    open r for datasel;
    loop
    fetch r into r_pidm, r_tag, r_val;
    exit when r%notfound;
    if prev_pidm is null or prev_pidm != r_pidm then
    if prev_pidm is not null then
    split_outp( file_type_def.record_end );
    all_req_seen := true;
    --check and reset 'seen' flags for required fields
    for i in 1..req_fields.count loop
    if vals(field_idx(req_fields(i))) is null then
    all_req_seen := false;
    end if;
    end loop;
    --if not all_req_seen then
    -- rollback to USER_START;
    -- out_line := saved_out_line;
    --end if;
    if all_req_seen then
    buf := '';
    for i in 1..fields.count loop
    if file_type_def.file_mode = 'XML' then
    outp( ' <' || fields(i) || '>' || vals(i) || '</' || fields(i) || '>' );
    elsif file_type_def.file_mode = 'DELIM' then
    buf := buf || case when i > 1 then nvl(file_type_def.delimiter,',') else '' end ||
    nvl(file_type_def.quote,'') || vals(i) || nvl(file_type_def.quote,'');
    end if;
    end loop;
    if file_type_def.file_mode = 'DELIM' then
    outp(buf);
    end if;
    end if;
    end if;
    --savepoint USER_START;
    --saved_out_line := out_line;
    if r_tag != 'endofdata' then
    split_outp( file_type_def.record_start );
    end if;
    for i in 1..fields.count loop
    vals(i) := null;
    end loop;
    end if;
    prev_pidm := r_pidm;
    if field_idx.exists(r_tag) then
    if r_val is not null then
    vals(field_idx(r_tag)) := r_val;
    end if;
    end if;
    end loop;
    if pers_pidm is not null then
    split_outp( file_type_def.record_end );
    end if;
    split_outp( file_type_def.postamble );
    --for o in get_output loop
    -- dbms_output.put_line( o.text );
    --end loop;
    end if;
    return out_id;
    end generate_file;
    procedure gen_and_transmit( file_type in varchar2,
    username in varchar2, pass in varchar2,
    pidm_filter in varchar2 := null,
    include_placeholders in varchar2 := 'N',
    comments in varchar2 := null,
    url_base in varchar2 := null, url_path in varchar2 := null,
    ssl_wallet_path in varchar2 := null, ssl_wallet_pass in varchar2 := null ) is
    out_id integer;
    begin
    out_id := generate_file( file_type, pidm_filter => pidm_filter,
    include_placeholders => include_placeholders,
    comments => comments );
    --transmit_file( out_id, username, pass,
    transmit_file( out_id, 'mhaywood', '------------',
    url_base => url_base, url_path => url_path,
    ssl_wallet_path => ssl_wallet_path, ssl_wallet_pass => ssl_wallet_pass );
    end gen_and_transmit;
    begin
    UTL_HTTP.set_persistent_conn_support( true, 10 );
    end;
    create or replace
    PACKAGE BODY NCF_UTL IS
    PROCEDURE OUTPUT_TEXT( BUFFER IN VARCHAR2, LINE_LEN IN INTEGER := 80 ) IS
    TYPE CHRLIST IS TABLE OF VARCHAR2(1);
    cr VARCHAR2(1) := CHR(13);
         lf VARCHAR2(1) := CHR(10);
         tab VARCHAR2(1) := CHR(9);
         whitespace CHRLIST := CHRLIST( ' ', tab );
         pos INTEGER := 1;
         len INTEGER;
         brk INTEGER;
         curbrk INTEGER;
         lnbrk INTEGER;
         whtbrk INTEGER;
         i INTEGER;
    BEGIN
    len := LENGTH(BUFFER);
         WHILE pos <= len
         LOOP
         WHILE SUBSTR( BUFFER, pos, 1 ) IN ( cr, lf )
         LOOP
         pos := pos + 1;
         END LOOP;
         --find the next newline type char, or pos+250 if one isn't found
    lnbrk := LEAST( NVL(NULLIF(INSTR( BUFFER, cr, pos ),0),pos+250),
                             NVL(NULLIF(INSTR( BUFFER, lf, pos ),0),pos+250) );
         --after the loop:
         -- whtbrk should be the last whitespace char before LINE_LEN + pos
         -- (or == pos, if none found)
         -- curbrk should be == 0 or the 1st whitespace after LINE_LEN + pos
         whtbrk := pos;
         curbrk := pos;
         FOR i IN 1..whitespace.COUNT
         LOOP
         LOOP
         curbrk := INSTR( BUFFER, whitespace(i), whtbrk + 1 );
              IF curbrk <= pos + LINE_LEN AND curbrk >= whtbrk THEN
              whtbrk := curbrk;
              END IF;
              EXIT WHEN curbrk > pos + LINE_LEN OR curbrk = 0;
              END LOOP;
              EXIT WHEN curbrk > pos + LINE_LEN;
         END LOOP;
         brk := LEAST( len + 1, lnbrk, NVL( NULLIF( whtbrk, pos ), pos + 250 ),
                        NVL( NULLIF( curbrk, 0 ), pos + 250 ), pos + 250 );
         dbms_output.put_line( SUBSTR( BUFFER, pos, brk - pos ) );
         pos := brk;
         END LOOP;
    END;
    function split( str in varchar2, d0 in varchar2, d1 in varchar2 := null,
    d2 in varchar2 := null, d3 in varchar2 := null,
    d4 in varchar2 := null, d5 in varchar2 := null,
    d6 in varchar2 := null, d7 in varchar2 := null,
    d8 in varchar2 := null, d9 in varchar2 := null )
    return split_tbl pipelined is
    pos integer := 1;
    curidx integer;
    idx integer;
    delims split_tbl;
    idx_delim varchar2(32767);
    len integer := length( str );
    begin
    if d0 is null then
    --split on whitespace
    delims := split_tbl( ' ', chr(9), chr(10), chr(13) );
    else
    delims := split_tbl( d0, d1, d2, d3, d4, d5, d6, d7, d8, d9 );
    end if;
    loop
    idx := -1;
    --we want the lowest value of IDX > 0
    for i in 1..delims.count loop
    curidx := instr( str, delims(i), pos, 1 );
    if curidx > 0 then
    if idx = -1 or curidx < idx then
    idx := curidx;
    idx_delim := delims(i);
    end if;
    end if;
    end loop;
    if idx > 0 then
    --if splitting on whitespace, treat any amount of it as
    --a single delimiter
    if d0 is not null or idx > pos then
    pipe row( substr( str, pos, idx - pos ) );
    end if;
    else
    -- also make sure to ignore trailing whitespace
    if d0 is not null or pos <= len then
    pipe row( substr( str, pos ) );
    end if;
    exit;
    end if;
    pos := idx + length( idx_delim );
    end loop;
    return;
    end split;
    function split( str in varchar2, delimiters in split_tbl := null )
    return split_tbl pipelined is
    i integer;
    cursor spcur( d0 in varchar2 := null, d1 in varchar2 := null,
    d2 in varchar2 := null, d3 in varchar2 := null,
    d4 in varchar2 := null, d5 in varchar2 := null,
    d6 in varchar2 := null, d7 in varchar2 := null,
    d8 in varchar2 := null, d9 in varchar2 := null ) is
    select column_value v from table (split(str,d0,d1,d2,d3,d4,d5,d6,d7,d8,d9));
    function x( i in integer ) return varchar2 is
    begin
    if delimiters.exists(i) then
    return delimiters(i);
    else
    return null;
    end if;
    end;
    begin
    for r in spcur( x(0),x(1),x(2),x(3),x(4),x(5),x(6),x(7),x(8),x(9) ) loop
    pipe row( r.v );
    end loop;
    end split;
    END;
    Thanks

    Curious behavior, but irrelevant, IMHO, since one never switches back and forth between two releases in the real world. All that STARTUP UPGRADE does is that it enables upgrade scripts to be run - it does not prevent statements like CREATE USER from being executed since the upgrade may create new needed accounts
    http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_twelve045.htm#SQPUG128
    HTH
    Srini

  • Oracle 11g upgrade in AIX 6.1 with HACMP

    Hi Friends,
    As i have two Power Servers running in AIX 6.1 with oracle 10g in HACMP in which SAP application is running.
    The one is standalone Database and other is central Instance.
    I have done the 11g upgrades successfully in my DEV and QAS servers which are non-cluster Environment.
    Now i want to do the same upgrade in PRD which is in HACMP.
    Please let me know what are the areas should i concentrate specially for cluster environment servers.
    Thanks,
    Hari

    DB Filesystems
    Filesystem GB blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 4.00 2.62 35% 15438 3% /
    /dev/hd2 8.00 5.03 38% 57744 5% /usr
    /dev/hd9var 4.00 2.85 29% 10914 2% /var
    /dev/hd3 4.00 3.50 13% 2575 1% /tmp
    /dev/fwdump 1.00 1.00 1% 13 1% /var/adm/ras/platform
    /dev/hd1 1.00 1.00 1% 6 1% /home
    /dev/hd11admin 0.25 0.25 1% 107 1% /admin
    /proc - - - - - /proc
    /dev/hd10opt 1.00 0.58 43% 9040 7% /opt
    /dev/livedump 0.25 0.25 1% 7 1% /var/adm/ras/livedump
    /dev/lv_oracle 2.00 1.86 8% 21 1% /oracle
    /dev/lv_ora_pip 2.00 2.00 1% 80 1% /oracle/PIP
    /dev/lv_usr_sap 2.00 1.92 5% 78 1% /usr/sap
    /dev/lv_sapmnt 2.00 0.62 70% 978 1% /sapmnt
    /dev/dumplv 95.00 32.80 66% 26790 1% /dump
    /dev/saparchlv 2.00 1.99 1% 57 1% /home/pipadm
    /dev/lv_pip_64 10.00 5.73 43% 18988 2% /oracle/PIP/102_64
    /dev/lv_mirlogA 1.00 0.61 40% 6 1% /oracle/PIP/mirrlogA
    /dev/lv_mirlogB 1.00 0.61 40% 6 1% /oracle/PIP/mirrlogB
    /dev/lv_oraarch 200.00 121.48 40% 433 1% /oracle/PIP/oraarch
    /dev/lv_oralogA 1.00 0.59 41% 8 1% /oracle/PIP/origlogA
    /dev/lv_oralogB 1.00 0.59 41% 8 1% /oracle/PIP/origlogB
    /dev/fslv01 2.00 1.97 2% 102 1% /oracle/PIP/saparch
    /dev/lv_sapbkp 5.00 5.00 1% 40 1% /oracle/PIP/sapbackup
    /dev/lv_sapchk 5.00 5.00 1% 80 1% /oracle/PIP/sapcheck
    /dev/lv_data1 200.00 86.26 57% 30 1% /oracle/PIP/sapdata1
    /dev/lv_data2 200.00 84.92 58% 26 1% /oracle/PIP/sapdata2
    /dev/lv_data3 200.00 84.92 58% 26 1% /oracle/PIP/sapdata3
    /dev/lv_data4 200.00 84.92 58% 26 1% /oracle/PIP/sapdata4
    /dev/lv_data5 200.00 84.92 58% 26 1% /oracle/PIP/sapdata5
    /dev/lv_data6 200.00 84.92 58% 26 1% /oracle/PIP/sapdata6
    /dev/lv_data7 200.00 84.92 58% 26 1% /oracle/PIP/sapdata7
    /dev/lv_data8 200.00 84.93 58% 26 1% /oracle/PIP/sapdata8
    /dev/lv_saporg 20.00 20.00 1% 7 1% /oracle/PIP/sapreorg
    /dev/saptrance 5.00 4.92 2% 588 1% /oracle/PIP/saptrace
    /dev/lv_inventry 2.00 1.99 1% 55 1% /oracle/oraInventory
    /dev/lv_102_64 10.00 5.05 50% 11044 1% /oracle/stage/102_64
    CI
    /dev/hd4 4.00 1.99 51% 14429 3% /
    /dev/hd2 8.00 5.01 38% 57680 5% /usr
    /dev/hd9var 4.00 3.38 16% 10936 2% /var
    /dev/hd3 4.00 3.82 5% 1362 1% /tmp
    /dev/fwdump 1.00 1.00 1% 18 1% /var/adm/ras/platform
    /dev/hd1 1.00 1.00 1% 55 1% /home
    /dev/hd11admin 0.25 0.25 1% 5 1% /admin
    /proc - - - - - /proc
    /dev/hd10opt 1.00 0.58 42% 9024 7% /opt
    /dev/livedump 0.25 0.25 1% 8 1% /var/adm/ras/livedump
    /dev/lv_oracle 2.00 2.00 1% 9 1% /oracle
    /dev/lv_ora_pip 2.00 2.00 1% 52 1% /oracle/PIP
    /dev/lv_usr_sap 10.00 10.00 1% 17 1% /usr/sap
    /dev/lv_client 2.00 1.86 8% 16 1% /oracle/client
    /dev/lv_smnt_pip 10.00 2.20 78% 114142 18% /sapmnt/PIP
    /dev/lv_sap_pip 10.00 8.10 19% 1577 1% /usr/sap/PIP
    /dev/lv_sap_cms 5.00 5.00 1% 8 1% /usr/sap/ccms
    root@pagedb:/ $ su - orapip
    pagedb:orapip 1> echo $ORACLE_HOME
    /oracle/PIP/102_64
    i have upgraded successfully in my DEV and QAS.
    So can i go with the same procedure as i went with non-cluster Env.
    Thanks

  • Upgrade EBS in 12.0.6 to 12.1.1,patch 7303030. adwork FAILED  cndictsys.ldt

    Hi all.
    My worker fail when run file cndictsys.ldt with developer Primary Key. apply patch 7303030 for upgrade EBS from 12.0.6 to 12.1.1.
    Uploading from the data file /u787/mangle/apps/apps_st/appl/cn/12.0.0/patch/115/import/US/cndictsys.ldt
    Altering database NLS_LANGUAGE environment to AMERICAN
    Dumping from LCT/LDT files (/u787/mangle/apps/apps_st/appl/fnd/12.0.0/patch/115/import/afdict.lct(120.0.12010000.1), /u787/mangle/apps/apps_st/appl/cn/12.0.0/patch/115/import/US/cndictsys.ldt) to staging tables
    Dumping LCT file /u787/mangle/apps/apps_st/appl/fnd/12.0.0/patch/115/import/afdict.lct(120.0.12010000.1) into FND_SEED_STAGE_CONFIG
    Dumping LDT file /u787/mangle/apps/apps_st/appl/cn/12.0.0/patch/115/import/US/cndictsys.ldt into FND_SEED_STAGE_ENTITY
    Dumped the batch (FND_TABLE CN SYSTEM CN_MODULES_ALL_B , FND_FOREIGN_KEY CN_PERIOD_STATUSES_ALL_FK1 ) into FND_SEED_STAGE_ENTITY
    Uploading from staging tables
    Error loading seed data for FND_PRIMARY_KEY: APPLICATION_SHORT_NAME = CN, BUILDING_BLOCK_NAME = SYSTEM, TABLE_NAME = CN_PERIOD_TYPES_ALL, PRIMARY_KEY_NAME = CN_PERIOD_TYPES_UK1, ORA-20001: APP-FND-02003: More then one Developer Primary Key is defined on table CN_PERIOD_TYPES_ALL.
    Thanks for all help.
    Luis

    Hi Hussein thanks for you help.
    I open the SR. and this corresponds to the cn module (Oracle Incentive Compensation). I'm not using it.
    This can be verified by running the @$AD_TOP/sql/adutconf.sql with apps squema.
    output:
    CN Inactive 12.0.0 R12.CN.A.6 03-Apr-2013
    I skip this with the 8 option in the adctrl.
    Thanks & Regards
    Luis

  • Upgrading EBS from 11.5.10.2(11.2.0.2 database)  to R12.1.3

    Hello,
    we are running EBS 11.5.10.2 with 11.2.0.2 database. Now we are planing to upgrade only application from 11.5.10.2 to R12.1.3.
    Are there any issues in upgrading application from 11.5.10.2 to R12.1.3 , I heard that we can not upgrade application to R12.1.3 with 11.2.0.2 ,is it true.
    Regards

    As mentioned above, there should be no issues in upgrading 11i with 11gR2 instance to R12.
    Please also see (Database Preparation Guidelines for an E-Business Suite Release 12.1.1 Upgrade [ID 761570.1]), Path E.
    Please note that you have to upgrade to 12.1.1 first then upgrade to 12.1.3
    Oracle Applications Upgrade Guide: Release 11i to Release 12.1.1
    http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121upgrade.pdf
    Oracle E-Business Suite Release 12.1.3 Now Available
    http://blogs.oracle.com/stevenChan/2010/08/ebs_1213_available.html
    Re: Upgrade EBS 11.5.10 to 12.1.3  on Multi-Node Sun Solaris Sparc 64 bit
    Thanks,
    Hussein

  • Upgrading EBS 11.5.9 from 32-bit to 64-bit

    my company is planning upgrade EBS 11.5.9 from 32-bit to 64-bit. I have found out in this forum mentioned 11i Apps tier cannot be upgrade to 64-bit. Can we upgrade our oracle database 9.2.0.3.0 from 32-bit to 64-bit? Which version of RHEL can support 9.2.0.3.0? Is there any issue accessing oracle between Apps (32-bit) & DB server (64-bit, if able to upgraded from 32-bit)?
    Currently we are using 32-bit RHEL AS 2.1.

    user11978534 wrote:
    my company is planning upgrade EBS 11.5.9 from 32-bit to 64-bit. I have found out in this forum mentioned 11i Apps tier cannot be upgrade to 64-bit. Correct -- Frequently Asked Questions: Oracle E-Business Suite Support on x86-64 [ID 343917.1]
    Can we upgrade our oracle database 9.2.0.3.0 from 32-bit to 64-bit? No.
    Which version of RHEL can support 9.2.0.3.0? Check the certification matrix from MOS for the list of supported Linux OS with this database version.
    Is there any issue accessing oracle between Apps (32-bit) & DB server (64-bit, if able to upgraded from 32-bit)?
    Currently we are using 32-bit RHEL AS 2.1.There should be no issues -- Using Oracle Applications with a Split Configuration Database Tier on Oracle 9i Release 2 [ID 304489.1]
    Any reason you are still on 9.2.0.3 and not upgrading to 11gR2?
    Thanks,
    Hussein

Maybe you are looking for

  • Deleting duplicate rows based on three columns in Oracle 8i

    Hi all, The database we use is Oracle 8i. The query below raises the too_many_rows exception when I launch an application. So I want to delete the duplicated rows : select polarisation_1, polarisation_2 into v_pol1_tech, v_pol2_tech from v_cfh_lien_e

  • Daqmx howto stop trigger on timeout

    Hello, I've got a problem on a trigger. When my signal doesn't arrive, the trigger doesn't occur. My task has also a time-out, so when the timeout arrives, I want to sto the task. But then in the "RemoveHandler" function an exception is raised. In fa

  • Updating an existing DPS app via single edition

    Okay, so I already have an app live on the app store which I published a few months ago using the DPS Single Edition platform. I would now like to update/upgrade this app on the apple store with a new folio. Just recently, I upgraded to a new iMac an

  • One make oracle webcache cluster listening in only one URL??

    I need some ideas about how make this, I have two physical machines and two webcaches in cluster, but i writte in the URL the ip of one machine or the second machine, i want writte one url and the request ca be response by webcache 1 or webcache 2. t

  • Issues with encoding in AME vs. PP CS 6 ...

    I have an .avi file with SD 720x480i LFF 29.97fps .9091 originally edited from miniDV material.  If I place that clip in an 1080i sequence and export with the H.264 Blu-ray format 1080i UFF 29.97fps and select multiplexing to produce an .m2t file and