Multiple instances of Concurrent Program Being Submitted Diffrently

h3. Hi Oracle Gurus,
I am new here and was unable to find the correct category to post my thread into. So please if you know the right category please move it or let me know.
I am having an issue with the order of submission of the same concurrent program with different responsibility.
h4. Let me explain with an example:
I have program CProg which is incompatible to itself in the present setting. There are multiple schedules running of the program with different responsibility. The problem arises when the schedules overlap.
Now let's take 2 schedules:
1. Runs daily at 2 PM. To identify name it as CProgSch1
2. Runs the program every 3 hours. CProgSch2
The priority of both requests is same.
h4. Terms:
Request_Date:+The time at which the parent program requested child program to be submitted.+
Requested_Start_Date:+The time at which the program was meant to be run.+
Actual_Start_Date:+Time when the program was actually run.+
Actual_Completion_Date:+Time when the program finished execution.+
h4. Now, the details are:
Program________Request_Date_____________Requested_Start_Date________Actual_Start_Date________Actual_Completion_Date
CProgSch1_________25 Dec 2012 2.20PM__________26 Dec 2012 2PM_____________26 Dec2012 2.02 PM________26 Dec 2012 2.22 PM
CProgSch2_________ 26 Dec 2012 10.58AM________26 Dec 2012 1.55PM___________26 Dec 2012 2.23PM________26 Dec 2012 2.26 PM
After I checked why not one but both programs missed to start at Requested_Start_Date( by 2 minutes and 23 minutes) I came to know that there was another program running which completed at 2.02PM.
After its completion to my surprise CProgSch1 which was scheduled 5 Minutes later ran instead of CProgSch2.
And as listed above, CProgSch2 which was scheduled to run at 1.55PM was actually run at 2.23 PM after completion of CProgSch1 at 2.22PM.
It seems that Oracle prioritizes the programs based on Request_Date rather than Requested_Start_Date. Is this so? Can we do something so that oracle picks up programs based on Requested_Start_Date instead of Request_Date.

