Need a script that will provide details of concurrent applications that took place beyond the avg time of execution.

Hi guru - it will be really useful, if so can provide a script that will get details of concurrent applications that went beyond the avg time of execution.

Thank you

Are you after something like this? Last column shows the average too.

select FCP.user_concurrent_program_name
      ,FCR.argument_text
      ,FCR.completion_text
      ,to_char(FCR.actual_start_date,'DD-MON-YYYY HH24:MI:SS') start_time
      ,to_char(FCR.actual_completion_date,'DD-MON-YYYY HH24:MI:SS') end_time
      ,ROUND((FCR.actual_completion_date  - FCR.actual_start_date)*86400) time_in_sec
      ,ROUND(AVG_VALUES.avg_time) AVG_TIME_IN_SEC
from fnd_concurrent_requests FCR
    ,fnd_concurrent_programs_vl FCP
    ,(select  FCR1.concurrent_program_id
             ,avg((FCR1.actual_completion_date  - FCR1.actual_start_date)*86400) avg_time
      from fnd_concurrent_requests FCR1
      group by FCR1.concurrent_program_id) AVG_VALUES
where FCR.concurrent_program_id = FCP.concurrent_program_id
and   (AVG_VALUES.concurrent_program_id = FCR.concurrent_program_id
       and
       ((FCR.actual_completion_date  - FCR.actual_start_date)*86400) > AVG_VALUES.avg_time)
ORDER BY FCR.concurrent_program_id,FCR.actual_start_date desc;

See you soon

AJ

Tags: Oracle Applications

