Concurrent job executable question

Hi,
I need to modify a report run under the concurrent job called Planning Detail Report. Normally, when the executable is an Oracle report I can find it on the server, but this report executable method is setup at "Spawned" and I am not sure how to find the code behind this report. Can someone please tell me where to find this?
Regards,
Steve

Spwaned program are found in the bin directory.
Since planning detail report is under MRP, you will find it under $MRP_TOP/bin
Oracle gives only executable for spawned programs; you do not get the source code. And it is almost impossible to modify these programs.
However, you can make some attempt to gleam at the logic. In the past, I have run strings command on spawned executable to sneak some peeks into Oracle's logic. I was lucky enough to find what I needed but that is not guaranteed.
Hope this helps,
Sandeep Gandhi
Independent Techno-functional consultant

Similar Messages

  • BI 4.x : guideline for "Maximum Concurrent Jobs" in Adaptive Job Server

    Dear all,
    What is the guideline in BI 4.x for the property "Maximum Concurrent Jobs" in the Adaptive Job Server (eg in the Web Intelligence Scheduling Service)
    In the XI-versions it was 5 concurrent jobs per CPU.
    Is that guideline still applicable in BI 4.x ?
    Many thanks
    Hans

    Default value is same for BO 4.0 also. You can adjust based on your requirement.

  • Job executing the SSIS pkg via cmdExec line step not picking the config details

    Job executing the SSIS pkg via cmdExec line step not picking the config details (of prod server connections/parameters)
    specified in dtsConfig file and by default using the values present in the pkg (which is of dev env).  I have to open the package
    uncheck "Enable package configuration" save the package and check it again and save again then the package will use the prod config.
    What could be the reason? and how to fix this?
    The SSIS pkg and the dtsCofig reside in same folder of network drive.
    SQL Server R2 Ent Ed
    Thanks

    Hi Ramzi24,
    This is the by design behavior. The Dtexec utility will apply the default package configurations for the second time after applying the options specified in the command lines or other package configurations configured in the job step. In this way, as long
    as the default package configurations file is valid, the configurations of it cannot be overwritten.
    If the package is not deployed/installed, the Dtexec utility looks for the XML configurations file according to the file path defined in the Package Configurations Organizer window. In this situation, you need to either disable the package configurations or
    modify the XML file path in the BIDS.
    If the package is already deployed/installed, you need to modify the package as above or re-specify the install folder for the package configurations file. 
    Reference:
    http://technet.microsoft.com/en-us/library/ms141682(v=sql.105).aspx
    Regards,
    Mike Yin
    TechNet Community Support

  • Query to find Concurrent requests executed on each db node in RAC from in last 24 Hours

    Hi
    Could you please help me in getting the query to find total number of concurrent requests executed on each db node in Two DB Node RAC with PCP ( Two CM Nodes) in last 24 hours.

    c2670397-8171-480e-b9f8-8874e77ee0b4 wrote:
    Hi
    Could you please help me in getting the query to find total number of concurrent requests executed on each db node in Two DB Node RAC with PCP ( Two CM Nodes) in last 24 hours.
    Query FND_CONCURRENT_REQUESTS table (ACTUAL_START_DATE and ACTUAL_COMPLETION_DATE columns) -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_CONCURRENT_REQUESTS&c_owner=APPLSYS&c_type=TABLE
    https://community.oracle.com/message/10780262#10780262
    https://community.oracle.com/message/10589420#10589420
    Thanks,
    Hussein

  • Want to remove concurrent program executable

    if any body knows that
    how to remove the record from concurrent program executable if it is wrongly entered.
    the record is also added to concurrent programs. it was wrongly entered in another application but if want to correct the thing. it does not work.
    pls help,
    ashok

    https://www.google.com/search?q=howto+remove+avast+mackbook+pro

  • Script to find concurrent job that ran long within a time range

    Oracle Apps:12.1.1
    DB:11.1.0.7
    OS:Linux RedHat 86x64
    All,
    Could anyone please share the Script to find concurrent job that ran long in a particular day say between 3pm - 4pm in an hour's time range specifically.
    Thanks for your time!
    Regards,

    try
    SELECT request_id,     
           to_char(actual_start_date, 'dd-MON-yy hh24:mi:ss') begin_dt,
           to_char(actual_completion_date, 'dd-MON-yy hh24:mi:ss') end_dt,
           substr(to_number(((actual_completion_date - actual_start_date) * 24) * 60),
                  1,
                  5) time_in_min,
           program      
      FROM fnd_conc_req_summary_v a
    WHERE (
           actual_start_date >  to_date('30-11-2011 08:00', 'dd-mm-yyyy hh24:mi')
              and
           actual_start_date <  to_date('30-11-2011 08:00', 'dd-mm-yyyy hh24:mi'))
           )

  • Scheduled concurrent jobs disappear

    Gurus,
    Periodically, we'll have a scheduled concurrent process which will be running every 5 or 10 minutes which will cease to reschedule itself. Anyone have this experience, as well? No outage occured or other manual intervention which would have caused this to happen.
    The last job always completes normally; no error.
    We are using Oracle Apps 11i, Database 11g.
    Thanks,
    Scott
    Edited by: sreese on Mar 21, 2013 9:14 AM

    Yes, this is a custom concurrent job. Scheduled every five minutes with no end date.
    Thanks,
    Scott
    Resubmit Interval Resubmit Interval Unit Code Resubmitted Resub Count Resubmitted Resubmitted End Date
    5.00000 MINUTES N 450408 N <null>
    Edited by: sreese on Mar 21, 2013 9:27 AM

  • Oracle Concurrent job view

    Hi,
    I have one user who can see concurrent jobs. How can I disable this feature to that user? He wants to see only his request.
    Oracle Applications: 12.0.6 and DB=r11gr2
    Thanks

    user587327 wrote:
    Hi,
    I have one user who can see concurrent jobs. How can I disable this feature to that user? He wants to see only his request.
    Oracle Applications: 12.0.6 and DB=r11gr2
    ThanksPlease see these docs.
    R12 View Concurrent Requests FAQ [ID 1261985.1]
    Concurrent Report Access Level [ID 736547.1]
    How To Configure Access To Request Output Of The Same Responsibility in R12 [ID 804296.1]
    In EBS R12 How Setup UMX / RBAC To View A User's Request Under Any Responsibility [ID 960405.1]
    How To See Log And Output Files Of Requests Ran By Other Users Using Same Resp In R12 [ID 563946.1]
    Cannot View Log/Out Files After Upgrade To R12 [ID 469911.1]
    R12 RBAC Unable to View Output of Requests Submitted by other Users [ID 862812.1]
    Thanks,
    Hussein

  • Are Concurrent Jobs Resumable?

    I'm running 11.5.10 on Solaris SPARC.
    What happens if I lose concurrent manager, let's say, due to hardware failure, and I have a second concurrent manager on another node? Will the second manager resume the jobs running on the one that crashed? If so, does it roll them back, or can it resume them from the point of failure?
    Thanks,
    Ted Persky

    Hi Ted,
    Good question. Here's my (theoretical) reply:
    Short answer in most cases is no as once a job is running control is passed to the job itself. Rerunnable? Thats a different story.
    Some musings:
    First you have to consider what type of job it is. Chances are everything will rely on the database process and if your concurrent manager node fails then the database node might continue and complete the job successfully. If the database node fails then you're without your paddle (or at least your second node and everything else won't be running either) so all bets are off. Chances are in hardware failure you'll be wanting to look at the pending/running requests pretty closely anyway.
    My understanding is that once a concurrent request starts running the job is marked (committed) as running. If the hardware then fails then the job will still be marked as running even though there are no processes, in which case a cmclean.sql or datafix may be required - the jobs are more than likely not restarted. But I haven't tested this with multi concurrent nodes. Now on my list of things to try!
    Jobs that haven't started running (pending) should be fine, but I haven't tested hardware failure to this level of detail lately!
    Note one real gotcha in the past is when someone cancels (terminates) a concurrent request. Apps doesn't seem to call the "alter system kill session" on the concurrent request database process, and so that still runs in the background. Something like FA Depreciation is a good example here, I've seen that cancelled with grief a few times coz it continued processing in the background after the request showed Completed Cancelled!
    Keen to hear how you get on testing any responses to this question!
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • Work Paths, selections, and general doing my job better question...

    I currently work for a company that prints "Fathead" like wall graphics, i set the images up to print for them, but im looking for a better way to do what i do. Specifically my working with illustrator and Photoshop to setup the cut line for each image. Here is my current step by step procedure:
    1) Open image (usually a JPG) in Photoshop CS4
    2) Using mainly the Lasso tool's i select the subject to be printed. I'm very fast doing this.
    3) Copy/Paste the selection i just made into a new and save it as a TIF file.
    4) Back to the original selection i Smooth and Contract the line a few pixels and hit "Make Work Path"
    5) Export that path to illustrator (which leaves me with an .AI file)
    6) From here im done with Photoshop and i open both the .AI and TIF files into Adobe illustrator CS4
    7) The .AI file i give a stroke and then on the Swatches tab i hit New Swatch, name it "CutContour", and select Spot Color & RBG
    8) I then copy the CutContour line, paste it onto the TIF image, and line it up over the subject
    9) From here all that's left to do is make it the right size it's to be printed at and save it as an EPS file and im done.
    The main reason im asking for help here is because I'm not happy with the quality of the cutline Photoshop exports to illustrator (the ai file) after i make it a work path. The anchor points and handle's are often in need of a lot of adjustment despite the fact that my selection in Photoshop was right on the money.
    One side note that might be a direction for me to head in,...
    I recently was given a jpg file from a guy who said he had already made the selection for me. I wasn't quite sure what he meant but when i saved the image as a tif, opened it in illustrator, and hit CTRL-A to select everything i noticed a cutline was already present. After further examination of the jpg in Photoshop i noticed a "Path 1" on the paths tab, and more importantly that cutline when opened in illustrator was nuts on! Meaning none of the anchor points and handle's needed to be adjusted at all.
    Now the person who sent me this file was a customer so i can't rightly ask them how to better do my job :-) lol ...but maybe someone here can tell me how they (for lack of a better word) embedded a cutline or path i guess it's called into a jpg file like that? This would at least save me the step of exporting my selection to illustrator as an AI file and im wondering if however they did it is more accurate then the "Make Work Path" option i currently use.

    ...useing File | Export | Paths to Illustrator is what i outlined above that i currently do...
    My apologies for not catching that. Honestly, my eyes glazed over at about step 2 of your procedure.
    I'm not happy with the quality of the cutline Photoshop exports to illustrator (the ai file) after i make it a work path.
    A couple of possibilities come to mind. What Tolerance value are you using when you first make a work path out of your selection in Photoshop? 0.5 pixel is the highest precision available, and that's what you should use if you want your path to accurately reflect your selection. Be warned, however, that your path will likely end up with a lot of points, making for an unnecessarily complex path. (Try it with a simple circle.)
    Another possibility is that you're working with a low-quality, low-resolution JPEG as your source image. JPEG compression artifacts can affect selection accuracy (with automated tools, like the magic wand or eraser), and overall resolution, of course, will limit path precision. Not much you can do about that other than to start with better-quality images.
    After further examination of the jpg in Photoshop i noticed a "Path 1" on the paths tab, and more importantly that cutline when opened in illustrator was nuts on!... maybe someone here can tell me how they (for lack of a better word) embedded a cutline or path i guess it's called into a jpg file like that?
    Using a low tolerance (high precision) value make a path from your selection in Photoshop and save the path. Save As a JPG, and the path will be saved along with the image. Do not use Save for Web to create your JPG file.
    As others have pointed out in earlier posts, learning to use the pen tool is your best bet... and an absolute necessity if you're going to be doing a lot of this stuff.
    Regarding the creation of clipping paths in Photoshop, slap me silly, but I'm going to refer you to the manual (online Help) for that. And if you think that unkind, try posting the question over at the Photoshop forum. Wear a helmet.

  • Background job executed as SAP*, need advice to change owner.

    Hi all,
    I'm facing an issue where my SAP background job currently has 2 job "SAP_CCMS_CPH_REORG" and "SAP_CCMS_CPH_HRCOLL" under the ownership of sap. I would like to move them away from SAP ID.
    I have tried to recreate the job using sm36 (and using my ID with sap_all profile) in testing environment, but it not seem to work.
    Highly appreciates any advices and/or pointers with regards to the above mention question.
    Thank you.

    Hi all,
    Thank you for the reply but I have forgotten to add a few updates.
    The issue is that I can change owner from SAP* to my ID with sap_all profile.
    But, after execution,
    Job with sap* owner ended successfully, with spool status marked as completed.
    whereas
    Job with my ID as owner ended successfully, but spool status marked as "waiting"
    error mesage:
    Description          Value
    Status:              Frontend unavailable
    Last event:
    Message:             Request on hold
    Date:                19.02.2009
    Time:                11:57:28
    Job status:          On hold
    Error class:         Delayed
    Area:                Data transfer
    Printout:            Not printed
    Apologies for the inconveniences caused.

  • Schedule a job(execute a procedure periodically)

    as I explained in subject I want to schedule a job which executes a procedure without parameters on oracle managment system. Then,I schedule job as "on interval" and "1 minutes". But when I monitor the job status, there is no change. it says submitted. what is wrong, could you explain how it is with an example.
    thanks.
    Message was edited by:
    user554973

    You need to be a bit clearer on what you're monitoring. What "status" stays unchanged?
    Some basics. When a job is submitted an entry is made into the Job Queue (a data dictionary table). The views DBA_JOBS, USER_JOBS and ALL_JOBS are views on this table.
    When the job is to be executed, it is executed by a job queue process. There is a pool of these Job Processes that checks the job queue and execute jobs in the queue. Such a Job Process will have an entry in the V$SESSION virtual view.
    To monitor the status of the actual executing job, requires you to look at the active sessions on the database and not at the job queue. Looking at the Job Queue is not looking at the actual process running and executing the job.
    So what status is being looked at here? What status do you want, or do you expect to see?

  • Job Scheduling question

    If I request a ob to be scheduled with the command:
    dbms_job.submit()
    How can I monitor the status of the job
    Which table do I need to perform a select on ?
    Thanks

    You can answer any question about the dictionary views by issuing
    select *
    from dict
    where table_name like '%'||upper('&keyword')||'%'
    in your case 'job'
    This should result in dba_jobs, dba_jobs_running and user_jobs
    Sybrand Bakker
    Senior Oracle DBA

  • Dbma_scheduler job executing procedure that loops through all client schemas in the database rolls back transaction incase of exception

    Hi,
    Needed your inputs on approach to implement a job using dbms_scheduler.
    We have around 2000 schemas. Each schema has a package with 2 procedures.
    The requirement is to create a single job in SYS that would loop through each schema and run the procedures at a specific time ( once a day) and send email notification on success or failure.
    Job script:
    BEGIN
        dbms_scheduler.create_job( job_name=> 'LOAD_EACH_SCHEMA_AUDIT_DATA',
                                   job_type=>'PLSQL_BLOCK',
                                   job_action=>'BEGIN  sys.p_loadaudit;     
                                    END;',
                                   start_date=>systimestamp,
                                   repeat_interval=>'FREQ=MINUTELY;INTERVAL=1',
                                   number_of_arguments=>0,
                                   enabled=> true,
                                   comments=>'Job repeat interval is every 5 mins' );
                                   END;
    Note: for testing purpose i have set repeat interval to minutely.
    Procedure job will be executing:
    Procedure sys.p_loadaudit:
    CREATE OR REPLACE
    PROCEDURE p_loadaudit
    AS
        v_count          NUMBER:= 0;
        lv_error_message VARCHAR2(4000);
        vstmt            VARCHAR2(4000);
    BEGIN
        FOR i IN
        ( SELECT username FROM dba_users WHERE username LIKE 'ABCFIRM%'
        LOOP
            vstmt:= 'begin ' || i.username || '.pkg_audit_info.p_load_coa; end;';
            EXECUTE immediate vstmt;
            vstmt:= 'begin ' || i.username || '.pkg_audit_info.p_load_am; end;';
            EXECUTE immediate vstmt;
        END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
        lv_error_message := 'Error in procedure p_loadaudit: ' || SQLCODE || ' -ERROR- ' || SUBSTR(
        sqlerrm,1,300) || '*' || dbms_utility.format_error_backtrace;
        raise_application_error(-20002,lv_error_message);
    END p_loadaudit;
    Example of one schema: SCHEMA_01
    create or replace
    PACKAGE pkg_audit_info
    AS
    type cursortype
    IS
        ref
        CURSOR;
            PROCEDURE p_load_COA;
            PROCEDURE p_load_AM;
       END pkg_audit_info;
    create or replace
    PACKAGE body pkg_audit_info
    AS
    PROCEDURE p_load_COA
    AS
    BEGIN
    INSERT INTO TABLE1();
    EXCEPTION
    WHEN OTHERS THEN
        lv_error_message := 'Error in procedure pkg_audit_info.p_load_COA: ' || SQLCODE
        || ' -ERROR- ' || SUBSTR(SQLERRM,1,300) || '*' || dbms_utility.format_error_backtrace;
        RAISE_application_error(-20002,lv_error_message);
    END p_load_COA;
    PROCEDURE p_load_AM
    AS
    BEGIN
    INSERT INTO TABLE2();
    EXCEPTION
    WHEN OTHERS THEN
        lv_error_message := 'Error in procedure pkg_audit_info.p_load_AM: ' || SQLCODE ||
        ' -ERROR- ' || SUBSTR(SQLERRM,1,300) || '*' || dbms_utility.format_error_backtrace;
        RAISE_application_error(-20002,lv_error_message);
    END p_load_AM;
    END pkg_audit_info;
    Table1 and table1 exist in schema_01.
    All 2000 schemas have same package.procedures.
    Due to security reasons i have removed the actual code.
    I was able to execute the job successfully. However, when a schema procedure (SCHEMA_01.pkg_audit_info.p_load_COA) throws an exception, the job fails and all transaction is rolled back.
    Is there a way to loop through each schema and execute the related procedures. Even if exception happens, it should rollback only for that schema and continue the other schemas in the loop?
    Please let me know if there is a better way to achieve this. Is the way i am handling exceptions in the job/procedure correct?
    Thanks

    Hi,
    RAISE_APPLICATION_ERROR will cause the program to exit back to the caller, even if you place it in a block within the loop, so the RAISE or RAISE_APPLICATION_ERROR instruction should be placed in your "pkg_audit_info.p_load_AM" and "pkg_audit_info.p_load_coa" procedures. This way, you can use a block inside the loop and log the error.
    FOR i IN
        ( SELECT username FROM dba_users WHERE username LIKE 'ABCFIRM%'
        LOOP
           BEGIN
            vstmt:= 'begin ' || i.username || '.pkg_audit_info.p_load_coa; end;';
            EXECUTE immediate vstmt;
            vstmt:= 'begin ' || i.username || '.pkg_audit_info.p_load_am; end;';
            EXECUTE immediate vstmt;
    EXCEPTION
    WHEN OTHERS THEN  
        --> Log the error in a custom log table otherwise you will not know what happened for that schema: don't forget the username
    END;
    END LOOP;

  • CC&B-MDM OUBI 2.4 Out of box batch jobs related question?

    friends,
    I have a Question on CC&B 2.3 Out Of Box BI batch jobs: SP/Meter Extract batch jobs are in MDM OTB but we are not sending a specific SP Type to MDM as it is and Item based SP. How do I extract that info from CC&B without a lot of Custom.
    Alekh

    Any luck with this?

Maybe you are looking for

  • BW Authorizations in conjuction with R/3 Authorizations

    I would like to know what type of authorization checks people are using in BW to ensure users only see the appropriate data.  We would want users in BW to only see the information that they see in R/3.  At the present we have a custom table set up to

  • Could not load Oracle due to connection error

    Hi all, i am very new to using Oracle. After installing Oracle 10g,I could not access the database Homepage and could see following error on my page screen. /* The connection was reset. The connection to the server was reset while the page was loadin

  • Ram Upgrade and kernel_task

    Hi everyone, today I've upgraded my early 2009 24" iMac 2.93ghz with a Crucial 8GB kit. I was checking under activity monitor and I saw the kernel_task using 600mb, I'm pretty sure before the upgrade it was less. Is this normal?

  • Create work order in 4.6C

    Hi guys, Have any of you seen any FMs for creating work orders in 4.6C? Thanks Mantas

  • Examples wanted

    can any one send some real time report step by step to my mail id. similarly agreegates and infosets? thanks in advance sekhar