Inconsistent behavior of job chain - scheduled vs manually invoked

Hi,
I am recently facing an issue (after the clocks went forward - PST). I have a scheduled job that executes a chain - The jobs fine ( all messages in the all_SCHEDULER_JOB_RUN_DETAILS indicate that all steps are executed with zero return codes) but I get an alert (that should only be sent if a particular step fails) from the job.
If I initiate the same chain manually everything runs as expected - no alert.
I posted more details here - Oracle Scheduler Chain Step - Succeeds and Fails at the same time?
We are running version - Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
Any ideas?

Hi,
I don't see how deleting/recreating the job schedule would help, though I guess deleting deleting and recreating the job might help if there is stale metadata linked to the job.
It looks like you might be running into a known Oracle bug #5705385 . It is fixed for 11.1.0.7 and 10.2.0.5 and one-off patches are available for 10.2.0.4 and 10.2.0.3 so you can contact support to get that fix.
Hope this helps,
Ravi.

Similar Messages

  • Error while scheduling the Email Alert JOB chain

    Hi All,
    I have defined a job chain in CPS and when i am going to schedule it then it is giving me error message.We have taken the trial version.
    Please find the log attached below.
    11:18:31 PM:
    JCS-111004: Queue ETD.sapetd00_Queue has no ProcessServer with the required JobDefinitionType/Service/Resource for Job 932 (submitted from ETD.Z_MONI_BATCH_DP copy from 2009/12/30 18:22:23,113 Australia/Sydney) (submitted from Job Definition ETD.Z_MONI_BATCH_DP (Copy from 2009/12/30 18:22:23,113 Australia/Sydney)): Job Definition Type CSH/Service PlatformAgentService/"Empty"
    JCS-102064: Job 934 (submitted from System_Mail_Send copy from 2009/12/29 17:54:16,608 Australia/Sydney) is global but refers (via Job) to an object in an isolation group
    JCS-102064: Job 934 (submitted from System_Mail_Send copy from 2009/12/29 17:54:16,608 Australia/Sydney) is global but refers (via Chain Step) to an object in an isolation group
    JCS-102064: Job 934 (submitted from System_Mail_Send copy from 2009/12/29 17:54:16,608 Australia/Sydney) is global but refers (via Parent Job) to an object in an isolation group Show error details
    Thanks
    Rishi Abrol

    Hi
    Are you logged into the correct isolation group ?
    Ensure the process server is also assigned to the queue.
    Regards

  • How to Schedule a Job Chain to start automatically on SAP CPS.

    Hi,
    I did a job chain and i want to run automatically on sap cps Tuesday thru Saturday at 6:00 a.m., i make a calendar on sap cps with this specific options but the job chain doesn't start running.  I don't know if i need to do something more, so if someone can give a little help with this i will apreciate a lot.
    Thanks,
    Omar

    It finished ok but on the operator message i got the following message:
    Unable to resubmit this job.
    Details:
    com.redwood.scheduler.api.exception.TimeWindowExpectedOpenWindowException: CalculateNextClose should only be called on an open time window
    at com.redwood.scheduler.model.method.impl.TimeWindowMethodImpl.calculateNextCloseIntersectionInt(TimeWindowMethodImpl.java:388)
    at com.redwood.scheduler.model.method.impl.TimeWindowMethodImpl.calculateNextCloseIntersectInt(TimeWindowMethodImpl.java:249)
    at com.redwood.scheduler.model.TimeWindowImpl.calculateNextCloseIntersectInt(TimeWindowImpl.java:212)
    at com.redwood.scheduler.model.method.impl.SubmitFrameMethodImpl.calculateNextInt(SubmitFrameMethodImpl.java:178)
    at com.redwood.scheduler.model.SubmitFrameImpl.calculateNext(SubmitFrameImpl.java:176)
    at com.redwood.scheduler.model.listeners.JobStatusChangePrepareListener.resubmitSubmitFrameJob(JobStatusChangePrepareListener.java:763)
    at com.redwood.scheduler.model.listeners.JobStatusChangePrepareListener.resubmitJob(JobStatusChangePrepareListener.java:637)
    at com.redwood.scheduler.model.listeners.JobStatusChangePrepareListener.processJobToFinalState(JobStatusChangePrepareListener.java:520)
    at com.redwood.scheduler.model.listeners.JobStatusChangePrepareListener.modelModified(JobStatusChangePrepareListener.java:233)
    at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.informListeners(LowLevelPersistenceImpl.java:728)
    at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectListRetry(LowLevelPersistenceImpl.java:207)
    at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.access$000(LowLevelPersistenceImpl.java:38)
    at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl$WriteDirtyObjectListUnitOfWork.execute(LowLevelPersistenceImpl.java:79)
    at com.redwood.scheduler.persistence.impl.PersistenceUnitOfWorkManager.execute(PersistenceUnitOfWorkManager.java:34)
    at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectList(LowLevelPersistenceImpl.java:102)
    at com.redwood.scheduler.cluster.persistence.ClusteredLowLevelPersistence.writeDirtyObjectList(ClusteredLowLevelPersistence.java:59)
    at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:648)
    at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:626)
    at com.redwood.scheduler.apiint.model.UnitOfWorkManager.perform(UnitOfWorkManager.java:32)
    at com.redwood.scheduler.apiint.model.UnitOfWorkManager.perform(UnitOfWorkManager.java:13)
    at com.redwood.scheduler.jobchainservice.JobChainService.childJobFinalStatus(JobChainService.java:223)
    at com.redwood.scheduler.core.processserver.ProcessServerRuntime.childJobFinalStatus(ProcessServerRuntime.java:836)
    at com.redwood.scheduler.core.processserver.ProcessServerRuntime.onMessage(ProcessServerRuntime.java:248)
    at com.redwood.scheduler.infrastructure.work.MessageEnabledWork.run(MessageEnabledWork.java:104)
    at com.redwood.scheduler.infrastructure.work.WorkerImpl.run(WorkerImpl.java:109)
    at java.lang.Thread.run(Thread.java:534)

  • Can we schedule steps in Job Chain to run at a particular time of the Day.

    Hi ,
    We have created a Job chain for 3 steps.our requirement is we want to step 1 to run as per the schedule of Job chain but we want  step2 to run on fri 2 gmt and step 3 to run on saturday 1 gmt.
    is ther any setting in Job chain so that we can schedule subsequent steps to run at a particular time.
    Regards
    Rajesh

    Hi,
    You can add a timewindow to the jobdefinitions that you call in step 2 and 3, to restrict the start times for these jobs to the desired time.
    Regards,
    Anton.

  • Scheduling a BI job chain in Redwood

    The problem I am having is we are trying to schedule a BI job chain via Redwood software and are not getting any response. Within Redwood, I have executed these jobs IMPORT_BW_CHAINS, IMPORT_BW_CHAIN_DEFINITION, IMPORT_BW_INFOPACKAGES using BI job chain  0fcsm_cm_10 which is defined in BI as a job chain. These jobs run to completion but nothing is moved into Redwood to schedule as you would see from a import of a CCMS job. When I run job RUN_BW_CHAIN using the same BI job chain ID I receive the below error.  Not sure what I’m missing or doing with the process to get to schedule the BI job chains with Redwood.
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "RSI.RSIEXEC", line 1638
    ORA-06512: at "RSI.RSIEXEC", line 1759
    ORA-06512: at "RSI.RSI_RUN_BW_CHAIN", line 21
    ORA-06512: at "RSI.RSI_RUN_BW_CHAIN", line 80
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 1200
    ORA-06512: at "SYS.DBMS_SQL", line 323
    ORA-06512: at "SYSJCS.DDL", line 1085
    ORA-06512: at "SYSJCS.DDL", line 1118
    ORA-06512: at "SYSJCS.DDL", line 1177
    ORA-06512: at line 3
    JCS-00215: in statement RSOJ_EXECUTE_JOB

    I am also seeing the same issue 
    anton the last information  you requested
    The following products are installed in the Cronacle repository:
    Product                                  Version    Status
    Cronacle for SAP solutions               7.0.3      Production 
    Cronacle Forecast Module                 7.0.3      Production 
    Cronacle Reports Module                  7.0.3      Production 
    Cronacle &module Module                  7.0.2      development
    Cronacle Mail Module                     7.0.3      Production 
    Cronacle Audit Module                    7.0.2 r2.2 Production 
    Cronacle Process Manager for Web         7.0.3      Production 
    Cronacle Module Installer                7.0.3      Production 
    Cronacle Repository                      7.0.3.34   Production 
    Cronacle Monitor Module                  7.0.3      Production

  • Backing up Jobs, Chains and Programs in Oracle Job Scheduler

    What is the best way to back up Jobs, Chains and Programs created in the Oracle Job Scheduler via Enterprise Manager - and also the best way to get them from one database to another. I am creating quite a long chain which executes many programs in our test database and wish to back everything up along the way. I will also then need to migrate to the production database.
    Thanks for any advice,
    Susan

    Hi Susan,
    Unfortunately there are not too many options.
    To backup a job you can use dbms_scheduler.copy_job. I believe EM has a button called "create like" for jobs and programs but I am not sure about chains and this can be used to create backups as well.
    A more general purpose solution which should also cover chains is to do a schema-level export using expdp i.e. a dump of an entire schema.
    e.g.
    SQL> create directory dumpdir as '/tmp';
    SQL> grant all on directory dumpdir to public;
    # expdp scott/tiger DUMPFILE=scott_backup.dmp directory=dumpdir
    You can then import into a SQL text file e.g.
    # impdp scott/tiger DIRECTORY=dumpdir DUMPFILE=scott_backup SQLFILE=scott_backup.out
    or import into another database (and even another schema) e.g.
    # impdp scott/tiger DIRECTORY=dumpdir DUMPFILE=scott_backup
    Hope this helps,
    Ravi.

  • Stopping Process Chain schedule for just one day...

    Hi,
    Our source systems and BI are getting a patch upgrade during this weekend and I need to stop all the Process Chains schedule for Friday night/ Saturday morning. Is there a simple way I can stop all the Process Chains from executing just for tomorrow instead of manually removing each PC from schedule and again putting them back on schedule on Saturday?
    Thanks,
    Sri.

    Hi
    You can reschedule them instead of de-schedule and schedule back.
    1)open your process chain in rspc1
    2) goto planning mode
    3) right click on start --> display schedule job
    4) select the job --> in menu bar --> click on first one from left --> change
    here change the dates as per your requirement and save the job.
    If you have any event based chains which are going to start after time based chains gets complete, no need to de-schedule as we are not going get trigger from time based chains.
    I don't think so we have any program to de-schedule all the chains at a time.
    Regards,
    Venkatesh

  • Reg Process chain scheduling.

    Hi.
    Here is a situation: I have a process chain named  Process chain1 . Which will  run on weekly basis.  Now i wanted to run this procss chain in every month 5 th working day. I will create new chain as process chain2 and i will add my Process chain1 as local process chain.
    My question is :
    Is it possible to use Process chain1 for individual run on weekly basis and as a local process in Process chain2 for the 5 th working day run?
    But for any start variant there are only 2 options
    1) Direct scheduling
    2) start using meta chain
    What I shd to in this situation
    Thanks,
    Harish

    Hi Harish,
    Yes it is possible without creating a new process chain.
    Schedule it to rum every week. If it is already have done get the exact job name which is scheduled (you can can get this by right click on start variant and display scheduled jobs).
    Copy this job and schedule it as you wanted to run monthly on 5th.
    Hope this helps,
    Anil Kamsala

  • Submit Multiple Job Definitions/Job Chains with same Time window/Submit frame in mass

    Hi,
    We have a requirement to submit multiple Job Definition/Job Chains which are part of common Time Window/Submit frame/Queue....
    Ex. We have over 50+ different jobs/job chains which will runs Monday to Friday for every 2 hours on same Queue "XXX_Queue".  Instead of submitting each job/job chain manually, we would like to know if we could use any script that can achieve our requirement? since we have couple of other jobs which fall under same scenarios...
    We are on M33.104 version. Please let me know if any one has any scripts or alternate way of submitting multiple jobs/job chains in mass.
    Thanks in advance!
    Nidhi.

    Hi Nidhish,
    Here is some code to set some stuff on a job:
    //Get the partition, for global this is not necessary as global is default
    Partition part = jcsSession.getPartitionByName("GLOBAL");
    //Get the job definition
    JobDefinition jobdef=jcsSession.getJobDefinitionByName(part, "System_Info");
    //Get the submit frame
    SubmitFrame sf = jcsSession.getSubmitFrameByName(part, "SF_Every_Year");
    //Get the time window
    TimeWindow tw = jcsSession.getTimeWindowByName(part, "System_Week_WorkingHours");
    //Set the start time
    DateTimeZone dtz = new DateTimeZone(2015, 10, 18, 15, 0, 0, 0);
    //Get the Queue
    Queue SystemQ=jcsSession.getQueueByName(part, "System");
    //Create the Job
    Job infoJob=jobdef.prepare();
    //Attach queue to job
    infoJob.setQueue(SystemQ);
    //Attach submit frame, time window, start time
    infoJob.setSubmitFrame(sf);
    infoJob.setTimeWindow(tw);
    infoJob.setRequestedStartTime(dtz);
    //Print out the jobid of the job
    jcsOut.println(infoJob.getJobId());
    //Submit the job
    jcsSession.persist();
    Regards,
    HP

  • When a job is scheduled log cannot be seen

    Hi All,
    Im working in Oracle Warehouse Builder Client & Repository 11.1.0.7.0.
    We have some ETL jobs that has to be executed on a daily basis.
    But when we schedule the ETL Job, we cannot see the log, i.e. step by step process of the Process Flow.
    And the same appears when we manually trigger the job.
    Please let me know whether there is a way i can get log file when my job is scheduled.
    Thanks in advance
    Regards
    Prem

    Hi All,
    Im working in Oracle Warehouse Builder Client & Repository 11.1.0.7.0.
    We have some ETL jobs that has to be executed on a daily basis.
    But when we schedule the ETL Job, we cannot see the log, i.e. step by step process of the Process Flow.
    And the same appears when we manually trigger the job.
    Please let me know whether there is a way i can get log file when my job is scheduled.
    Thanks in advance
    Regards
    Prem

  • Need informations about dependency scenario with job chains

    Hi,
    I created several job chains containing one ora mor scripts.
    Now I want to create dependencies between this job chains. For example : job chain 2 must begin when job chain 1 is finished, job chain 3 must begin when job chain 2 is finished etc...
    So my first question : how can I do that ? (create dependencies between job chains)
    Second point : all this job chains have not the same time periods : example : job chain 1 must execute every day, job chain 2 every monday, job chain 3 every day...... so if i take the example of tuesday : job chain 1 must execute and when it is finished then job chain 3 must execute. On Monday : job chain1, then job chain 2 and for finish job chain 3. How can I do that ?
    Edited by: kennel yves on Aug 19, 2009 12:27 PM

    Hi Yves,
    If your chains are not dependent on each other, you should submit them as separate jobs.
    So if you have a chain that runs every workday at 18:00, and another chain that runs on Tuesday and Friday at 14:00, and there are no dependencies between the chains, then you should:
    - submit the first chain at 18:00, time window "Workdays", submit frame "EveryDay"
    - submit the second chain at 14:00, time window "TuesdaysAndFridays", submit frame "EveryDay" (it will skip the days that the time window is closed anyway)
    Same for the other independent chains with different schedules. If there are no dependencies, there is no need to combine chains together.
    The first reply was for the scenario where you have chain A and B, A starts at some time and B starts after A. Additionally, B only runs on Tuesdays, while A runs every workday. In that case there are dependencies between the two chains, and then a parent chain is very convenient:
    - chain "RunAandB", with two steps
    - step 1: call chain A
    - step 2: call chain B, with a precondition so that B only runs on Tuesdays.
    Regards,
    Anton Goselink.

  • Need FM or Tables to see Process Chain scheduled(future) date and time

    Hello Gurus!
             Can anybody tell me where/How i can get the Process Chain scheduled(future) date and time..?
       I mean, I want to see at what date and time is the PC scheduled for tomarrow/next month etc... Like TBTCO-SDLSTRTDT / TBTCO-SDLSTRTTM along with its Process chain name or PC's Start varient?
    I will give the points for all the answers
              Bye.. Happy New Year

    Hi Anil,
    You can check in SM37 by giving the job name.then you can see when that particular chain is scheduled.
    Goto SM37,
    Give Job name = *
           User name = *
    and select job status - ready,scheduled. then F8 (Execute).
    Then you can see which job is schduled at what time and date.
    Regards,
    Lakshman.G

  • Process Chain - Scheduler

    Hi Experts,
    I have a PC which is schedule to run 3 times a day (the process chain was scheduled in the Batch Job) until 03/10/2010 it runs fine but from yesterday 104/10/2010 still running only once that means The PC suppose to run early morning, afternoon, night but in my case it running only an afternoon,
    I have checked start variant but nothing was changed, so plz share you suggestion by explaining me the root cause of the issue.
    Thanks,
    Rajesh

    Check in SM37 if these jobs status changed to scheduled from Released status.....If a released job status is turned to scheduled then it will not run until it is re-scheduled.
    May be in your process chain afternoon job scheduled using RSPC start variant and other two jobs(morning and evening) might be scheduled by copying job in SM37.
    Check in RSPC start variant timing of the job.....if it is daily one time, then find this job in SM37 and copy this job and schedule one in the morning and one in the evening time.

  • Job Chain question

    Hi,
    i want to schedule a job chain.
    I 've created 4 chain steps.
    The first perform an action and the second must be executed only if the first completed successfully.
    The third must be executed only if the second ends successfully, etc.
    The Chain_rule_2 is
    CHAIN_STEP_1 Completed and CHAIN_STEP_1 SUCCEEDED
    The chain_rule_3 is
    CHAIN_STEP_2 Completed and CHAIN_STEP_2 SUCCEEDED
    But the job is actually running because there isn't an end steps (I suppose).
    End step must be done if all steps works fine or if only one failed.
    Any ideas?
    Thanks.

    You can add rules in Chains:
    Chain rules define when steps run, and define dependencies between steps. Each rule has a condition and an action. Whenever rules are evaluated, if a rule's condition evaluates to TRUE, its action is performed. The condition can contain Scheduler chain condition syntax or any syntax that is valid in a SQL WHERE clause. The syntax can include references to attributes of any chain step, including step completion status. A typical action is to run a specified step or to run a list of steps.
    All chain rules work together to define the overall action of the chain. When the chain job starts and at the end of each step, all rules are evaluated to see what action or actions occur next. If more than one rule has a TRUE condition, multiple actions can occur. You can cause rules to also be evaluated at regular intervals by setting the evaluation_interval attribute of a chain.
    Conditions are usually based on the outcome of one or more previous steps. For example, you might want one step to run if the two previous steps succeeded, and another to run if either of the two previous steps failed.
    Scheduler chain condition syntax takes one of the following two forms:
    stepname [NOT] SUCCEEDED
    stepname ERROR_CODE {comparision_operator|[NOT] IN} integer
    You can combine conditions with boolean operators AND, OR, and NOT() to create conditional expressions. You can employ parentheses in your expressions to determine order of evaluation.

  • Any WebI reports / graphs for job chain performance over time?

    I am trying to get reports over time that contain job and job chain information such as job chain, job description, elapsed time, job status, etc to allow for trend reporting against the job schedules.  Thanks for any help.  I would have thought that there was some basic reporting that could execute and be saved for reporting and reference.

    Hi Robert,
    For WebI/Graph report, you need to create the Dashboard but it will not give details which you required. It will be created on basis over day, time and dialer. You can find the option there for Graph/Techno etc.
    If you want to create the report, please refer to below thread:
    Re: Question on Reporting
    CPS Report with Schedule and Job Parameter Information
    Regards,
    Abhishek Singh

