Adcfgclone.pl  with using existing context file

Hi,
I want to clone application server with using existing context file. can I do adcfgclone.pl with using existing context file?
What is the syntax ?
is there any issue to use this?
thanks

Actually I want to clone existing enviornment of R12.0.6 application to fix local inventory issue.
Problem: During r12.1.3 upgrade I noticed that local inventory has issue. R12.1.3 upgrade was done succssfully after clone of production. When I started upgrade on production I noticed issue during 10.1.3.4 upgrade. Thats why I thought if I clone existing production enviornment on same server by using same context file then 10.1.3.4 upgrade will run.
I know there is a way to fix inventory but I don't want to do to avaoid more issue. Please advice which path is good in such enviornment.Are you referring to global inventory? If yes, you can simply copy it from the source servers to the target ones.
If the PATHs are different then please refer to:
How to Create a Clean oraInventory in Release 12 [ID 834894.1]
How to find the location of GLOBAL Inventory and LOCAL inventory on R12.x ? Why Some Times, There are Issues With The oraInventory Registration During The Post Clone ? [ID 878717.1]
Thanks,
Hussein

Similar Messages

  • AxWindowsMediaPlayer problem with using subtitle sami.file in winform

    Hello every body
    I have a problem with using sami caption in axWindowsMediaPlayer;
    how can I use it?
    I used
    axWindowsMediaPlayer1.closedCaption.SAMIFileName="FileNameAddress";
    and
    axWindowsMediaPlayer1.ShowPropertyPages();//and select sami file
    but in both ways the subtitle is not shown in my axWindowsMediaPlayer1 control;
    please help me for solving this problem

    Hi ,
    As i know the Synchronized Accessible Media Interchange (SAMI) file must use an .smi or .sami file name extension.
    set the smi-file direclty like following
    AxWindowsMediaPlayer.closedCaption.SAMIFileName = "subtitles.smi";
    Please also refer here
    for more details.
    Follow the steps below for your Windows Media Player to display captions and subtitles.
    http://support.3playmedia.com/entries/21934486-windows-media-files-windows-media-player-settings
    Related thread, please note the Style secttion.
    http://answers.microsoft.com/en-us/windows/forum/windows_7-pictures/wmp-12-doesnt-play-sami-files-closed-captions/96fe98b7-1cdf-41f5-aa9e-a4e55fd07c0a
    In addition, Could you please provide your smi or sami file and full code? It could be better to help us do some test on my side.
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Trouble using exists() from File Class

    I'm trying to have the user input a filename, and then I'm storing the filename in a file object called childFile.
    I'm having trouble with the conditional and boolean statements. The screen should print "I'm real" if the file exists, but it doesn't. It prints I don't exist every time, no matter what the user inputs.
    I really appreciate any help.
    import java.io.*;
    import java.util.Scanner;
    public class FileObject {
         public static void main(String[] args)
         throws java.io.IOException
              //boolean childFile.exists() = true;
              Scanner keyboard = new Scanner( System.in );
              System.out.print("Please enter the name of an existing file: ");
              String input = keyboard.nextLine().trim();
              File childFile = new File (input);
              File parentFile = new File( childFile.getCanonicalFile().getParent() );
              boolean exists = childFile.exists();
              if (exists)
                   System.out.println("I'm real.");
              else
                   System.out.println("I don't exist");
              System.out.println(childFile);
              System.out.println(parentFile);
              //displayFiles(list.listFiles(), indent + " ");
         //void displayFiles(File[]list, String indent) {

    Use File.getAbsolutePath() to make sure your file is actually pointing where you think it's pointing

  • Use Existing Song Files on Mobile Devices

    I have always been very frustrated with the fact that if I want to listen to a song or use it in a playlist (offline) within the Spotify app, I cannot do so with a song that is already on my device.
    Example:
    I use the Spotify app on my iPhone for most of my music listening. However, I have a handful of other apps that allow me to listen to my local music through them (like a game or workout app for example), but all these other apps can only see songs on my iPhone that were synced via iTunes. Say I want to listen to a certain playlist or album during my workout using my workout app, but I also want to listen to those same songs later in the Spotify app (offline, to save on data streaming). This would require me to have TWO copies of each song on my device (Which is rediculous! Who has the extra space for that?), one in the native music player library, and one synced using Spotify.
    PLEASE find a way for the Spotify app to recognize the existing songs on a mobile device without having to sync them using desktop Spotify. No one should have to have duplicates of local songs on their device. Compatibility with the local native music on a device would be a godsend!

    I joined this community just so I could recommend this feature. I hope the people at Spotify do not find this trivial due to the ability to add local files via syncing with the desktop app, we all know this. MANY of us, including myself, don't have/use desktops anymore. I have no way of adding my music to My Music, I have to use two separate apps for music which is extremely inconvenient. The worst part is how easy this would be to implement, especially with the dev tools released with iOS 8; There is no reason Spotify shouldn't play well with the rest of iOS apps, environment, and local files. This (besides Apples reluctance to allow Spotify to be the default music app, and Siri integration, which tbf is Apple problem) is the the only thing keeping Spotify from being near darn perfect. Please fix this soon!!

  • Problem with using external jar file

    Hi
    I was using mail.jar library for swing application to send and receive emails. It just works perfect when I run with netbeans. But when I run the executable jar file at dist folder it runs but mail related functions doesn't work.What should I do now to make it work with mail features outside netbeans.
    thanks
    vinay
    Edited by: 899657 on Dec 24, 2011 5:07 AM

    899657 wrote:
    No. Because I am running the jar file which is created by netbeansNetbeans creates a 'dist' directory in which it puts your jar and a "dist/lib' directory in which it puts the dependent jars that are added to the project using 'project right mouse click'->Properties->Libraries. I would expect to see this 'dist/lib' directory contain mail.jar and activation.jar and any other jars that your jar needs. Within your program jar's manifest I would expect to see the Class-Path attribute have relative reference these jars ( lib/mail.jar lib/activation.jar ) and for the Main-Class attribute define your main class.
    Given this setup then you should be able to just type -
    java -jar yourjar.jarto run your program.

  • How to use existing WSP file of reusable workflow and create sanbox solution?

    Hello,
    I have to migrate the SharePoint Designer 2013 workflows from Development environment to Production environment. So, I am following the process which is mentioned in this blog:
    http://sharepointyankee.com/2010/12/11/options-for-deploying-reusable-workflows-in-sharepoint-2010/
    And it is working also, but problem is that; this visual studio solution is getting deployed as a Farm Solution and I wanted to deploy it as a sandbox solution. 
    Is there any way to achieve this?
    I have also tried one more way which is:
    Create SharePoint Custom Workflow Project as a sandbox solution in Visual studio.
    Get WSP file from development site (as mentioned in above referenced blog)
    Open WSP file and copy the content to Visual Studio Created project
    But this solution is also not working; "Feature is not getting deployed as sandbox solution" error is occurring.
    Can anyone please help me on the same?
    Thanks,
    Asim

    Hi,
    When you export SPD workflow, it will be a sandbox solution only, you are not required to configure further.
    Just import the workflow into Visual Studio, and make the changes that are required. you are good here.
    you can set the scope attribute in your WSP feature element.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • How to override generated WSDL with existing WSDL file?

    Hi there,
    I am migrating our weblogic 8.1 web services to weblogic 10.1. As documented it is not possible to start implementing the web services from WSDL if the web services are based on XML Beans. Therefore I started from scratch, using an XML Beans Utility project and a web service started from Java. This works fine.
    I now have a web service with a generated WSDL file, but there are slight differences with the existing WSDL file.
    Is it possible to stop generating the WSDL file and just point to the existing WSDL files?
    I already tried to expose the WSDL and change the WSDL location but it still returns the generated WSDL instead of the WSDL file that I want.
    Thanks in advance,
    Martijn Baels
    Software Architect
    www.leanapps.com

    The value of an element is stored in a child node of that element. For example, let's say that "e" references the node <Description> then:
    e.getFirstChild().getNodeValue() => "My Test Case"

  • How to add shortcuts to user Start Menu and Taskbar or Desktop with using Microsoft Office 2013 Config file.

    Hello,
    How can i add the shortcuts for Office 2013 feature (Word, excel, ext) to the users taskbar or desktop with using config.xml file while installing the Microsoft Office 2013 from SCCM?
    I know how to do that with OCT, but i have another problem if i use OCT. So i have to do it with Config.file, but i don't know which code can i write on config.xml file to create shortcut on desktop or taskbar...
    Regards,

    Hi
    There is a known issue about
    changing the shortcut location for an Office 2013 application:
    When you try to change the shortcut locations for Office 2013 applications in the Office Customization Tool (OCT), you receive the following error message:
    Invalid start in folder. Please try again.
    Then, you add the Start in location for Office 2013 and run a customized installation. When you double-click the shortcuts that are displayed on the desktop, Configure shortcuts does
    not work and you receive the following error message: 
    Sorry, we couldn’t find your file. Is it possible it was moved, renamed or deleted?
    To work around this issue, type a single open bracket ([) in the Start in
    field.  
    In addition, refer to the link below on "Configure shortcuts" in OCT:
    http://technet.microsoft.com/en-us/library/cc179097.aspx#Configure_shortcuts
    Regards
    Tylor Wang
    TechNet Community Support

  • Report Generation tool kit for MS office (Opening an existing excel file and appending to the bottom)

    I don't have any problems creating and filling an excel sheet with data. I use the New Report.vi, Easy Title.vi, and Easy Text.vi to create the file. I then save and dispose properly.
    What I don't seem to be able to do is open the exsting file and append data to the end of the sheet.
    Thanks in advance for your help.
    todd

    Hi Todd,
    You can do this by creating a new Excel report with the existing excel file path wired to the "template" input. Then use "Excel Get Last Row.vi" (located under Report Generation\Excel Specific\Excel General) to obtain the location of the last row. Then use that location to input new data into the file.
    Hope this helps,
    Dan

  • How to work with an EXISTING wordpress site in side DW CS5 (yahoo hosted)

    Have and existing  Wordpress site that is hosted by Yahoo.  Recently upgraded to  Dreamweaver CS5. Was really excited about working with my Wordpress  files inside of DW CS5 with all of it's new capabilities, bells and  wistles.  I can't seem to get it set up right.
    Is Dreamweaver CS5 ABLE to display existing wordpress sites with dynamic content? And can anyone please help me figure out how.
    I have been thru several lynda.com video tutorials including:
    Dreamweaver CS5 and Wordpress 3 by Joseph Lowery (over the last month)
    Dreamweaver CS5 with PHP and MySQL by David Gassner (over the last month)
    PHP with MySQL essetial training by Kevin Skoglund (about a year ago when trying to learn php)
    Self-hosting a Wordpress site (about a year ago when I set up the site)
    I have also been scouring this forum and the web trying to find the answer to what seems to be a very common problem.
    Using Mac OSX 10.6.6
    MAMP
    Dreamweaver CS5
    Wordpress 3
    Yahoo web hosting
    Everything works fine with the exercise files but as soon as I try my existing site files it gives me one of several errors
         cannot establish a connection to the database
    I set up my site thur the DW site manager with the
    Local Site Folder set to: /applications/MAMP/htdocs/nate
    server set to:
    name: testing
    connection using: local/network
    server folder:  /applications/MAMP/htdocs/nate
    web url: http://localhost/nate
    under the advanced tab i have set the server model to: php mysql
    and have the testing box checked in the site set up dialog box
    I also set a remote server:
    name: remote
    connect using: ftp
    ftp address: ftp.MY_SITE_NAME.com
    username: myusername@MY_SITE_NAME.com
    password:  mypassword
    under the advanced tab i have the server model set to: php mysql
    and have the remote box checked in the site set up dialog box
    when tested connection was made.  I also downloaded all of my site files using this connections (it took hours).
    I installed MAMP and set the ports to the defauls (80, 3306) host: localhost username: root password: root
    If i change the database settings in the wordpress wp-config.php file  to: localhost, root, root it works and displays my page as I would  expect in live view or browser but without the main content area or  posts - displays a 404 error where the content should beI have exported my wp database and imported back into my local testing server thru phpmyadmin.
    I have also gotten this error at various tries in the set ups: "dynamically-related files could not be resolved because of an internal server error"
    I am currently getting this error: "Dynamically related files could not be resolved because the site definition is not correct for this server"
    It is not asking me if I want to save files to the server when I hit live view.
    Everything  works fine with the lynda.com exercise files and with the generic wordpress files.  I can open any page -  live view or view in browser  - can access and modify the imported  database thur dreamweaver and phpmyadmin. I am only having these problems with my existing site files. I have done the complete set up at least 5 times from scratch going thru the videos and various tutorials step by step.  I dont want to use the starter files that come with wordpress installations I want to use my highly modified pages/themes/database

    DW does not work with a WP installation that has anything other than the default (numeric) permalinks. Apparently no-one ever tested this case during the development and prerelease phase, which is a shame, because very few WP installations use default permalinks. It's a point that Joseph Lowery doesn't touch in his tutorial, and of course the tutorial WP installation works perfectly.
    Hope that helps, although it may disappoint (as it did me, and a lot of other folks). Here's hoping this is addressed in a dot release.
    Alan

  • Trouble with wpg_docload.download_file - Donwload Files - Oracle Web App

    i appreciate too much for everyone who can help me.
    I've got a ERROR with my Oracle Web App. When i type the URL "http://mydomain.com/pls/docs" in my browser, got this error:
    --------------------------------BROWSER-----------------------------------------
    Estado de Descarga
    Descarga del archivo falló. ORA-01403: no data found. ORA-01403: no data found
    And the code that generates this error is:
    PROCEDURE LEP_DESCARGA_ARCHIVO IS
      lv_FilePath VARCHAR2(32000); lv_FileName VARCHAR2(32000);
    BEGIN
    lv_FilePath := SUBSTR(owa_util.get_cgi_env('PATH_INFO'),2);
    SELECT name INTO lv_FileName FROM table_file WHERE UPPER(name) like UPPER(lv_FilePath); wpg_docload.download_file(lv_FileName);
    EXCEPTION
    WHEN OTHERS THEN
    HTP.htmlopen; HTP.headopen; HTP.title('Archivo Descargado'); HTP.headclose; HTP.bodyopen; HTP.header(1, 'Estado de Descarga'); HTP.print('Descarga del archivo ' || lv_filePath || ' fall&oacute;.'); HTP.print(SQLERRM); HTP.bodyclose; HTP.htmlclose;
    END LEP_DESCARGA_ARCHIVO;
    The problem is that Error shows too much information in the Error. LEP_DESCARGA_ARCHIVO is important for another process in my site. Where do i have to configure in Oracle in order to this Error does not appear??? I mean i do not want to get this Error if i type the URL:
    https://mydomain.com/pls/docs/servlets/index.html Error: Descarga del archivo servlets/index.html falló. ORA-01403: no data found
    h t t p s : / / m y d o m a i n . c o m / p l s / d o c s / Error: Descarga del archivo falló. ORA-01403: no data found
    h t t p s : / / m y d o m a i n . c o m / p l s /d o c s / s e r v l e t s/ Error: Descarga del archivo servlets/ falló. ORA-01403: no data found
    Thanks for people who can help me!!!

    Hello Peter,
    I'm not sure whether this is a listener related problem, but we should try to find out.
    I have examples where a temporary blob is created first before the content is passed to WPG_DOCLOAD, which produce a working download on the APEX Listener.
    So I don't think the problem concerns WPG_DOCLOAD but the way you handle your blob, or to be precise, your BFILE.
    What comes to my mind first: Don't you need to open that file? When I use DMBS_LOB.LOADBLOBFROMFILE, I guess this is done somewhere inside that routine, but for other kinds of bfile access, there is DBMS_LOB.FILEOPEN.
    When thinking of that part: If I'm not completely wrong, there is a difference in which db user is acutally executing, or in other words, on whose behalf your code is executed, when you create a temporary blob first and forward it to wpg_docload or have wpg_docload do the file access. The Null Pointer Exception may result from either the file not being existent or not accessible for the db user executing the code. In case of wpg_docload accessing the file, perhaps the user you configured your APEX Listener to connect with needs additional grants for that file access.
    Just a thought. It should be easy to test the same scenario with using a temporary file on APEX Listener to see if that works and start debugging from there.
    -Udo

  • How do I use old data files with a new installation in Oracle 9i

    I am in an unenviable position, with an unsupported database.
    We are running Oracle 9i on Windows XP. We are upgrading soon to Oracle 11g on a newer platform, but need to get our development environment working first.
    We lost a system that was running our development database without having a database export. The C drive was placed into a new system as the D drive.
    I have loaded Oracle 9i on the C drive, but I have been unable to determine how to point it to the existing data files on the D drive. My search skills may be the limiting factor here...
    We cannot simply load the drive as C, since the hardware is different.
    What are the steps to point the new database software at the data files on the D drive? Or, how do I copy the old data files into the new Oracle Home and have them recognized properly?
    Thanks for any advice.

    user3930585 wrote:
    I am in an unenviable position, with an unsupported database.
    We are running Oracle 9i on Windows XP. We are upgrading soon to Oracle 11g on a newer platform, but need to get our development environment working first.
    We lost a system that was running our development database without having a database export. The C drive was placed into a new system as the D drive.
    I have loaded Oracle 9i on the C drive, but I have been unable to determine how to point it to the existing data files on the D drive. My search skills may be the limiting factor here...
    We cannot simply load the drive as C, since the hardware is different.
    What are the steps to point the new database software at the data files on the D drive? Or, how do I copy the old data files into the new Oracle Home and have them recognized properly?
    Are you stating that you don't know how to use COPY command?
    Can you recreate same directory structure on new C drive as exist on old C drive?
    Can you then drag & drop copies of the files?

  • I have just downloaded a trial version of Photoshop Elements onto my Mac Book Pro (10.9.4) and attempted to use Elements on an existing Photoshop file.  I did not see the Elements option in my filter menu and need assistance

    I have just downloaded a trial version of Photoshop Elements onto my Mac Book Pro (10.9.4).  The installation to my hard drive went fine so I attempted to use Elements on an existing Photoshop file.  I did not see the Elements option in my filter menu and am uncertain as to how to "add" the Elemnts to my existing filter choices.  Please advise.

    I'm sorry but it's very hard to understand what you mean. What filter menu? In which program? Do you mean you're trying to use PSE as an external editor with some other asset management program? Which one?

  • How to get data from an existing Excel file using report generation toolkit

    I'm trying to use the Excel Get Data vi from the report generation toolkit, but i can't figure out how to turn a browsable path into the right type for the VI.  I've tried using the New Report.vi, but that doesn't work unless you use a template.  It won't open an existing excel file and make it an open report to pull data from.
    Essentially, i have a bunch of excel files that have data in them and i want to use a VI to analyze the data.  So, i'm trying to pull in all the data directly from the excel file so i don't have to reproscess them all into text so i can use the more standard spreadsheet VIs.  But to even convert the excel file programtically in labview won't i still need to be able to open the excel file and get the data?
    Solved!
    Go to Solution.

    I C.
    Got it,
    the reason why I can view it using my Excel file because its in .CSV.
    I open Microsoft Excel to open .CSV file.
    But you can also open .csv file with notepad.
    So, you cannot open .xls with Read Spreadsheet File
    I learn something everyday
    Best regards,
    Krispiekream

  • Help with uploading an excel file to a table using an application

    Hello,
    Can anyone please help me out with this issue. I have apex application where in the end users upload an excel file to a table. For this I have followed the solution provided in this link
    http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
    Using the above solution, I was able to upload the excel data to a table "sample_tbl1" successfully with fields Id,acct_no,owner_name,process_dt. But the thing is I want accomdate a particular condition while uploading the file data, to check see if the acct_no already exists in another table say "sample_tbl2" or not. If acct_nos already exists in sample_tbl2 then give out an error displaying the list of account numbers that already exists in the database. Below is the code which I am using to upload file data to a table.
    DECLARE
    v_blob_data       BLOB; 
    v_blob_len        NUMBER; 
    v_position        NUMBER; 
    v_raw_chunk       RAW(10000); 
    v_char            CHAR(1); 
    c_chunk_len       number       := 1; 
    v_line            VARCHAR2 (32767)        := NULL; 
    v_data_array      wwv_flow_global.vc_arr2; 
    v_rows            number; 
    v_sr_no           number         := 1; 
    l_cnt             BINARY_INTEGER := 0;
    l_stepid          NUMBER := 10;
    BEGIN
    --Read data from wwv_flow_files</span> 
    select blob_content into v_blob_data 
    from wwv_flow_files 
    where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER) 
    and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER); 
    v_blob_len := dbms_lob.getlength(v_blob_data); 
    v_position := 1; 
    /* Evaluate and skip first line of data
    WHILE (v_position <= v_blob_len ) LOOP
    v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
    v_char :=  chr(hex_to_decimal(rawtohex(v_raw_chunk)));
    v_line := v_line || v_char;
    v_position := v_position + c_chunk_len;
    -- When a whole line is retrieved
    IF v_char = CHR(10) THEN
    -- Clear out 
    v_line := NULL;
    EXIT;
    END IF;
    END LOOP;
    -- Read and convert binary to char</span> 
    WHILE ( v_position <= v_blob_len ) LOOP 
    v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position); 
    v_char :=  chr(hex_to_decimal(rawtohex(v_raw_chunk))); 
    v_line := v_line || v_char; 
    v_position := v_position + c_chunk_len; 
    -- When a whole line is retrieved </span> 
    IF v_char = CHR(10) THEN
    -- Convert comma to : to use wwv_flow_utilities </span> 
    v_line := REPLACE (v_line, ',', ':'); 
    -- Convert each column separated by : into array of data </span> 
    v_data_array := wwv_flow_utilities.string_to_table (v_line); 
    -- Insert data into target table
    EXECUTE IMMEDIATE 'insert into sample_tbl1(ID,ACCT_NO,OWNER_NAME,PROCESS_DT) 
    values (:1,:2,:3,:4)'
    USING 
    v_sr_no, 
    v_data_array(1), 
    v_data_array(2),
    to_date(v_data_array(3),'MM/DD/YYYY');
    -- Clear out 
    v_line := NULL; 
    v_sr_no := v_sr_no + 1; 
    l_cnt := l_cnt + SQL%ROWCOUNT;
    END IF; 
    END LOOP;
    delete from wwv_flow_files
    where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER)
    and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
    l_stepid  := 20;
    IF l_cnt = 0 THEN
    apex_application.g_print_success_message := apex_application.g_print_success_message || '<p><span style="font-size:14;font-weight:bold">Please select a file to upload.</span></p>' ;
    ELSE
    apex_application.g_print_success_message := apex_application.g_print_success_message || '<p><span style="font-size:14;font-weight:bold;color:green">File uploaded and processed ' || l_cnt || ' record(s) successfully.</span></p>';
    END IF;
    l_stepid  := 30;
    EXCEPTION WHEN OTHERS THEN
    ROLLBACK;
    apex_application.g_print_success_message := apex_application.g_print_success_message || '<p><span style="font-size:14;font-weight:bold;color:red">Failed to upload the file. '||REGEXP_REPLACE(SQLERRM,'[('')(<)(>)(,)(;)(:)(")('')]{1,}', '') ||'</span></p>';
    END;
    {code}
    Can anyone please help me, how do i accomdate the condition within my existing code.
    thanks,
    Orton                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Orton,
    From your code it appears that the account No comes in the second column of the file = > v_data_array(1)
    So You can put a conditional block around the execute immediate code that inserts the records
    For instance
      SELECT count(1) INTO ln_account_no_exists from <"sample_tbl2> where account_no = v_data_array(1);
      IF (  ln_account_no_exists > 0 ) THEN
         --Account No: already exists
        <Do what you want to do here >
      ELSE
        EXECUTE IMMEDIATE ...
      END IF:
    {code}
    Inorder to handle the account no records which exists you can
      <li>Raise an exception
      <li> Write record to table or insert into collection and then use a report region in the page based on this table/collection to show error records
      <li> Append errored account No:s to the Success Message Variable programmatically(this variable is used by PLSQL process success/error message )
       {code}
        IF ( record exists)
          apex_application.g_print_success_message := apex_application.g_print_success_message||','|| v_data_array(1) ; -- Comma separated list of errored account no:s
        ELSE ...
       {code}
    Hope it helps                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Setting Up SSD Solid State Drive for Cache...Help!

    Hello, I am trying to configure my system to do really heavy special effects using After Effects and other programs.  I bought a new computer with specs below and a Solid State Drive for the cache as recommended in the White Papers.  I plug the SSD i

  • Join Query takes huge Cost, is there a better of re-writing it ??

    Hi Everyone, I am currently trying to optimize my query given below. In my application where I had to call a stored procedure which calls this particular query around 8K times, hence cost of this query is really significant. I am using Oracle 9i as b

  • Dynamic field in Select Statement

    I am able to create a dynamic statement to insert into the where clause of my sql, but I am unable to dynamically create a select statement. Oracle Reports produces the following error: REP-0499: Column " selected by the query is incompatible with re

  • Firefox Crashes unexpectedly on a variety of pages

    Gotta a ton of crashes lately but can't seem to see a pattern. I've disabled plugin's to try and isolate one that's bugged but can't seem to find it. Also, when i visit about:crashes I can't look at the details of the crash, it can't seem to find it

  • Reorder, join, then split?

    I am totally new to using iMovie, so please be kind! Functions I need in Events seem to be only available in Projects and functions I need in Projects seem to be available only in Events! I have imported a video that is in the wrong order (i.e not in