Steps max limit  in a Job Chain

Hello experts,
The SAP recommanded that the minimum number of steps in Job Chain for performance purpose.
Can anybody tell , Is there any max limit on the number of steps in a Job chain?
Thanks ,
Suresh Bavisetti

Can you reference the documentation where you see a minimum number of steps in a job chain recommended? I think there is no upper limit for the number of steps in a chain. How many steps are you thinking of adding?
Or are you talking about nesting job chains within other job chains? Pleas eclarify if this is the case.
Rgds,
David Glynn

Similar Messages

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

  • How to setup job chain with time dependant steps

    Hi
    I need to setup the following job chain with next job step waiting until specified time before starting
    Step 1 Job A Time 07:30 if complete go to job step 2
    Step 2 Job B start time 09:00 if complete go to job step 3
    Step 3 Job C start time 09:30 (end job)
    Have tried to use a pre-condition in step 2 and 3 but that just caused thoes steps to be skipped.
    can somebody point me in the right direction
    Thanks in advance
    Jon

    Hi Anton/Babu
    Thanks for your help, I managed to set this up by embedding multiple Job Chains with their own time window in a master job chain.
    As we continue our roll out not sure how scalable the solution will be as you have to create multiple job chains for essentially the same job with the only difference being a specific time window.
    I guess only time will tell.
    Thanks for you help again guys
    Jon

  • Passing parameter value from one script to another in job chain steps

    Hi all,
    We have a scenario where in we have a job chain with two steps
    1-Step 1 contains a script which fetches value from database to the script parameter(in/out) - PAR_DB_VALUE
    2-Step 2 contains another script which uses the value of the parameter PAR_DB_VALUE and has to assign to another parameter in the script 2 called PAR_FETCHED_VALUE(in)
    How to pass the value of PAR_DB_VALUE to PAR_FETCHED_VALUE which are parameters in two different steps
    Please help
    Thanks and Regards
    Raj

    Hi,
    You can achieve this as follows (CPS version 6 & 7):
    - Edit the chain
    - Go to the second step, to the parameters of the script call in that step
    - Go to the parameter (PAR_FETCHED_VALUE) that you want to be filled by the parameter of the first step
    - choose "Chain value" in the detail screen for the parameter, and select the desired out parameter from the drop down
    Note that both parameters need to be of the same type for this to work.
    Regards,
    Anton.

  • Max limit job servers with bods

    Under Tools > options > job server > environment>
    max number of engine processes= 8
    what does that mean, does it mean this BODI can run 8 job servers parallell?
    Are there a max limit of job servers?
    thank you very much for the helpful info.

    Michael, good post .... follow-up question on this:
    Per your replay if I have a job that has 2 dataflows that run in parallel I should be able to see 3 processes being launched.
    And on my linux sever using "ps -f -u myuser" I would see processes like:
    /app/bods/sapbo/dataservices/bin/al_engine -PLocaleUTF8<snip>
    /app/bods/sapbo/dataservices/bin/al_engine -C/app/bods/sapbo/dataservices/log/command<snip>
    /app/bods/sapbo/dataservices/bin/al_engine -C/app/bods/sapbo/dataservices/log/command<snip>
    Correct?
    Mike

  • 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

  • Error in redwood job chain for Infopackage

    Hi,
    We have recently installed redwood for handling sap jobs and are able to run all the job chains with job step in abap program successfully.
    However, for APO and BW job chains we have intermediate step for executing BW infopackage where the job is getting failed with the below error:
    SAP/BW Error Message: rfc call failed 089: Job BI_BTC<infopackage_name>has not (yet ?) been started        
    The preceding abap job steps are getting executed successfully. After the infopackage step is failed the consecutive steps all fails.
    This problem is common to all job chains with infopackage.
    Any help is greatly appreciated.
    Regards,
    Sandeep.

    Hello Anton,
    We are facing the same problem: Same log error message.
    The infopackage is correctly started and ended in BW.
    Here our versions:
    Redwood Explorer 7.0.4.2 SP2
    BW :   SAP_BASIS 70016
               SAP_BW 70018
    Do you think applying SAP CPS SP3 would solve the problem?
    Or can we solve it by modifying some specific parameters?
    Thanks in advance.
    Regards;
    Mathieu

  • SQL Developer 3.1: Job Chains - 2 Bugs.

    Hi.
    Just having a play with defining job chains in SQL Developer 3.1 and I came across these bugs...
    1) When you try to define a new chain using SQL Developer you get, "ORA-01741: illegal zero-length identifier"
    If you look on the SQL tab you can see that it is messing up the double quotes, placing two sets of double quotes around the chain_name.
    BEGIN
        sys.dbms_scheduler.create_chain(
            comments => '',
            chain_name => '"TEST".""test_chain_3""'
          sys.dbms_scheduler.enable(name=>'"TEST".""test_chain_3""');
    END;If you remove the extra quotes and run the code it works fine.
    2) The job chain diagram seems to be case sensitive as far as the rule definitions are concerned.
    If you follow the chain setup in SQL*Plus described here (http://www.oracle-base.com/articles/10g/SchedulerEnhancements_10gR2.php#job_chains), then check the associated diagram in SQL Developer it is displayed properly.
    Now repeat the chain definition from SQL*Plus, but this time define the conditions and actions of the rules in lower case (which is valid and functions as expected).
    BEGIN
      DBMS_SCHEDULER.define_chain_rule (
        chain_name => 'test_chain_1',
        condition  => 'TRUE',
        action     => 'start chain_step_1',
        rule_name  => 'chain_rule_1',
        comments   => 'First link in the chain.');
      DBMS_SCHEDULER.define_chain_rule (
        chain_name => 'test_chain_1',
        condition  => 'chain_step_1 completed',
        action     => 'start chain_step_2',
        rule_name  => 'chain_rule_2',
        comments   => 'Second link in the chain.');
      DBMS_SCHEDULER.define_chain_rule (
        chain_name => 'test_chain_1',
        condition  => 'chain_step_2 completed',
        action     => 'start chain_step_3',
        rule_name  => 'chain_rule_3',
        comments   => 'Third link in the chain.');
      DBMS_SCHEDULER.define_chain_rule (
        chain_name => 'test_chain_1',
        condition  => 'chain_step_3 completed',
        action     => 'END',
        rule_name  => 'chain_rule_4',
        comments   => 'End of the chain.');
    END;
    /Now check the diagram again in SQL Developer and you will see that all the steps are present, but the links (rules) are not correctly displayed. Seems like it is case sensitive...
    If you need any more info, please ask.
    Cheers
    Tim...
    Edited by: TimHall on Feb 10, 2012 4:23 PM

    I have confirmed your two test cases are indeed bugs and I have raised them. The first seems to be if you have a mixture of _ and lowercase characters in the name but we will look at other cases too. The second is that the parsing of the condition/action does not uppercase unquoted ids. The second can be cirumvented by using quotes etc.

  • Restart/resubmit job chain waiting of a file event

    Hi Experts,
    how can I restart/resubmit a job chain waiting of a file event?
    In my case the variables OriginalPath and FinalPath are used in job chain parameters as an Default Expression (waitEvents...). If I restart the job chain I get the message "Could not evaluate default value for parameter...".
    We are using SAP-CPS Build M28.20-37214.
    Regards
    Mathias

    Hi,
    You probably want to restart it because there was a failure somewhere in the chain. In this case it is easier to not let the chain end in error, but to let it go to status Console using the "Request Restart" postcondition.
    Then when the step is restarted, or the chain is restarted from the beginning, it is restarted within the original chain and it reuses the already determined parameter values.
    Regards,
    Anton.

  • Job Chain in RAC Environment

    Hi,
    i've a job chain defined in a RAC environment.
    I need that all the steps of my chain are performed on the same instance.
    How can i do this?
    Now stepA run on the instance 1 and stepB run on the instance 2.
    Thanks.

    Again, If it is a file system write issue, use ACFS (11.2.0.x) to create a shared file system that all nodes can see. What are you using to delete/create these files? A shell script?
    1) create an ACFS file system of sufficient size to handle your data
    2) mkdir /some/acfs/location
    3) using sqlplus create a database directory " create directory foo as '/some/acfs/location' "
    4) put the file in this location
    5) use UTL_FILE to delete AND create the file (see fremove() - http://docs.oracle.com/cd/E11882_01/appdev.112/e10577/u_file.htm)

  • Job Chain Restart Behaviour

    If a Job Chain with 3 steps fails in the second step - we would like the restart to resume execution with the second step, bypassing execution of the first step.   What are the correct settings to enable restarting the chain with the failed step? Thanks

    Hi Noel,
    For now, you could put an "on completed" "request restart" on the SendMessage step. If the SendMessage runs, there was an error so you would want to restart, but the restart options have some restrictions then because they don't take the step of the error but the SendMessage step as a reference now (you have the request restart on the send message step).
    Last but not least: if you already inform someone, you can also simply right click a step in the monitor and choose restart, this should restart the chain but from the step you selected. This is the same as submitting a new chain but specifying the step where it should start (on the same page in the submit wizard where you specify the queue).
    There also is an add-on available from Redwood called "active alerting" which allows you to do rule-based alerting (depending on source of the error send message to different teams) as well as escalation (if no reply within x minutes, send to next team) very easily.
    Regards,
    Anton.

  • SAP CS 8.0 - question to parallel tasks in one job chain

    Dear all,
    I have a question about job chains in SAP CPS/Redwood
    We have a job chain like this:
    Job 1
         Job 1.1
                   Job 1.1.1
                   Job 1.1.2
         Job 1.2
                    Job 1.2.1
    The Jobs 1.1.1 and 1.1.2 should start  when the Job 1.1 is compled and don't have to wait until Job 1.2 is complete.
    How could I release it in Redwood in one job chain? Should I use a precondition in the job definition of 1.1 and 1.2?
    Thank you for your help.
    Best regards,
    Hans

    Assumptions :
    Job 1.1.1 and Job 1.1.2 are running in parallel.
    Job 1.1, job 1.2 are also running in parallel.
    Chain A -
    Step 1 - Job 1.1
    Step 2 - Job 1.1.1, Job 1.1.2 (these both will start as soon as Job 1.1 completes)
    Chain B -
    Step 1 - Job 1.2
    Step 2 - Job 1.2.1
    Chain C
    Step 1 - Job 1
    Step 2 - Chain A, Chain B (Chain A and Chain B will start as soon as Job 1 completes).
    Submit Chain C.
    Preconditions are usually  used to check the timewindow, for example , if you want to execute a step in a job chain, only if it is a Friday.
    thanks
    Nanda

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

  • Restart in Job chains and managing DST

    Hi,
    1) Given a 5 step job chain, if step 3 fails how is this handled in CPS? The following steps are chained but can the errored step be fixed and rerun to continue the job chain processing?
    2) How is day light saving handled for particular jobs. Is there anywhere this is captured in the detailed job request form solman?
    Regards,
    Esha

    Hi,
    1) Given a 5 step job chain, if step 3 fails how is this handled in CPS? The following steps are chained but can the errored step be fixed and rerun to continue the job chain processing?
       -- Yes, you can restart at any step of Job chain. (Not not at call level, remember one step might have multiple call inside it)
    2) How is day light saving handled for particular jobs. Is there anywhere this is captured in the detailed job request form solman?
    -- Use GMT timezone to submit jobs. There is nothing on redwood which can solve day light saving. It alwasy has to be at OS level. But redwood has all timezones availabe and you can submits job in any timezone.
    Regards,
    Sunil Rohit

  • Grafical overview of Job chains with dependencies by event

    Hi,
    we want to activate/monitor various process chains in APO and BW SAP systems which are dependent of each other.
    We intend to handle this with Events (wait events and raise events).
    For this reason we have created a job chain for each process chain. In the first and only step the job definition 'SAP_BW_ProcessChainRun' is started and activates the 'Technical Name of SAP BW Process Chain:
    Do we have a chance to get a graphical overview over all with event sceduling realized dependent job chains?
    Thanks
    Br
    Günter

    Hi,
    If there are dependencies between your BW Process Chains, you can use something like a master Job Chain definition in CPS to set up your dependencies between them (with failure or success outcomes, based on the step statuses). For chains that can run in parallel you can have multiple jobs (that can be other job chains) in a job chain step, and depedent jobs can be other steps that are triggered when a previous step completes / fails. Just check of course that thes jobs are your process chain jobs and not just event triggers.
    [link to SAP help for BW chains and CPS|http://help.sap.com/saphelp_nw04s/helpdata/de/bb/033b3c9f8c4b5ca34045688c6a9f7b/content.htm]

Maybe you are looking for

  • How do I change the price on my ebooks?

    I'm trying to increase the price on my ebooks but when I go into the rights and pricing section, the highest price tier is what I set previously.  Do I need to unpublish the books and republish them at a higher price point in order to do this?  It se

  • HT4009 Double Charge

    Double Charge I received an invoice with a double charge. Where can I complain?

  • About HR Module

    Hi Gurus,      I have an object in  SAP-HR module. so i want to know about HR module. what is the flow? what are the T-Codes? what are the Tables used?

  • Popup with window.open should arise only once onclick

    i want a popup that should arise only once onclick but i am getting that popup how many times i am clicking

  • Print encoding / print settings in PS CC 2014 compared to CS 3

    Hello, I used to work with PS CS3 but recently tried out CC 2014. In CS 3 when printing a document one could select the encoding options (JPEG, ASCII, Binary) - is this option completely gone in CC 2014? I've huge problems printing a PS document in C