Can we run an Execution plan in DAC from an external CMD/Script

Hi Gurus,
I would like to know if there is any option or script that we can enable to run the execution plan from a bat file/ CMD file. We have an Enterprise scheduler which refreshes our source DB, So we want to kick of the Incremental load once that is done.
Please let me know ur opinions ASAP.
Thanks,
Vijay

You can do that usign dacCmdLine
Check this link
http://docs.oracle.com/cd/E12104_01/books/DAC/DACCommonTasks8.html
http://docs.oracle.com/cd/E12104_01/books/DAC/DACCommonTasks9.html
Appreciate if you mark as correct
Edited by: Veeravalli on Nov 29, 2012 1:12 PM

Similar Messages

  • Error while running ETL Execution plan in DAC(BI Financial Analytics)

    Hi All,
    I have Installed and configured BI Analytics and everything gone well but when I run ETL in DAC to to load the data from source to Analytics Warehouse Execution plan Failed with the following error message - Error while creating Server connections Unable to ping repository server.can anyone please help me on resolving the error.and here is the error error description.
    Error message description:
    ETL Process Id : 4
    ETL Name : New_Tessco_Financials_Oracle R12
    Run Name : New_Tessco_Financials_Oracle R12: ETL Run - 2009-02-06 16:08:48.169
    DAC Server : oratestbi(oratestbi.tessco.com)
    DAC Port : 3141
    Status: Failed
    Log File Name: New_Tessco_Financials_Oracle_R12.4.log
    Database Connection(s) Used :
         DataWarehouse jdbc:oracle:thin:@oratestbi:1521:DEVBI
         ORA_R12 jdbc:oracle:thin:@oratestr12:1531:DEV
    Informatica Server(s) Used :
    Start Time: 2009-02-06 16:08:48.177
    Message: Error while creating Server connections Unable to ping repository server.
    Actual Start Time: 2009-02-06 16:08:48.177
    End Time: 2009-02-06 16:08:51.785
    Total Time Taken: 0 Minutes
    Thanks in Advance,
    Prashanth
    Edited by: user10719430 on Feb 6, 2009 2:08 PM

    I am facing a similar error.. can you pls help me in fixing it.
    Following is the log from DAC server:
    31 SEVERE Fri Oct 16 17:22:18 EAT 2009
    START OF ETL
    32 SEVERE Fri Oct 16 17:22:21 EAT 2009 MESSAGE:::Unable to ping :'ebsczc9282brj', because '
    =====================================
    STD OUTPUT
    =====================================
    Informatica(r) PMCMD, version [8.1.1 SP5], build [135.0129], Windows 32-bit
    Copyright (c) Informatica Corporation 1994 - 2008
    All Rights Reserved.
    Invoked at Fri Oct 16 17:22:20 2009
    The command: [pingserver] is deprecated. Please use the command [pingservice] in the future.
    ERROR: Cannot connect to Integration Service [ebsczc9282brj:6006].
    Completed at Fri Oct 16 17:22:21 2009
    =====================================
    ERROR OUTPUT
    =====================================
    ' Make sure that the server is up and running.
    EXCEPTION CLASS::: com.siebel.etl.gui.core.MetaDataIllegalStateException
    com.siebel.etl.engine.bore.ServerTokenPool.populate(ServerTokenPool.java:231)
    com.siebel.etl.engine.core.ETL.thisETLProcess(ETL.java:225)
    com.siebel.etl.engine.core.ETL.run(ETL.java:604)
    com.siebel.etl.engine.core.ETL.execute(ETL.java:840)
    com.siebel.etl.etlmanager.EtlExecutionManager$1.executeEtlProcess(EtlExecutionManager.java:211)
    com.siebel.etl.etlmanager.EtlExecutionManager$1.run(EtlExecutionManager.java:165)
    java.lang.Thread.run(Thread.java:619)
    33 SEVERE Fri Oct 16 17:22:21 EAT 2009
    *     CLOSING THE CONNECTION POOL DataWarehouse
    34 SEVERE Fri Oct 16 17:22:21 EAT 2009
    *     CLOSING THE CONNECTION POOL SEBL_80
    35 SEVERE Fri Oct 16 17:22:21 EAT 2009
    END OF ETL
    --------------------------------------------

  • How to create execution plan in DAC and how to start ETL steps

    Hi,
    For ETL configuration i have installed and configured,
    1. Oracle 10G DB
    2. obiee and obia 7.9.6
    3. informatica server (here i created repository and integration services)
    4. DAC server 10g (setup for DAC is also configured like create warehouse tables etc.,
    same installation done on windows for client.
    Now i'm struck with execution plan creation.
    then
    how to start ETL, where start ETL
    Source : Oracle EBIZ R12.1.1
    target : Datawarehouse (10G DB)
    please help me out the steps till ETL start ?
    Thanks,
    Srik

    Hi Srik
    I am assuming you have followed the steps required before a load in the library for dac config, csv lookups etc...
    Did you check out the example in the documentation?
    Here is the link
    http://download.oracle.com/docs/cd/E14223_01/bia.796/e14217/windows_ic.htm#BABFGIHE
    If you follow those steps and run the execution plan and you can monitor the progress under the current run tab in the dac and the infa workflow monitor.
    Regards
    Nick
    Edited by: Nickho on 2010/06/21 9:24 AM

  • How do I create custom execution plan in DAC

    Hi,
    I need to create custom execution plan in DAC to load data into set of tables. actually schema we are building having 2 custom dim tables, 8 OOTB tables (Fact and Dim). So I need to copy existing OOTB execution plan, remove unwanted tables, tasks ect and rebuild. But I don't know exact process to do that Could you please provide step by step details?
    We are using OBIEE 10.1.3.4.1, BI Apps 7.9.6.1 and DAC client is on windows XP.
    Appreciate your help!
    Thanks
    Jay.

    Hi,
    I created new container which is a copy of Siebel 8.1.1 and then created new subject area, in tables child tab added one fact table and then clicked on assemble and clicked on save button. I got the message saying it is successfully assembled. I did checked tasks, and related dim tables cant see any for this new subject area. and another strage thing is I navigated to execution plans and again clicked on design tab now I cant see new subject area. when I try to add it again it is saying subject area with that name already available but I cant see it there. I did this twice but not able to fix the problem.
    Appreciate your help!
    Thanks
    Jay.

  • How can I get an execution plan for a Function in oracle 10g

    Hi
    I have:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    I would like to know if is possible to get an EXECUTION PLAN for a FUNCTION if so, how can I get it ?
    Regards

    You can query the AWR data if your interesting SQL consumes enough resources.
    Here is a SQL*Plus script I call MostCPUIntensiveSQLDuringInterval.sql (nice name eh?)
    You'll need to know the AWR snap_id numbers for the time period of interest, then run it like this to show the top 20 SQLs during the interval:
    @MostCPUIntensiveSQLDuringInterval 20The script outputs a statement to run when you are interested in looking at the plan for an interesting looking statement.
    -- MostCPUintesticeSQLDuringInterval: Report on the top n SQL statements during an AWR snapshot interval.
    -- The top statements are ranked by CPU usage
    col inst_no             format      999 heading 'RAC|Node'
    col sql_id              format a16      heading 'SQL_ID'
    col plan_hash_value     format 999999999999 heading 'Plan|hash_value'
    col parsing_schema_name format a12      heading 'Parsing|Schema'
    col module              format a10      heading 'Module'
    col pct_of_total   format        999.99 heading '% Total'
    col cpu_time       format   999,999,999 heading 'CPU     |Time (ms)'
    col elapsed_time   format   999,999,999 heading 'Elapsed |Time (ms)'
    col lios           format 9,999,999,999 heading 'Logical|Reads'
    col pios           format   999,999,999 heading 'Physical|Reads'
    col execs          format    99,999,999 heading 'Executions'
    col fetches        format    99,999,999 heading 'Fetches'
    col sorts          format       999,999 heading 'Sorts'
    col parse_calls    format       999,999 heading 'Parse|Calls'
    col rows_processed format   999,999,999 heading 'Rows|Processed'
    col iowaits        format   999,999,999,999 heading 'iowaits'
    set lines 195
    set pages 75
    PROMPT Top &&1 SQL statements during interval
    SELECT diff.*
    FROM (SELECT e.instance_number inst_no
                ,e.sql_id
                ,e.plan_hash_value
                ,e.parsing_schema_name
                ,substr(trim(e.module),1,10) module
                ,ratio_to_report(e.cpu_time_total - b.cpu_time_total) over (partition by 1) * 100 pct_of_total
                ,(e.cpu_time_total - b.cpu_time_total)/1000 cpu_time
                ,(e.elapsed_time_total - b.elapsed_time_total)/1000 elapsed_time
                ,e.buffer_gets_total - b.buffer_gets_total lios
                ,e.disk_reads_total - b.disk_reads_total pios
                ,e.executions_total - b.executions_total execs
                ,e.fetches_total - b.fetches_total fetches
                ,e.sorts_total - b.sorts_total sorts
                ,e.parse_calls_total - b.parse_calls_total parse_calls
                ,e.rows_processed_total - b.rows_processed_total rows_processed
    --            ,e.iowait_total - b.iowait_total iowaits
    --            ,e.plsexec_time_total - b.plsexec_time_total plsql_time
          FROM dba_hist_sqlstat b  -- begining snap
              ,dba_hist_sqlstat e  -- ending snap
          WHERE b.sql_id = e.sql_id
          AND   b.dbid   = e.dbid
          AND   b.instance_number = e.instance_number
          and   b.plan_hash_value = e.plan_hash_value
          AND   b.snap_id = &LowSnapID
          AND   e.snap_id = &HighSnapID
          ORDER BY e.cpu_time_total - b.cpu_time_total DESC
         ) diff
    WHERE ROWNUM <=&&1
    set define off
    prompt  to get the text of the SQL run the following:
    prompt  @id2sql &SQL_id
    prompt .
    prompt  to obtain the execution plan for a session run the following:
    prompt  select * from table(DBMS_XPLAN.DISPLAY_AWR('&SQL_ID'));
    prompt  or
    prompt  select * from table(DBMS_XPLAN.DISPLAY_AWR('&SQL_ID',NULL,NULL,'ALL'));
    prompt .
    set define on
    undefine LowSnapID
    undefine HighSnapIDI guess you'll need the companion script id2sql.sql, so here it is:
    set lines 190
    set verify off
    declare
       maxDisplayLine  NUMBER := 150;  --max linesize to display the SQL
       WorkingLine     VARCHAR2(32000);
       CurrentLine     VARCHAR2(64);
       LineBreak       NUMBER;
       cursor ddl_cur is
          select sql_id
            ,sql_text
          from v$sqltext_with_newlines
          where sql_id='&1'
          order by piece
       ddlRec ddl_cur%ROWTYPE;
    begin
       WorkingLine :='.';
       OPEN ddl_cur;
       LOOP
          FETCH ddl_cur INTO ddlRec;
          EXIT WHEN ddl_cur%NOTFOUND;
          IF ddl_cur%ROWCOUNT = 1 THEN
             dbms_output.put_line('.');
             dbms_output.put_line('   sql_id: '||ddlRec.sql_id);
             dbms_output.put_line('.');
             dbms_output.put_line('.');
             dbms_output.put_line('SQL Text');
             dbms_output.put_line('----------------------------------------------------------------');
          END IF;
          CurrentLine := ddlRec.sql_text;
          WHILE LENGTH(CurrentLine) > 1 LOOP
             IF INSTR(CurrentLine,CHR(10)) > 0 THEN -- if the current line has an embeded newline
                WorkingLine := WorkingLine||SUBSTR(CurrentLine,1,INSTR(CurrentLine,CHR(10))-1);  -- append up to new line
                CurrentLine := SUBSTR(CurrentLine,INSTR(CurrentLine,CHR(10))+1);  -- strip off up through new line character
                dbms_output.put_line(WorkingLine);  -- print the WorkingLine
                WorkingLine :='';                   -- reset the working line
             ELSE
                WorkingLine := WorkingLine||CurrentLine;  -- append the current line
                CurrentLine :='';  -- the rest of the line has been processed
                IF LENGTH(WorkingLine) > maxDisplayLine THEN   -- the line is morethan the display limit
                   LineBreak := instr(substr(WorkingLine,1,maxDisplayLine),' ',-1); --find the last space before the display limit
                   IF LineBreak = 0 THEN -- there is no space, so look for a comma instead
                      LineBreak := substr(WorkingLine,instr(substr(WorkingLine,1,maxDisplayLine),',',-1));
                   END IF;
                   IF LineBreak = 0 THEN -- no space or comma, so force the line break at maxDisplayLine
                     LineBreak := maxDisplayLine;
                   END IF;
                   dbms_output.put_line(substr(WorkingLine,1,LineBreak));
                   WorkingLine:=substr(WorkingLine,LineBreak);
                END IF;
             END IF;
          END LOOP;
          --dbms_output.put(ddlRec.sql_text);
       END LOOP;
       dbms_output.put_line(WorkingLine);
       dbms_output.put_line('----------------------------------------------------------------');
       CLOSE ddl_cur;
    END;
    /

  • Can we run EXE file/ Another Java Program from Java Application? How?

    Can we run EXE file and another java program from java application?
    Thanks in advance

    Example running adobe acrobat
    String command = "C:\\Program Files\\Adobe\\Acrobat 5.0\\Reader\\AcroRd32.exe /t "+selectedDocument+" \\\\CONTROL\\HP LaserJet 4L";
    Runtime rn = Runtime.getRuntime();
    Process process = rn.exec(command);
    process.waitFor();rykk

  • Can I initialize my hard drive and install from an external DVD drive?

    My PowerBook's showing signs of problems and I think it needs to be reinitialized. The only sticking point is that its Super Drive is jammed and I can't get an audio CD out that's been stuck in there for an embarassingly long time. Last year I was able to update OS X from Panther to Tiger with my external firewire DVD-RW. It booted from the external drive without any problems and the update went smoothly. Now, though, I want to boot from the external drive so that I can erase and rebuild my hard drive. Does anyone foresee any problems doing that?
    PowerBook G4 1.33 GHz   Mac OS X (10.4.8)  

    should be no problem - external drive can be either selected as startup drive form System Preferences or by holding down "option" key on restart.
    after machine is booted from the external drive, formatting/installing supposed to work.
    if there is power on built-in optical drive, sometimes it's possible to get stuck disc out by poking at it with some thin stiff piece of paper like business card etc.

  • Can I install a retail os10.5.6 from an external usb dvd drive?

    Since the internal dvd combo drive does not read double layer dvd, I tried to install the new version from an external usb dvd. The installation starts but when I have to restart the computer goes back to the first screen.

    Apple does not require any particular type of dvd Just says "an external dvd"
    What document are you referring to? The fact that you can read/write with a particular DVD drive does not necessarily mean you can boot from it.
    If you have another Mac available, you can probably "borrow" its DVD drive for your OS installation by using FireWire Target Disk mode.

  • Can we run xMII without Plan Connectivity?

    Gurus:
    We are previewing the install guide for xMII and Plan Connectivity.
    I do not see the dependency between the two components.
    Do we have to install Plan connectivity if we run xMII?
    Thanks!

    Plant Connectivity (PCo) and the Universal Data Servers (UDS) are optional supporting components of MII, for certain types of data connectivity and specialized alerting, but are only required when necessary.
    http://help.sap.com/saphelp_pco21/helpdata/en/46/a00344d44852b7e10000000a155369/frameset.htm
    Take a look at the Source Systems mentioned here for example of data type use cases.
    http://help.sap.com/saphelp_xmiiuds40/helpdata/en/index.htm
    Here you can see the types of connections available.

  • How can I run a Local PC executable file from Enterprise Portal?

    I want to run local PC executable files from inside the portal. To be more specific I want to be able to open the Outlook and some powerbuilder executable applications.
    How can I do it?

    If you absolutely want to do it, you can use vbscript for it (though there are a lot of security contstraints)
    See Re: Displaying office programs

  • Can't run Pages (or iWork '08 apps) from external drive

    My MacBook Pro is back at Apple for repair, so I created a bootable clone of that machine's hard drive to an external hard drive. While I can boot from that drive on another MacBook, none of the iWork '08 apps will run. They start up, show a menu bar, but won't open any existing files or allow me to create new ones.
    Any help?

    If you've not previously used iWork on the temporary Mac, you might consider downloading the iWork '08 trial to use. You will get all the functionality of the registered version.
    For anyone with more than one Mac that they might ever want to run iWork on, I suggest getting the family pack from the beginning. For only $20 US more, you get to legally install iWork on up to five different Macs in the same household.

  • Can I run the emulator in -Xautotest mode with an external API?

    Hello,
    I am currently creating an implementation to a JSR and I want to test the implementation with the test harness.
    I start the harness and then the test agent. I want to start the agent in autotest mode, using the -Xautotest switch, like this:
    emulator.exe -Xautotest:http://localhost:8080/test/getNextApp.jad
    This will download the test JAD and JAR and run them.
    The problem is this: When running, my class path must also contain my JSR implementation (the implementation I am testing). But the JSR implementation is not part of the downloaded JAR.
    Is there any way I can run the emulator in autotest mode, and have an external API in the classpath? The classpath should contain both the downloaded JAR and my JSR implementation JAR.
    Any help with this would be greatly appreciated!

    Hello,
    I am currently creating an implementation to a JSR and I want to test the implementation with the test harness.
    I start the harness and then the test agent. I want to start the agent in autotest mode, using the -Xautotest switch, like this:
    emulator.exe -Xautotest:http://localhost:8080/test/getNextApp.jad
    This will download the test JAD and JAR and run them.
    The problem is this: When running, my class path must also contain my JSR implementation (the implementation I am testing). But the JSR implementation is not part of the downloaded JAR.
    Is there any way I can run the emulator in autotest mode, and have an external API in the classpath? The classpath should contain both the downloaded JAR and my JSR implementation JAR.
    Any help with this would be greatly appreciated!

  • How can I run multiple midlets in parallel via the raspberry pi cmd line interface?

    I am trying to run multiple midlets at the same time on my raspberry pi.
    From netbeans point of view I am able to deploy and run them. But for my applications I want to auto start multiple midlets on the raspberry pi.
    On the cmd line interface of java me 8 I have commands to install a midlet and run a midlet.
    But i am not able to start multiple midlets.
    Can someone explain to me how I can do this?

    Hi!
    Could you please clarify a bit: do you want auto-start behavior of your applications or be able to start them manually via CLI?
    Because "auto start" means that applications are started by Java once you start Java itself and in order to make it happen you shall mark your applications appropriately (check MEEP spec for "MIDlet-<n>-Type" application attribute value "autostart"). If this is the case, have you added this attribute?
    If you want to run them manually you should be ale to do so via CLI just the same way as you start one application (via "ams-run" command).
    Either way, could you also please clarify what are the symptoms of the problem? E.g. on CLI what are the messages you receive back (if start is unsuccessful what is the error message etc).
    In addition please mind that there is limit on number of simultaneous VM tasks. If I'm not mistaken by default it is 6: 2 of them are used by system code and each running MIDlet consumes 1 VM task. If you want to increase it please change the value of "MAX_ISOLATES" property in jwc_properties.ini file. The maximum supported value is 16
    Regards,
    Andrey

  • How can I run a copy of photoshop elements from a hard drive from a broken laptop on my new imac

    The laptop had motherboard issues so have taken the hard drive out and am running it externally on a new iMac - if i try to run the program it says error code 6 and that i need to uninstall then reinstall the product but I bought it online so don't have a disc

    Install a downloaded version... you should be able to find it among the following links:
    PSE 10, 11 - http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html
    PSE 7, 8, 9 - http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-7-8-9-downloads.html
    Check your Adobe account online for the serial number if you have not saved it anywhere locally.

  • Run the Apple Hardware Test (AHT) from a external drive possible?

    Hi my DVD drive is dead and i need to do a hardware test now but my macbook pro spits the dvds out., does anyone have experience with running AHT from external drive ?

    macjack wrote:
    What are you using AHT for specifically? Could you instead use a utility like Rember for checking RAM, which does a better job IMO than AHT?
    -mj
    i got it back from a authorized apple center that replaced the logic board and video card but now my dvd drive does not work and i can not test it with the original dvds, it was a recall on apples part for a faulty video card.
    i want to test the v card as well as anything else i can do to see if someone snatched the original dvd drive becuase this thing was working before i took it there