ok, and can you please tell me how it doesn't follow those guidelines? If he where to make it shorter then it wouldn't be self contained. He showed us just the methods that where causing the problem. How would you present the problem "Hlpes prgrm no wrk!!!!!" and leave it at that? I'll just point this out before you say anything else:
U nEd 2 b clearer bout wot d prob iz!_
Fact is your not helping him at all.
Now on to his question. I have run code similar to yours in my own sessions and everything turns works out fine.
public class Monster{
     public int AC;
     public Monster(int a){
          AC = a;
public class State{
     public State(){}
     public void h(Monster mon1, Monster mon2){
          System.out.println(mon1.AC+","+mon2.AC);
public class Test{
     public static void main(String[] args){
          State h = new State();
          final Monster Goblin = new Monster(12);
          final Monster Pirate = new Monster(14);
          h.h(Goblin, Pirate);
}That outputs "12,14". So the problem most be somewhere else in the code.

Similar Messages

  • How do I stop extra instances of Firefox program being opened by another page when it loads?

    How do I stop extra instances of Firefox program being opened by another page when it loads?
    When I log on to a favorite site it loads OK. The site has a number of pages. When I move to the second or third page, a second instance of Firefox automatically starts and loads an advertisement. I can block the site that tries to load the page, but I cannot stop the second instance of Firefox from loading up. So in the end I might have three or four instances of Firefox all going at once.
    Any help would be greatly appreciated.

    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database.
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • Concurrent Program re-submitted

    Hi,
    We are running on R12(12.0.4).
    While bringing down the applications for applying a patch we killed couple of concurrent programs (FNDLIBR). Patching went off well. Applications came up smoothly and health check completed successfully. But the programs that we killed were still running. They completed with errors. The most surprising part was the concurrent programs got re-submitted on their own. These were custom programs updating records, so we had duplicate entries. Now those are being deleted. But i would like know what exactly happens when you kill a FNDLIBR process. And any idea if the CP's get re-submitted again??
    Thanks in advance.
    Jayant

    What before killing prog id what you killed the process id of everu prticulad programe.
    i think you have to clear the process 1st.
    let me know your concern here though i am not so much clear about r12 i am working on 11i env.

  • Problem with multiple instances of shared printers being installed on client computers when the spooler service is started

    Hello,
    We have Windows Server 2012 and clients using Windows 8.  We've been having some printer problems for awhile now that I haven't been able to figure out for the life of me.  The main problem is the fact that printers are installed on computers automatically
    once the drivers are installed.  The side-effect of multiple instances of each printer showing up is very annoying but I suspect fixing the initial problem will resolve this secondary one.
    Here is the rundown:
    We add the shared printers on logon to the clients using the GPO thus installing the drivers locally.
    Whenever the spooler on the client is restarted with the drivers installed, all of the
    shared printers that were previously installed get duplicated 5 more times (for a total of 6 instances of each shared printer) on the "Devices and Printers" page.  This happens
    all the time.
    Removing them only fixes the issue temporarily, as soon as the spooler or computer is restarted, it seems these shared printers are somehow found on the network and the duplicates return.
    Two of these printers are located on different clients, installed locally and shared while the other three are all installed on a server and shared through it.  The issue is the same on all of them.
    Cleaning the spooler completely (registry and files from C:\system32\spool) fixes the issue temporarily as well since, as soon as the drivers are reinstalled, the issue occurs again.
    I've tried many things (disabling the GPO, editing the GPO, printer shares, registry, etc.) and searched tirelessly online for a cause and solution but I'm stumped.  Does anybody have any idea what might be causing this problem and how to resolve it?
    Thanks for your time!
    Update #1: I just tried adding the NoNetCrawling option in the registry found in this article -> http://support.microsoft.com/kb/320138/en-us
    I couldn't find the same for Windows 8 unfortunately.  I also tried disabling network discovery and all other sharing options to no avail.
    Update #2: I tried isolating the computer to a different subnet and restarting the spooler and, sure enough, the issue didn't occur.  This proves that the issue is network share related.  Also, as soon as I change the IP back to the regular domain
    subnet one, the multiple printer instances re-appeared again.
    Update #3: I just tried doing the same thing but on the server where the printers are installed and shared and, sure enough, despite being in a different subnet, the issue occurred.  This leads me to believe there is a setting on this server at fault.
     Question is, which one?

    We have deployed a brand new Active Directory domain for a customer. ALL the servers without exception are Windows 2012 R2 and all clients are Windows 8.1 32bit VDI clients.
    The issue that we have is around network printers. 
    We are deploying 4 printers  from a Windows 2012 R2 Server via the print management/Deploy Printer and assigning that to a GPO. The printers are deployed to the Computers which should mean that the users get all 4 printers which they then should be allowed
    to set their default and personal settings for that printer.
    Our printers are deployed like this:
    1. Created security group
    2. Assigned VDI computers to the security group
    3. Created GPO to reflect security group
    4. Modify GPO to do security filtering based on computer group membership
    5. Deployed 4 x printers through Print Management to the GPO on a per machine basis
    However, on the users Devices and Printers screen we are not seeing the 4 printers. For some users
    they see duplicates of all 4 printers so e.g they can have upwards of 8 or more. Other users have no printers displayed whatsoever. The next time they log off or restart they then have a different amount of printers displayed.
    If they try and set the default then it will set and the next time they check the default may have moved to another printer even without logging off or back on.
    Now, where this gets strange is within an application such as MS Word 2013 or Notepad if they use the file and print menu the printers will be listed, even if the user has no printers displayed in Devices and Printers. If the users selects a printer then they
    can then print OK.
    If we check HKCU\Printers||Connections then the CORRECT 4 printers are showing as to what is being deployed via the GPO so I know that the Windows 8.1 terminals are receiving the correct printers from the GPO.
    To try and correct this over the course of the week we have deployed the printers via Group Policy Preferences to the user and then the PC to no avail. Currently we are using the Print management\Deployed Printers to deploy all 4 printers to the computer via
    the Computer GPO.
    I believe that this issue is related to the display somehow in Devices and Printers rather than a GPO or print server issue as we can see via the registry the clients are receiving the 4 correct mentioned printers as shown in the registry. 
    FYI: We only have around 30 users and all users are getting this problem. All users are receiving the same GPO's and have the same few apps installed, Office 2013, Adobe Reader etc.
    What we want is for the computers to receive all 4 printers. All users should be able to use all 4 printers but the user should be able to select their particular default, depending where they are located or what they are printing that particular day. Their
    particular default should persist after reboot. (We have 2 x Copiers and 2 x HP Laserjets) All users have redirected documents and desktop but the rest of the profile is on the VDI and persists after their reboot. The profile is not roaming as the user is
    assigned a particular VDI.
    After a week of scratching our heads with this we are open to suggestions and any would be appreciated.
    We have tried following the issues on this thread to no avail either as they still return.

  • Running multiple instances of program in parllel processing.

    Hi Experts...
    We have an issue where we need to update huge set of data (say more than 2000000), update is simple where some BI table needs to be updated for few fields.
    Now issue is that if at one go this update is done then there is memory issue, system is not able to extend the internal table beyond a permitted memory.
    For this there may be some chanes which could be done in report RSMEMORY but business does not want this way.
    I want to know what does "running multiple instances of a program in parllel processing, one job does not have to update the whole table".
    Program is ready but simply running program without any input on the selection screen is picking all data and ending up in a short dump since there is huge data in the BI table.
    What is the best possible way to update table through program where there is an issue of Huge data.
    Do we have any expert comments on this ?
    Thanks & Regards,
    Mark

    Hope this gives some direction !
    Bundling using Function Modules for Updates
    If you call a function module using the statement CALL FUNCTION ... IN UPDATE TASK, the function module is flagged for execution using a special update work process. This means that you can write the Open SQL statements for the database changes in the function module instead of in your program, and call the function module at the point in the program where you would otherwise have included the statements. When you call a function module using the IN UPDATE TASKaddition, it and its interface parameters are stored as a log entry in a special database table called VBLOG.
    http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm
    Rgds
    Sameer

  • Register concurrent programs parameter customization.

    Is there a way to register customization of concurrent programs parameters (I need to make one of the parameters mandatory) like it is done with customized files in applcust.txt?

    Sorry about the late reply, but the issue with applcust.txt is that it only checks files updated by the patch. To provide an update to a concurrent program definition, Oracle includes an LDT file in the patch, but the name of the file doesn't have to relate to the concurrent program being updated. For example, the Purchasing concurrent program POXACREC is defined in the following files (look for the BEGIN PROGRAM "POXACREC" "PO" line in the ldt files in $PO_TOP/patch/115/import/US), shown in their applcust.txt format:
    po patch/115/import/US cst4946920_1.ldt
    po patch/115/import/US poprg.ldt
    po patch/115/import/US poxacrec.ldt
    Based on the name of the file and the concurrent program name, you would assume the last of these is the "correct" one, but all three could provide an update to the concurrent program definition. If you have multiple files defining your customised concurrent program, I would suggest you list all three in your applcust.txt. However, even if you list all three, there is nothing stopping Oracle from updating the POXACREC concurrent program with a file called abc123.ldt.
    To help with this, I would suggest for your concurrent program you also include the concurrent program executable itself in the applcust.txt file (po reports/US POXACREC.rdf in my example) as a change to parameters in an unexpected ldt file would require a change in the program as well.
    This basic problem can occur with any of data provided by LDT files or objects where the object name is not dependent on the file name - even views can be updated by odf files or sql files.
    theFurryOne

  • Manuals users should not be able to submit a concurrent program at a specific time frame:

    Hi
    Please let me know is it possible to restrict some users to submit a Concurrent program during a selected time frame .
    Eg we have an issue in which Process Lockboxes concurrent Program is submitted by the batch user and is also by the Users manually from Front end .What I want is that during a particular time frame everyday say from 12:00 AM to 6 PM I want to restrict manual users to submit this program ,whereas the Program can be submitted by the Batch user any time  .
    Please let me if its possible to achieve this and how .
    Thanks
    Rishabh

    Please don't post duplicates -- restrict user to submit concurrent Program
    Continue the discussion in your original post.
    Thanks,
    Hussein

  • How to get the User entered value in the Submit request form for a parameter of a concurrent program in Oracle applications.

    Hi All,
    I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
    After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field .  i want to get that string.
    Thanks a lot in advance for your time and help.
    - Vijay

    Hi All,
    I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
    After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field .  i want to get that string.
    Thanks a lot in advance for your time and help.
    - Vijay

  • How to default Concurrent Program delivery options to Email.

    As of r12.1.3, we have a new button in concurrent request submission window called "Delivery Opts"
    Clicking that button opens up a new window with delivery options.   Second tab contains the Email option.
    I have a need where a concurrent program is submitted it should email the output  by default without needing to manually enter email details every time.
    I know that this can be done via scheduled concurrent requests. But in my case this concurrent program will be part of the shipping document set and will be submitted through the form and not SRS. 
    In concurrent program definition window under AOL,  we have ability to assign default printer, but we do not have any ability to assign default email functionality.   It would be nicer if we had one.
    That having said,  does any one know how to do this ?  How can I submit a concurrent program from a form and default to email option ?   Where would I control this setup?
    Please advise.
    Darsh

    you may not be able to do that by setup, but if you submit this request using pl/sql code you can do this
    please check example below
    DECLARE
    l_conc_id NUMBER;
    l_user_id NUMBER := xxx ; -- you can assign it from profile option value
    l_resp_id NUMBER := xxx ; -- you can assign it from profile option value
    l_resp_ppl_id NUMBER := xxx; -- you can assign it from profile option value
    l_boolean BOOLEAN;
    BEGIN
    l_boolean :=
    fnd_request.add_delivery_option (TYPE => 'E', -- this one to speciy the delivery option as Email
    p_argument1 => 'Testing the Email option from back end', -- subject for the mail
    p_argument2 => '[email protected]', -- from address
    p_argument3 => '[email protected]','[email protected]', -- to address
    p_argument4 => '', -- cc address to be specified here.
    nls_language => ''); -- language option);
    IF l_boolean = TRUE THEN
    FND_GLOBAL.APPS_INITIALIZE (l_user_id, l_resp_id, l_resp_ppl_id); -- intialize the apps.
    l_conc_id :=
    fnd_request.submit_request (application => 'FND',program => 'XXXXXXX', -- you concurrent program.
    start_time => SYSDATE,sub_request => FALSE);
    END IF;
    END;

  • Starting multiple instances of Matlab in Mac OS X Tiger

    I am trying to start multiple instances of Matlab in Mac OS X 10.4, that is, there are several users in this machine, and they all need to use Matlab. Right now, only one user is able to do so, when a second user logs into his/her account and they start Matlab, it does not start. Actually, if one user has X11 open (not even Matlab) and another user tries to start Matlab it won't start. I'm not sure if this is a license problem, an X11 problem, or a Matlab problem. To start matlab, I am using the StartMATLAB.app located in the Applications folder. Following are the details for the hardware:
    Model Name: Mac Pro
    Model Identifier:
    MacPro2,1
    Processor Name: Quad-Core Intel Xeon
    Processor Speed: 3 GHz
    Number Of Processors: 2
    Total Number Of Cores: 8
    L2 Cache (per processor): 8 MB
    Memory: 8 GB
    Bus Speed: 1.33 GHz
    Boot ROM Version: MP21.007F.B06
    SMC Version: 1.15f3
    Serial Number: 157***UPZ
    Some information about Mac OS:
    System Version: Mac OS X 10.4.11 (8S2167)
    Kernel Version: Darwin 8.11.1
    The version of X11 is:
    X11 1.1.3 - XFree86 4.4.0
    I appreciate your help.
    <Edited by Moderator>

    See this article: An easy way to run multiple instances of any program.
    I believe another alternative is to provide a separate copy of the application in the users own Home folder by placing it in the /Home/Applications/ folder. This may not work for all applications as some simply will not run multiple instances of itself.
    Licensing is of course a separate issue as each unique user may require a license, although many licenses only restrict use to one CPU at a time rather than multiple users on a one CPU.

  • 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;

  • How to capture the parameter value of Concurrent Program submited

    Hi,
    I would like to capture the Parameter value of Concurrent Program submitted through Submit Request screen based on that i want to return value.
    When Conc prog "Payroll Run" along with parameter like "Pay Period" which has LOV attached to it, which has one coulumn named "End Date", this value selected needs to be captured. Can you please tell the Table name where the value is stored or Captured.
    I want this value to be used in Fast Formula which will return the desired value to Input Value.
    Actually in one of the Element I have Input Value as "Monthly Days" which should be populated with the "Number of days" in the period in which Payroll is being processed.
    Thanks in advance.
    Ram

    Hi,
    fnd_concurrent_requests.argument_text stores the argument values in comma separated form. But check the prior response from thierry first - fnd_concurrent _requests is not the place you want to be getting things from as it can be purged and so you source data is gone!
    Gareth
    http://garethroberts.blogspot.com

  • How to select multiple values from the Parameters in the concurrent program

    How to select multiple values from the Parameters defined in the concurrent program...and i believe multiple selection is not a direct feature of EBS, but is there any workaround solution to acheive mulitple selection?

    I think there's no way to do that using standard feature.
    Some workaround I use :
    1. If the number of selections are fixed, you could use multiple parameters for the same valueset. For example :
    Selection1 : <choose first selection>
    Selection2: <choose 2nd selection>
    ..etc.
    If you don't use it then leave it empty.
    2. Use text varchar valueset and enter it manually and separate by comma (or other value) , eg : selection1,selection2,selection3....etc.

  • How to EXPORT a concurrent program from one instance to another

    Hi,
    I am new to EBS.
    How to EXPORT a concurrent program from one instance to another. I dont want to use FNDLOAD.
    Is there any other way from where we can export the concurrent program to anothere instance from CLIENT connection server.
    Thanks
    Asis

    Hi;
    What is EBS version? Why you dont use FNDLOAD?
    Pelase see below thread
    Move concurrent program to prod
    Move concurrent program to prod
    Regard
    Helios

  • Error When Submitting WIP Mass load Concurrent Program (Work in Process)

    Hi,
    I am submitting WIP Mass Load concurrent program to get the data from WIP_JOB_SCHEDULE_INTERFACE table in to base tables.
    The concurrent program is completed with Warning status.
    My Package inserts the data into wip_job_schedule_interface table to create a WIP Job. After inserting the data in to wip_job_schedule_interface table, it submits a concurrent program (WIP Mass Load) (Standard concurrent program) to create a WIP job automatically from the data inserted into wip_job_schedule_interface table.
    This concurrent is errored out with the following warning message:
    ===========================================================
    Group ID: 7026 Report Date: 23-OCT-2007 12:26
    Job and Schedule Interface Report Page: 1 of 1
    Create Discrete Jobs
    Source Code: XXEXT019
    Organization: DVR
    Process Process
    Job Job Type Assembly Quantity Start Date Completion Date Kanban Card Phase Status
    6094-3 Non-standard DEV-GA-1 1.00 23-OCT-07 11:57 23-OCT-07 11:57 Validation Error
    Error: Invalid or insufficient Completion Subinventory/Locator information.
    Check that you have entered valid subinventory/locator information based on the organization and assembly
    that you have chosen.
    0 out of 1 jobs were successfully loaded
    =========================================================
    I populated locator information in to the interface, then too its saying the same.
    Can you please me know where exactly i am going wrong. Help Appreciated.
    Thanks

    Have a look to the Metalink note "Note:207646.1", which deals with the error "WIP_ML_ORA_ERROR (ERROR_CODE=-1653)".

Maybe you are looking for

  • Connect to iTunes to use push notifications

    After several years of completely trouble free use of my ipad 3, things messed up today. It lost my network connection even though the wifi was working fine. My mail wasn't loading correctly when the network was connected so I rebooted the iPad. Afte

  • Songs Won't Load;Syncing Problem

    Hello all,was kind of hoping somebody could help me out here.My iPod wouldn't update it's song library to match my pc ie. I couldn't get it to sync.So I did a reset using the latest iTunes,and that worked after many tries,but now I have no songs at a

  • Pushdown_sql - Strange Behavior

    All, I am getting an error when I use the pushdown_sql function in a where clause. I have it working in a real time match job with two inputs into the query transform. One input has the where clause in a text; the other has the Oracle view to read fr

  • Mic in for Skpe connection not working

    Hi all! I have just bought a Sennheiser PC111 headset so I can Skype. I'm using the line for the mic and have this configured on Skype and my system prefs. I can't get an input level at all, but I have ot. There are no drivers for this as it just wor

  • Qosmio F60-10J - Standby mode function

    Hello all, most computers can be set to standby mode and switch back to wortking state after some time automatically. There is a feature in the windows operating system which manages it and it is for example used by the task manager. When you create