One Concurrent Program, One SQL LOADER program for 85 different files

I am looking to see if there is a way I can have one concurrent program and one control file to load all 85 files to 85 different tables at once. I really am hoping I don't have to write 85 different control files and 85 different concurrent programs. Can someone point me into the right direction or send examples. Thanks

Hi!
A way might be to have ONE data file that will include all the 85 types.
E.g.
File1|1298|invoice|...
File1|1963|invoice|...
File1|1045|invoice|...
File2|0688|invoice|...
File2|0198|invoice|...
File3|4598|invoice|...
In your control file use
REPLACE INTO TABLE xx_file1_table
WHEN RECORD_TYPE = 'File1'
....<list of fields>
INTO TABLE xx_file2_table
REPLACE
WHEN RECORD_TYPE = File2'
....<list of fields>
The only prob is that your data file size might be very big if u have lots of data to process.
vik

Similar Messages

  • How can i schedule concurrent program for every one hour from back end

    Hi ,
    I want to schedule concurrent program for every one hour from back end .
    Example
    1) xyz is the concurrent program that should run for every one hour with a parameter 111 and the SAME concurrent program that
    should run every 2 hours with a different parameter like 222.
    I mean Conc prog should run for different parametrs with a different scheduling..
    Please guide me to solve the issue.
    Thanks in advance...
    Regards
    Narender B

    Hi ,
    I have used following code for scheduling the concurrent program from backend.
    declare
    l_request_id NUMBER;
    l_return_code boolean := FALSE;
    BEGIN
    fnd_global.apps_initialize(62991,54477,20003);
    l_return_code := FND_REQUEST.SET_OPTIONS ('YES');
    l_return_code :=fnd_request.set_repeat_options('16:36:00','','DAYS','START','','Y');
    l_request_id:=fnd_request.submit_request(application => 'xbol',
    program => 'NAPP_START_GENERATE_CHART_DATA',
    description => 'Processing chart ',
    start_time => SYSDATE,
    sub_request => FALSE,
    argument1 =>4000130957231588,
    argument2 => null
    COMMIT;
    dbms_output.put_line('Program has been submited and request id is '||l_request_id);
    END;
    Here the issue was concurrent program is completing with a warning like
    Resubmission of request 75588551 has been cancelled.
    FND_RESUB_PRIVATE.PROCESS_INCREMENT EXCEPTION: ORA-01403: no data found
    Resubmission of request 75588551 has been cancelled.
    FND_RESUB_PRIVATE.PROCESS_INCREMENT EXCEPTION: ORA-01403: no data found
    so i could not find the solution for this issue,please anybody guide me to solve this issue.
    Regards
    Narender B

  • Creating SQL-Loader script for more than one table at a time

    Hi,
    I am using OMWB 2.0.2.0.0 with Oracle 8.1.7 and Sybase 11.9.
    It looks like I can create SQL-Loader scripts for all the tables
    or for one table at a time. If I want to create SQL-Loader
    scripts for 5-6 tables, I have to either create script for all
    the tables and then delete the unwanted tables or create the
    scripts for one table at a time and then merge them.
    Is there a simple way to create migration scripts for more than
    one but not all tables at a time?
    Thanks,
    Prashant Rane

    No there is no multi-select for creating SQL-Loader scripts.
    You can either create them separately or create them all and
    then discard the one you do not need.

  • Single concurrent program for multiple operating units

    HI
    I am working on XML/BI publisher to generate AR invoice reports.
    We have single rdf report using which rtf templates are generated.
    There are 10 operating units (10 ORG_ID's) and 10 rtf templates, one for each operating unit. There are 4 different responsibilities for each ORG_ID
    Eg: ORG_ID's = 11, 12, 13, 14..........etc
    Eg: Responsibility = xx, yy, zz...........etc
    I want to register a single concurrent program. When a user submits a request from "XX" responsibility, then the template associated with that org_id should be generated. Whichever responsibility the user is accessing from, that particular template must be shown as output.
    How can i register one concurrent program for multiple operating units.
    Thanks!
    Edited by: 994628 on Mar 18, 2013 4:39 PM
    Edited by: 994628 on Mar 18, 2013 4:42 PM

    >
    There are 10 operating units (10 ORG_ID's) and 10 rtf templates, one for each operating unit. There are 4 different responsibilities for each ORG_ID
    Eg: ORG_ID's = 11, 12, 13, 14..........etc
    Eg: Responsibility = xx, yy, zz...........etc
    I want to register a single concurrent program. When a user submits a request from "XX" responsibility, then the template associated with that org_id should be generated. Whichever responsibility the user is accessing from, that particular template must be shown as output.
    >
    interesting case for 10 OE set 10 template
    what is purpose? for each OE different requirements for layout?
    BTW
    if each Responsibility associated with one org_id then
    - you can get current org_id when you run concurrent program
    - create main template (will be #11) with condition like
    <?choose:?>
    <?when: ORG_ID=11?>
    <?import:xdo://FND.XX11_SUB.en.00/?>
    <?call:TEMPLATE11?>
    <?end when?>
    <?when: ORG_ID=12?>
    <?import:xdo://FND.XX12_SUB.en.00/?>
    <?call:TEMPLATE12?>
    <?end when?>
    <?otherwise:?>
    <?import:xdo://FND.XX21_SUB.en.00/?>
    <?call:TEMPLATE21?>
    <?end otherwise?>
    <?end choose?>so based on org_id will be import of needed subtemplate
    - re-register your "10 rtf templates" as subtemplates
    another way is substitution of template for concurrent then it running
    in before_report trigger set needed template
    l_conc_request_id := fnd_global.conc_request_id;
        if ORG_ID = 11 then
          UPDATE fnd_conc_pp_actions t
             SET t.argument2 = 'XX11'
           where t.concurrent_request_id = l_conc_request_id
             and t.action_type = 6;
      if ORG_ID = 21 then
          UPDATE fnd_conc_pp_actions t
             SET t.argument2 = 'XX21'
           where t.concurrent_request_id = l_conc_request_id
             and t.action_type = 6;

  • Choosing Default Program for Opening .doc files

    Hi all,
    A couple of days ago I somehow managed to change my default program for opening .doc files to Pages and I would rather use Microsoft Word as the default. I dont know how I ended up changing this default, but I would like to know how to put the default back to MS Word.
    Thanks for any help!

    Choose any one of the files you want to change. Then, command-i to "Get Info". Open the disclosure triangle under "Open With" choose "Microsoft Word" then click on "Change All".
    -mj
    [email protected]

  • How do i change default program for opening mp3 files

    Hi all, i would like to change the default program for opening MP3 files, it is currently iTunes, i would like it to be MPlayerX or QuickTimePlayer, ii am sure it is easy once i know where to look, it is easy in Windose, is has just got to be easier with my Apple
    Tim

    Tim,
    Right click on one of your MP3 files and select "get info".  In the get info screen you can select the default program to open the file.  Then select Change All..  to make it the default for all MP3s.
    Regards,
    Captfred

  • How do i download itunes on one computer (64-bit) for a different computer(32-bit)?

    How do I download itunes on one computer (64-bit) for a different computer (32-bit)?  The download page automatically detects my computer as 64-bit, but I want to download the installer for a different computer that is 32-bit.

    I ended up changing the user agent reported by my web browser to fool the website into thinking I was using a different web browser. On Google Chrome, press Ctrl-Shift-I to open the Developer Tools, then click the gear in the lower-right corner of the window. Check "Override User Agent" then select "Internet Explorer 7" from the drop-down.
    Once upon a time, you could download the 32-bit version of iTunes from http://www.apple.com/itunes/affiliates/download/, but the download link hasn't been updated recently and points to an old version of iTunes.
    If, like me, you think Apple should provide a link to the 32-bit version from the main download page, I would recommend giving Apple your feedback.

  • How do I make Adobe Reader NOT my default program for reading pdf files?

    I installed Adobe Reader and made it my default program for reading pdf files.  I'd like to undo that and go back to "preview" as my default.

    Sure you are following instructions:

  • Format changing after running the concurrent program for indentation

    Hi
    I have got an issue regarding indentation in rtf template. Actually in the template I have indentation or numbering in one format like david but after running the concurrent program in the temlate output I am getting the numbering in Latin letters. like
    I
    II
    III
    etc.
    can anyone please send me the resolution for this issue.
    Thanks and regards
    kk

    What is the application release?
    If you are on 11i, please make sure you have (Patch 8198363: INDENTATION PROBLEM WHILE GENERATING RTF OUTPUT USING RTF TEMPLATE) applied and check then.
    Thanks,
    Hussein

  • Create child concurrent program for multi-processing

    Hi,
    I have a requirement where in I need my main concurrent program to generate child concurrent programs to process data in parallel.
    I want all the child programs to write the response in the output file of the main concurrent programs.
    Any pointers to this will be a real help.
    Thanks.
    Jujaar

    Hey Sandeep,
    Thanks for your response...
    OK, even I was thinking on those kind of solution or other possible way is to directly write in the output/log file of the parent req.
    Cause the output file is always formed at a loction with a std. naming convention o+request_id.out.
    I think it might be possible to write directly into the file. Have not tried it yet.
    And one more question, do you have an idea how to generate the child concurrent programs.
    I do see a parameter names sub_request in fnd_request.submit_request package. This is a boolean type.
    But I am kind of unsure, If I pass this parameter as TRUE, how it will find the parent request ID.
    If you some information on this as to how we can submit child concurrent request, please share. IT would be a great help.
    Thanks
    Jujaar

  • EBS Financials Concurrent programs for Finance and HR

    Hi EBS Guru's ,
    I am compiling a list of concurrent programs that must be successfully processed in the EBS before the Incremental ETL load (from Data warehouse) is started.
    Did anyone have identified the concurrent programs from the EBS side, especially for Finance and HR?
    has anyone have identified few of the tasks ? that without done,Reports will not get the right (fresh) data on the reports,unless the concurrent program (also known as Interface programs)
    best regards,
    Kamlesh

    No ,these Concurrent Programs are from the EBS (Oracle Apps ),nothing to do with Data warehouse.
    these programs should be run in the source system,otherwise the incremental data in the Datawarehouse would be stale.

  • SQL*Loader - How to combine Flat File 3 columns and put into one single column

    Receive a flat file delimited by comma. Want to combine Flat File last 3 columns and put into one single column(Table).
    e.g.
    Flat File
    100,239,30,20,30
    While inserting into table want to combine last 3 columns and insert into invoice number column.
    302030

    It is not possible to combine the last 3 columns as those columns are seperated by commas and in the SQL Loader control file you must ve specified COMMA as an delimiter. So u better have all the columns in the table plus add one more column which holds the concatenation of the 3 columns.
    Vijay

  • Issue in Java concurrent program for Digital Signature Stamping

    Hi All,
    Im calling a Java concurrent program which does digital signature stamping on the PDF report generated.Program able to able to read the PDF file as input and also digital signature stored as file in the application but
    ends in error in create signature method , need help in this regard.
    Error:
    Parameter 0 is Request id of with out Digital signature file
    Parameter 1 is employee id of approver
    Parameter:0:99203256
    Parameter:1:1414603
    $$$$ start query fileinfo with callable statment
    programName>>>>>>>>BTPOPORPXML
    $$$$ Without digital Signature file Name $$$
    $/inst_top/finprod/apps/FINPROD_CPNQERPAAPZP10/logs/appl/conc/out/BTPOPORPXML_99203256_1.PDF
    PFX File Reading Start
    PFX File Reading Ends
    PFX File size is: 6460 Byte size is: 6460
    Elements present
    java.lang.NullPointerException
    at
    com.lowagie.text.pdf.PdfSignatureAppearance.getAppearance
    (Unknown Source)
    at
    com.lowagie.text.pdf.PdfSignatureAppearance.preClose
    (Unknown Source)
    at
    com.lowagie.text.pdf.PdfSignatureAppearance.preClose
    (Unknown Source)
    at com.lowagie.text.pdf.PdfStamper.close(Unknown
    Source)
    at
    btvl.oracle.apps.po.digsig.BTVLDigSign.runProgram
    (BTVLDigSign.java:151)
    at oracle.apps.fnd.cp.request.Run.main
    (Run.java:157)
    Edited by: 999033 on May 16, 2013 7:20 PM

    Hi Charls,
    I have successfully implemented at our end in 11i. Pl.try at your end.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST (passed your arguments... );
    COMMIT;
    IF NVL( v_request_id , 0 ) = 0 THEN
    DBMS_OUTPUT.PUT_LINE( 'Item Assignment to Organization Program Not Submitted');
    p_status := 'FAILURE' ;
    p_err_msg := 'ERROR RAISED AFTER SUBMITTING THE IMPORT ITEM ORG.ASSIGNMENT CONCURRENT REQUEST ... ' ;          
    ELSE
    v_finished := FND_CONCURRENT.WAIT_FOR_REQUEST
    request_id => v_request_id,
    interval => 0,
    max_wait => 0,
    phase => v_phase,
    status => v_status,
    dev_phase => v_request_phase,
    dev_status => v_request_status,
    message => v_message
    LOOP
    EXIT WHEN ( UPPER(v_request_phase) = 'COMPLETE' OR v_phase = 'C');
    END LOOP;
    HTH                    
    Sanjay

  • Getting warning while running concurrent program for XML report

    HI,
    Am trying to run a xml-publisher report by converting a D2k report and am getting the following warning message and not getting the out put.
    Receivables: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XX_EMPLOYEES module: XX_EMPLOYEES
    Current system time is 04-DEC-2007 12:25:37
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    APPLLCSP Environment Variable set to :
    XML_REPORTS_XENVIRONMENT is :
    /dplay/applmgr/product/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /dplay/applmgr/product/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_AMERICA.UTF8
    Report Builder: Release 6.0.8.25.0 - Production on Tue Dec 4 12:25:38 2007
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 2057165 on node CRMAP102.ASHOKLEYLAND.COM at 04-DEC-2007 12:25:42.
    Post-processing of request 2057165 failed at 04-DEC-2007 12:27:43 with the error message:
    The Output Post-processor is running but has not picked up this request.
    No further attempts will be made to post-process this request, and the request will be marked
    with Warning status.
    Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary.
    ------------- 2) PRINT   -------------
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 04-DEC-2007 12:27:43
    pls help
    Thanks

    Hi
    pls see this post
    OPP Timing out
    Thanks
    Rahul

  • Sqlloader concurrent program with multiple data files

    I have a concurrent program with datafile_path/datafile_name as an input parameter registered for an Sql loader (ctl) program. My requirement is to add one more datafile_name to the control file. In that case what should be the syntax in control file? And can I just add one more datafile name to the concurrent program input? Will it pick from the control file.
    My current syntax is as follows in my .ctl file:
    LOAD DATA
    INFILE *
    APPEND
    INTO TABLE <table_name>
         abc_id     SEQUENCE(MAX,1),
         abc_type          CONSTANT 'CONSTANT_VALUE',
    Thanks,

    I have a concurrent program with datafile_path/datafile_name as an input parameter registered for an Sql loader (ctl) program. My requirement is to add one more datafile_name to the control file. In that case what should be the syntax in control file? And can I just add one more datafile name to the concurrent program input? Will it pick from the control file.
    My current syntax is as follows in my .ctl file:
    LOAD DATA
    INFILE *
    APPEND
    INTO TABLE <table_name>
         abc_id     SEQUENCE(MAX,1),
         abc_type          CONSTANT 'CONSTANT_VALUE',
    Thanks,

Maybe you are looking for

  • Write the Error log from background Job to the Spool request

    Hi , I have a situation where in i need to capture the error log of a Z program which runs as a background job and write that log into the spool request. My Z program calls runs RSEINB00 program using the SUBMIT statement. When this Job fails the err

  • I accidentally purchased a month in an app cold whoshere and i want to cancel it

    I accidentally purchased a month in an app cold whoshere and i want to cancel it

  • Cumulative balances from Normal Balances

    Hi experts, We have a report requirement as, To show vendor "Cumulative" balances fiscal period wise and business area wise. But in the data source 0fi_ap_7 we have only Cumulative balances Company code wise. There is no business area. But suppose if

  • Macbook LCD DESTROYED!  What now??

    My Macbook attempted to defy gravity this weekend, and now I have a cracked LCD. I know that my AppleCare Protection plan does not cover accident, so I'm left to fend for myself. How much will a replacement screen cost me? Should I attempt to install

  • Printing some text on A4 size paper

    Hi friends, I am trying to print a simple text on my printer using java, I have included the code for printing in an action event of a button as follows: private void sim_printActionPerformed(java.awt.event.ActionEvent evt) { PrintJob pjob = getToolk