Maybe you are looking for

  • How to display MS Outlook calendar of a user exactly in Office 365 SharePoint site calendar?

    Hi, I just followed the below article for getting my whole calendar events into my SharePoint Office 365 site's calendar. http://sharepoint.stackexchange.com/questions/83366/view-outlook-calendar-in-sharepoint-2013 But I get the below error. The HTTP

  • Random muting of Mac sound. Why doesn't Mac adress this?

    I am having a recurring problem with the sound randomly muting. In the System Preferences panel, the volume slider is grayed out and the 'mute' option is checked but also greyed out. This has been happening on and off for a while. Sometimes restartin

  • Merging FDF data into PDF form

    Hello all. To fill pdf form we use such url: http://server/form.pdf#FDF=http://server/get_xfdf So as result will be opened pd form in browser and filled with received data. This works in all browsers except Safari. Tested on FF 3.5, IE6, IE7, IE8, Op

  • Error in STO Process

    Hi all , use made a mistake in the STO process. process done as follows STo created (inter company) delivery created Gi done billing done GR done (at receving co code and plant ) now due to some mismatch in values user at supplying plant has cancelle

  • Weird problem with 'Album is any' smart album

    I've got a smart album where I have the following two criteria: Album is any Date is in range 2014-01-01 to 2014-12-31 Theoretically, this album should be empty as I have deleted any albums with photos in that range.  However, the album is picking up