Similar Questions

  • I need to create a point of restore system from a specific date. What I "undo" all the restore points that took place after the restore point I want?

    I allowed someone to use my computer.  I signed as an administrator and didn't know.  I get errors galore.  My Event Viewer is filled with errors, administrative cautions and even a crucial questions.  I have to take my system will cost about a week.  The person ran system restore a change has been made every time.  So I can no longer choose the date that I need.  Could you be it someone please let me know if the task is possible.  Or do I have to go through my whole system cleaning!  I HOPE!

    Thank you!!!

    I allowed someone to use my computer.  I signed as an administrator and didn't know.  I get errors galore.  My Event Viewer is filled with errors, administrative cautions and even a crucial questions.  I have to take my system will cost about a week.  The person ran system restore a change has been made every time.  So I can no longer choose the date that I need.  Could you be it someone please let me know if the task is possible.  Or do I have to go through my whole system cleaning!  I HOPE!

    Thank you!!!

    Hey 'Vista' - leeChallenged

     
    the only system restore point that you create is for today
    You cannot create a restore point for yesterday etc.
    they are either made or they are not made
    go back two or theee weeks to system restore to before he was hit if the dates of restoration are available

    read the information in the link to a very good display of how return more than 5 days in the System Restore Points by checking the box below.

    http://www.windowsvistauserguide.com/system_restore.htm Walter, the time zone traveller

  • Updates of patches and downloads for windows xp that took place after the release of sp3

    Is there or will there be any type of packs of update that I can incorporate into my windows xp pro sp3 install cd using nlite [or not] would make it easier to keep my system up to date when I Custom installed my system?

    I know that there is a very explicit "' response to sp4. I'm looking for the next great thing.

    It's one pain in the end have to install windows, then all the .net stuff, light silver, patches and other from windows update, and slipstream, and then in an installation using nlite, so I can have it later when I re-install the operating system.

    I think microsofts plan works however. I think to upgrade my xp system to vista sp2.

    Thanks to a witness of anomaly.

    Hello

    Unfortunately, there is no Pack update that you can install to keep your computer up to date. The only option is to download and install up-to-date or patches updates manually
    After Service pack 3 because there will be no more service pack for XP.

    Kind regards
    Afzal Taher-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I need a script that would provide leading to different text blocks.

    Hello

    I need a script that would change with each attack of text frame. Is it possible to make a?

    This this example script that works on a selection of blocks of text:

    #target illustrator

    function test() {}

    var doc = app.activeDocument;

    var s = doc.selection;

    If (s == null & s.length == 0) {}

    return;

    }

    for (var i = 0; i)< s.length; ="">

    If (.) S [i] TypeName! = "TextFrame") {}

    continue;

    }

    s [i].textRange.characterAttributes.autoLeading = false;

    s [i].textRange.characterAttributes.leading = 22;

    };

    };

    test();

  • Need help! Will pay! Need a script that will change the size of the art on several files.

    I'll PayPal someone MONEY right now for this script. I have more than 400 files to process.

    System/software: Adobe Illustrator CS6 on PC
    Filetype (s): .ai

    I have more than 400 .ai files that contain work in all different sizes. I need a script that resizes the work at certain height or width specifications below.

    Some of the height of the work is greater than the width, some of the width of the work is greater than the height.

    If the overall of the art vertical height selected is greater than the width, I need the new height to be 166,6 pt
    If the horizontal art width selected is greater than the height, I need the new width to 166,6 pt

    The value of the width/height unchanged at 166,6 pt must be limited to the new values.

    If possible, I also need to change the size of the artboard to 216px x 216px. He is currently in 512px x 512px.

    Help, please! I'll pay!

    EmojiStickers wrote:

    I'll PayPal someone MONEY right now for this script. I have more than 400 files to process.

    Help, please! I'll pay!

    What is your budget?

    Check this thread and see if it helps, I have a script to resize work plans

    http://forums.Adobe.com/message/4853547#4853547

  • Need a script that lists the VM with a snapshot

    Hello

    I am relatively new to powershell scripting and even newer to the vSphere CLI. I have no problem reading and understanding scripts, but what makes one is another story. In any case, I'm looking for help to create a script that will check that all the vm's on all ESX hosts, if they have a snapshot and if they echo the name of the virtual machine to the screen.

    That's what I have so far but I'm stuck and probably on the wrong track. Any help/suggestions are welcome!

    $user = "< removed >.
    $passw = "< removed >.
    $VIServers = "< IP ESXi host >", "< IP ESX Host1 >', '< IP ESX Host2 >', '< IP ESX Host3 >', '< IP ESX Host4 >', '< IP ESX Host5 >', '< IP ESX Host6 >.

    {foreach ($VIServer to $ViServers)
    SE connect-VIServer-Server $VIServer - user $user-password $passw
    $vms = get-vmhost $VIServer | Get - vm

    {foreach ($vm to $vms)
    < code that checks to see if there is a snapshot and echo is the name of the virtual machine to the screen. Clueless >

    }
    }
    }

    Forward thanks!

    Kind regards

    Erik

    Why directly to the ESX: you?... To connect to vCenter instead and then it s very easy...

    Get - VM | Get-Snapshot | Select the virtual machine, name, Description, created. Kind created

    Kenth-

  • Transformation of Scripts that run only on the selected Tables

    I'm relatively new to Data Modeler, but found almost everything to be very intuitive. I'm now doing use custom transformation scripts to dynamically add custom DDL elements. I wrote a transformation script that adds a sequence at the end of my DDL trigger successfully, and I'm happy with the results. The problem I run into is that we have two different categories of tables that require slightly different sequence triggers, but as my model is set to the level of database, my transformation scripts are applied to all arrays regardless they come what schema. Do you have any suggestions on how to limit the tables which proceeds by a transformation script? I thought to add if statements to check what schema tables are coming from, but if I have a situation where I have two different tables that require two different processing scripts, but they are in the same pattern, how can that I manage that? Ideally, I'd like to just pick a table and apply a transformation script for this table individually. Is this possible?

    I work in a relational model with Data Modeler 4.0.

    to dynamically add items customized to DDL

    you need to check the custom of DDL in DM 4.1 features - "tools > rules and design transformations > Table DDL transformations"-DM 4.1 comes with example to generate tables of the newspaper and associated trigger.

    . I wrote successfully in a transformation script that adds a sequence at the end of my DDL trigger

    Data Modeler can generate the sequence and relaxation for you - you need to define the column as 'auto increment' / identity and set in preferences, you want "trigger" put in place. 4.1 DM added support for z/OS, DB2 LUW DB2 and MS SQL Server 2012.

    Do you have any suggestions on how to limit the tables which proceeds by a transformation script? I thought to add if the instructions to check the schema, the tables are coming, but if I have a situation where I have two different tables that require two different processing scripts, but they are in the same schema

    Well you need to sort it out on yourself - you can use classification types, dynamic properties user defined properties (in DM 4.1) or put paintings in various subviews or use the search feature (4.0.3 DM / DM 4.1 comes for example how to use the search results to create subview).

    Ideally, I'd like to just pick a table and apply a transformation script for this table individually. Is this possible?

    Here is an example of how get selected tables:

    appv = model.getAppView();
    dpv = appv.getCurrentDPV();
    //check there is a diagram selected and it belongs to the same model
    if(dpv!=null && dpv.getDesignPart() == model){
     tvs = dpv.getSelectedTopViews();
     for(var i=0;i
    

    Philippe

  • Active script that selects all of the items spread

    I'm trying to find a 'simple' script that selects all elements on the page, either a group or individual items without using a dialog window. Is there a selection simple javascript to select all the objects on a page or spread for InDesign CS3? I'm new to this sort of thing script.

    Hey!

    PankChat is right, but you can't 'see' the selection.

    If you want to 'see' what is selected, try this:

    app.select(app.activeWindow.activePage.allPageItems);
    

    tomaxxi

  • How to generate a sql script that is based on the structure of the table

    I want to generate a sql script that is based on a table structure.

    For example:

    If the table is:

    CID id c_value
    -----------------------------
    1 1 zz
    2 1 yy
    3 2 zz
    4 2 xx
    5 3 ss
    6 tt 3


    The expected output is:

    WITH
    CHILD_tab like)
    SELECT 1 cid, 1 id, 'zz' c_value of all the double union
    SELECT 2 cid, 1 id, 'yy' c_value of all the double union
    SELECT 3 cid, 2 id, 'zz' c_value of all the double union
    SELECT 4 cid, 2 id, 'xx' c_value of all the double union
    SELECT 5 cid, 3 id, 'ss' c_value of all the double union
    SELECT 6 cid, 3 id, 'tt' double c_value)


    11.1.0.7.0 release

    I do a lot of XML these days (maybe too well) so here is a solution involving XQuery.
    We pass a query string and it generates a CLOB containing the WITH clause:

    SELECT DBMS_XMLGEN.Convert(
    XMLQuery(
    q'[concat(
    "WITH t AS (
    ",
    string-join(
     for $i in /ROWSET/ROW
     return concat( " SELECT ",
                    string-join($i/*/concat("'",ora:replace(text(),"'","''"),"' ",local-name()),", "),
                    " FROM dual" ),
    " UNION ALL
    "
    ),
    "
    )")]'
    passing dbms_xmlgen.getXMLType('SELECT * FROM scott.emp')
    returning content
    ).getClobVal(), 1) AS WITH_CLAUSE
    FROM dual;
    
    WITH_CLAUSE
    --------------------------------------------------------------------------------
    WITH t AS (
     SELECT '7369' EMPNO, 'SMITH' ENAME, 'CLERK' JOB, '7902' MGR, '17/12/80' HIREDATE, '800' SAL, '20' DEPTNO FROM dual UNION ALL
     SELECT '7499' EMPNO, 'ALLEN' ENAME, 'SALESMAN' JOB, '7698' MGR, '20/02/81' HIREDATE, '1600' SAL, '300' COMM, '30' DEPTNO FROM dual UNION ALL
     SELECT '7521' EMPNO, 'WARD' ENAME, 'SALESMAN' JOB, '7698' MGR, '22/02/81' HIREDATE, '1250' SAL, '500' COMM, '30' DEPTNO FROM dual UNION ALL
     SELECT '7566' EMPNO, 'JONES' ENAME, 'MANAGER' JOB, '7839' MGR, '02/04/81' HIREDATE, '2975' SAL, '20' DEPTNO FROM dual UNION ALL
     SELECT '7654' EMPNO, 'MARTIN' ENAME, 'SALESMAN' JOB, '7698' MGR, '28/09/81' HIREDATE, '1250' SAL, '1400' COMM, '30' DEPTNO FROM dual UNION ALL
     SELECT '7698' EMPNO, 'BLAKE' ENAME, 'MANAGER' JOB, '7839' MGR, '01/05/81' HIREDATE, '2850' SAL, '30' DEPTNO FROM dual UNION ALL
     SELECT '7782' EMPNO, 'CLARK' ENAME, 'MANAGER' JOB, '7839' MGR, '09/06/81' HIREDATE, '2450' SAL, '10' DEPTNO FROM dual UNION ALL
     SELECT '7788' EMPNO, 'SCOTT' ENAME, 'ANALYST' JOB, '7566' MGR, '19/04/87' HIREDATE, '3000' SAL, '20' DEPTNO FROM dual UNION ALL
     SELECT '7839' EMPNO, 'KING' ENAME, 'PRESIDENT' JOB, '17/11/81' HIREDATE, '5000' SAL, '10' DEPTNO FROM dual UNION ALL
     SELECT '7844' EMPNO, 'TURNER' ENAME, 'SALESMAN' JOB, '7698' MGR, '08/09/81' HIREDATE, '1500' SAL, '0' COMM, '30' DEPTNO FROM dual UNION ALL
     SELECT '7876' EMPNO, 'ADAMS' ENAME, 'CLERK' JOB, '7788' MGR, '23/05/87' HIREDATE, '1100' SAL, '20' DEPTNO FROM dual UNION ALL
     SELECT '7900' EMPNO, 'JAMES' ENAME, 'CLERK' JOB, '7698' MGR, '03/12/81' HIREDATE, '950' SAL, '30' DEPTNO FROM dual UNION ALL
     SELECT '7902' EMPNO, 'FORD' ENAME, 'ANALYST' JOB, '7566' MGR, '03/12/81' HIREDATE, '3000' SAL, '20' DEPTNO FROM dual UNION ALL
     SELECT '7934' EMPNO, 'MILLER' ENAME, 'CLERK' JOB, '7782' MGR, '23/01/82' HIREDATE, '1300' SAL, '10' DEPTNO FROM dual
    )
    

    It may be useful for small datasets only because we reached quickly ORA-01706.

  • Windows has started to put some files in two places at the same time, will appear in some programs

    Hello

    in the last two weeks, I noticed that Windows (I use Windows 7) began to act up with its allocation record. First of all, I noticed that a new folder I created for some music files was not detected when I tried to open the file in a music editing program (Adobe Audition). If I created a new folder in a different location and copied the files into that, suddenly hearing would recognize the folder. Change a few days I noticed that in addition to this, when I copied a disc into my computer, after you select a new folder for the files to copy, Windows would create a second copy mirror of the folder and the files and place it in another location not of my choice (this all happens within my music library folder). Some files that I had cut my folder "work on", to stick to my folder to archive tips that did it, and windows in two copies of each of them - one where I had pasted it and other oddly in a separate folder completely in my archives. For some reason any Windows decided to put copies ghosts of several things in this folder without special report. So, if I change the files in a folder, they are automatically changed on the other; If I try to delete a copy of this file, it removes the two; and if I try to cut and paste the lot assigned folder and put it where it should be back (IE if there is already the original copy) Windows says it can't do that because the destination file matches the location of origin. I don't know how to remove these files has doubled up foreign, which create a lot of confusion trying to figure out where my files and which ones to change. I can't find any way or return of Windows to its appropriate classification system, including maximum until recently had none of these problems.

    Music library is not a folder, it's just a definition of research.

    Libraries are really just XML files that define search criteria.

    The real essentials you need to know is that libraries are not records.  They are really just a quick search of several places.  Try this: right click on the document library and select Properties.  This will tell you where the library is looking.  Whenever you open the document library, it performs an instant analysis of these places and tells you what he found.  Is not additional copies files, it's just search results. If you delete something, you remove the one and only original, everywhere where it is.

    You might ask "well, what's the point of a library?  I'm glad you (perhaps) asked.  The reason is you have a lot of places.  Take me for example.  I have some movies on my hard drive.  I have more moves on an extra drive (they will all take place on the main drive).  In addition, my roommate has a few movies on his drive.  With a library, I have a library of videos that research on all drives and gives me a single view combined all our movies instantly.  Now I can see all my films in my library at the same time, no matter which disc they are on.

    The files are not duplicated or moved, you see just a list of them, such as a telephone directory or the Google search results.

  • Is it possible to reveal that which is beyond the edges of the canvas?

    Often, I want to be able to see what is beyond the edge of the canvas in my Photoshop document - to reveal the rest of the artboard, such that we could call in Illustrator (or pasteboard, I think they call it in InDesign). Is it possible to do? It would be very convenient to be able to know what additional information my PSD is available without having to lug these layers autour.

    This problem also happens when I want to apply a flare to an image - I creates the stray light on a new layer put on screen, but if I move autour, a hard edge shows where the outline of the picture was before I moved it. Is it possible to apply an effect to an area larger than the size of the image? Or I need to temporarily increase the size of the canvas, and then apply the effect, and then move it where I want, and then change the size of the canvas back? Seems to be a roundabout method, and an easy way for me to mess up my original size of the canvas.

    Hi Dave.

    In CS3, the effect is applied to the entire layer, including the portion that extends beyond the canvas. Maybe your problem is that you need a larger layer. When you create a new layer, it is the same size as the canvas. No fill or effect is applied to the size of the layer. When you move at all, at the edge of the layer shows. To make your screen/rocket layer, create it and then resize it by some percentage higher than the canvas than you think you'll need (120%, 150%?). Then apply your effect. It should be applied to the whole layer, and when you drag, more stray light should be revealed.

    It would be very convenient to be able to know what additional information my PSD is available without having to lug these layers autour.

    I don't know an official way to do this in PS. But if I needed it, I would create a layer clipping at the bottom the same size as my desired canvas. And have the larger real canvas. To see what is outside the 'canvas', hide the layer from clipping. You can trim 50% gray layer, and things look pretty much like normal.

    FWIW.

    Peace,

    Lee

  • I have a script that works on all the machines in my office, unless someone can help me?

    Most of the machines in my studio run cs5.5 or cs6, but only one machine is running 5.1 - we use this script on all machines:

    #target photoshop

    main() {} function

    If (documents.length! = 1) return end

    PSD opened with layers to copy

    var PSD = new File ("/ Applications/Adobe Photoshop CS6/Presets/Scripts/Script_Resources/moreLengthsOverlayTemplate.psd");

    If (!.) (Return PSD.exists);

    Open (PSD);

    selectAllLayers();

    activeDocument.activeLayer.duplicate (documents [0]);

    app.activeDocument.close (SaveOptions.DONOTSAVECHANGES);

    }

    function selectAllLayers() {}

    var desc29 = new ActionDescriptor();

    var ref23 = new ActionReference();

    ref23.putEnumerated (charIDToTypeID ('Lyr'), charIDToTypeID ('Ordn'), charIDToTypeID ('Trgt'));

    desc29.putReference (charIDToTypeID ('null'), ref23);

    executeAction (stringIDToTypeID ('selectAllLayers'), desc29, DialogModes.NO);

    }

    main();

    but I have a troublesome machine giving me issues.

    Here are a few screenshots to illustrate what is happening:

    Screen Shot 2013-05-30 at 11.05.37 AM.png

    Screen Shot 2013-05-30 at 11.07.23 AM.pngScreen Shot 2013-05-30 at 11.07.38 AM.png

    I'm not terribly saavy script and I don't know if it's just because the machine in question is running cs5.1 or if theres another problem.

    Thanks for your help!

    Here is an update on the situation, a user on the machine was having a problem where photoshop opens not at all, it will crash and reopen and crash very much. so we tried to connect as another user who is having the problem I described in this thread, it turns out that this user has some kind of issue in which he had no permission to open the source files for that solved the problem. Then, we deleted the user account in which photoshop will not open and created a new user and the new user seems to work around at the moment and the script has not been changed. I guess what my point, is that the problem is external to the script throughout.

  • Social widget that take place behind the text

    Dear someone

    Ive used some social widgets on a site I did for a local artist. But when I click on the likebutton, it unfolds behind the text under eventhough widgets are on the top layer and bodytekst on the bottom layer. An example you can find here http://www.rikbeuselinck.be/sculpturewalk-sioux-falls2014.html

    Help please because the site is online.

    Johannes of greetings.

    That's great!

    What changes you then configure that differently? Please list down because it will help other users faced with the question.

    Thank you

    Sanjit

  • Two extensions that I place on the navigation bar are moved to the bottom of the status bar when I left and reopen firefox

    The self-destruction of cookies and spoofer random agent have all two icons for the addons. I move the icons until the navigation bar where they sit and function while I use firefox. I then quit firefox normally and when I open it up, icons are back in the status bar. I have active sync I think that maybe that's the problem, but I still have to test this.

    You can also check the problems caused by a corrupt localstore.rdf file.

  • You can remove old updates from Windows that take place on the hard drive?

    I have 391 updates on my computer since 2007 I should all keep them?  My hard drive is almost full, not sure what to delete - help!

    Friday, April 13, 2012 23:59:35 + 0000, Barbara H63 wrote:

    I have 391 updates on my computer since 2007 I should all keep them?

    Yes.

    My hard drive is almost full, not sure what to delete - help!

    There are several things that you can remove, but they are all temporary
    solutions. You soon find yourself in the same situation. the
    only real solution to this problem is the purchase of a larger or second hard
    drive. Luckily they are cheap these days.

    Ken Blake, Microsoft MVP

Maybe you are looking for

  • I myself don't sign up - get no acknowledgement of Gmail didn't do it where it is

    I asked for Firefox to be my home page and an email was promised so I could activate my add-on requiredG.mail for failing and I would like to know where it is - would also like to know if the Firefox homepage allows you to keep access to "top sites"

  • Nine 7 an Iconia wifi does NOT illuminate

    Stuck at the screen saying "Turning Wi - Fi on" gray button. This unit is brand new, it didn't load except the factory, and Yes, I do a restotr, but nothing helped. Very frustrated. Ken

  • What version is my Z3? D6603 or D6616

    Hello. I bought my z3 unlocked on Amazon that the version of d6603, as it says in the box of the phone, but he has 32 GB of internal storage. I went to the menu phone info and it says d6603, but when I went to the legal info > certificate it says d66

  • Director of Windows file missing ad2mcmpgdec.dll

    Hello!... I have a lack of file message when I work with Windows Movie Maker... the file is ad2mcmpgdec.dll... How can I fix this?... Thanks in advance!

  • Dell XPS 13 2015

    What happened to the Dell XPS 13, 2013 Core i5-5200U, 128 GB SSD, 8 GB of Ram, not 1920 x 1080 Full HD touchscreen? Why he was pulled off the shelves?