Maybe you are looking for

  • Netflix Would Not Play on Mac OS X (Lion) After Upgrade

    Netflix would not play on Mac OS X v10.7.5 After I upgraded to my older mac to Mac OS X Lion it would not play.  MacBook 13-inch, Aluminum, Late 2008 Software  Mac OS X Lion 10.7.5 (11G63) Processor 2.4 Ghz Intel Core 2 Duo Memory 4 GB 1067 MHz DDR3

  • Food for thought : Closing I/O streams ....

    hi all, my intention is to release all the I/O streams after i have finished their use .to do it i call the .Close() method in a finally block . my question is : how is calling .Close() on an I/O stream different from, assigning a null to it . i.e. :

  • Flash Builder 4.6 Not Recognizing Valid CS 5.5 Premium Serial Number

    I have downloaded and attempted to install Flash Builder 4.6 over the install of FB 4.5 that came with Web Premium 5.5 The serial number from my original install is not recognized as a valid serial number for FB 4.6 I am hesitant to uninstall FB 4.5

  • Very low volume from external speakers when watching Netflix

    MacBook Pro Why might external speaker volume be extremely low when it is turned up to max in Sounds and on F11?

  • Really serious now

    A lot of peolpe have iPods now. This player really good - looks good, plays good, has many features. Some would say it`s perfect. But one thing keeps it from being so - iTunes. There are a lot of posts in this and other forums. People have a lot of p