Dependency between BODS Jobs

Hi,
I have three jobs J1, J2 and J3. I want to put a dependency such that J3 shall start only when J1 and J2 completes successfully.
Is there any way to achieve this ? Please note that putting the functionality of the jobs into workflows is not an option here as I want to run J1 and J2 in parallel and then start J3 once J1 and J2 both complete.
Many thanks and best regards
Kaushik

Hi Maurice,
                    Many thanks for your reply, but for the time being we do not have any schedulers available with us which we can
                    use.
                      What I was thinking of is use two wait_for_file() functions in the third job J3 which waits for two files being
                    generated by J1 and J2 on successful completion of each. If J3 gets these two files which were generated
                    by J1 and J2 on successful completion of each, then it starts the rest part of it.
                      But then, in this case, we would have to start/schedule J3 at the same time as J1 and J2 to make sure that J3
                    executes as soon as J1 and J2 complete successfully. And ideally, I am trying to avoid this scenario of a job
                    running for such a long time while just waiting for a couple of files.
                    For your information, in our PROD environment, J1 and J2 can take as long as 11-12 Hrs to complete.
                    Waiting for your reply.
Best Regards
Kaushik

Similar Messages

  • Batch file not executing in BODS Job

    Hi friends,
    I have created a batch file to create a text file in a directory. I ran it manually and it worked fine i.e a txt file was created, However when I used the batch file in script in BODS job, It's not being executed.
    The script being used is as follows ( I have tried both, Both worked manually but not in Job, the job ran successfully without desired output )
    print(exec('C:\xxx\testdir.bat ','',0));
    exec('C:\xxx\testdir.bat ','',8);
    testdir.bat has the below txt code
    cd C:\xxx\yyy dir *.xml /b > dir.txt
    Thanks and Regards
    Anil

    What have you changed between
    However when I used the batch file in script in BODS job, It's not being executed
    and
    The Job was successfully executed but  an empty dir.txt was created with no files.

  • SQL SERVER AGENT job dependent on another job

    Hi
    I have 2 Sql Server Agent jobs that run on a daily basis.
    One which is run first but is dependant on another job completing.
    The secone runs every 30 mins between 9:00am to 7:00pm.
    If my first Job hasn't run but the 2nd job does start running the 2nd job will fail.
    Is there away with SQL servent agent where if my first Job hasn't run  then don't run the 2nd job?
    Regards

    Hi aivoryuk,
    According to your description, if you set one job is dependent on another job, when the first job does not run or execute failed, then the second job will not run. I recommend you use two steps to instead of this two jobs. In step Advanced page, we can set
    that the first job execute successfully then go to the next step. Or else, it will quit the job and report a failure.
    The other way is that we create new job with the same schedule as the second job , in this job , we can check the first job status with the sp_help_job stored procedure, then you can use sp_start_job to Start
     the second job. For more information, you can review the following post.
    http://social.technet.microsoft.com/Forums/en-US/d5cb4004-02fb-4b41-a321-5197f8105941/sql-server-agent-making-1-job-dependent-on-another?forum=sqltools
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

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

  • Error while executing a uinx script in BODS job - exit code 127

    I am executing a UNIX script using BODS job and it is giving an error message saying 'Program terminated because of exit code 127'. The same script i am able to execute in UNIX. I am not able to find the solution for this.

    Using a print command with return code 8 should give more insight to the error.
    print(exec('sh \bin','<your command>',8));

  • Get a connection error when running a BODS job

    Hi All,
    I have BODS system setup in my environment. There are quite some jobs that run everyday. The jobs have stopped running since the last days. The jobs arn't failing, but they do not run.
    When I try to Execute a job, I get the error "Connection Refused: connection". When I Test the connection from BODS to CMS, it is working fine. Also, from the BODS/BO server I am able to connect/ping to the DataStore servers. My Datastores are SQL servers and ECC also.
    I do not know what is the resolution for the issue.
    Thanks,
    Amrita

    Hi Manoj,
    We recognized the issue was at the OS level, in the "Data Services"-OS Service.
    The BODS jobs are running fine now.
    Thanks,
    Amrita

  • Error while runnin BODI job

    Hi,
    We were executing the BODI job from my machine. We are having job server seperately.When we execute job, we are getting an error called "TNS adoptive error". But i am able to see the records if i click the table in my dataflow.
    But the same job is running fine if we execute the job from another machine.But we are using the same job server for both the machines.
    Can anyone please help us to resolve this issue? Anything needs to be configured in my local machine?
    Thanks,
    Vino

    When you click the "view data" button for a table in a dataflow, you are using the local client to connect to the database and get the results. Since this works fine, your local client seem to be correctly configured.
    When you execute a job to a remote jobserver, it is the jobserver that will connect to the database to extract and load the data. So the error you get seems to indicate that your jobserver cannot connect to the source/target table.
    What's strange however, is that you say that from another client, you can successfully execute the job  to the same jobserver. Is it exactly the same job ? Maybe the TNS name connection parameter in the datastore is different in both repositories and could explain why the job fails for one client ?
    Also, could you clarify what error you exactly get ? I didn't get any match when I googled "TNS adoptive error"...

  • How to create a validation rule in SAP BODS Job

    Hi Experts
    I have created a BODS Job and in that job i have to create a validation rule as if the cust_id is null the loading must stop.
    I dont have idea where i have to define this validation rule in the Job and how to stop the load job if the validation rule file.
    My Job was defined like below image
    Please guide me where i have to define the validation rule and how to stop the load job.
    Thanks in advance
    PrasannaKumar

    Hi samatha b
    Thanks for your response. I have done as you said and now i can rise the exception.
    I have another requirement as per the validation transformation the data will load into Pass table and Fail table after job execution. If any data entered into fail table i have delete the data loaded into Pass table.
    Here i am facing problem as my target tables are MySQL tables and when i am writing scripts i wrote the script as
    sql('database','delete from <tablename>');
    but as it is an SQL Query execution it is rising exception for the query.
    How can i delete the data loaded into MySQL Target table using scripts.
    Please guide me for this error also
    Thanks in Advance
    PrasannaKumar

  • What are the major differences between BODS and Talend ?

    Hi Friends,
    We had a client meeting 2 days back regarding BODS project, But our client is showing more interest on Talend. We have explained/demo him on BODS.  Could any one please tell me, What are the major differences between BODS and Talend ? What are the features of BODS which are not there in TELEND ?
    Thanks,
    Bheem.

    Hi,
    If you talk difference than Talend is an open source. SAP DS as huge advantage when it comes to loading data into SAP and it is more flexible with lots of inbuilt features and easy to load data into SAP using DS directly and extracting data from various legacy systems.

  • Solution for connection between BODS and WCF web service ?

    Hi,
    we have a unique requirement of connecting BODS to WCF webservice. This web service acts as a layer for connection between proprietary databases (secured) and other external systems. Queries are to be sent to this web service in order to fetch data from proprietary databases.
    In order to connect to these web services, we should also provide Address, Binding and contract whose details are already present with us.
    Example of web service address:     net.tcp://op12345:10101/sd
    I heard Adapters are the best way of connecting to the above web service, could you please provide some guidance on connecting through adapters if it is the best solution.
    Could someone suggest the best possible approach(ASAP) to bring connection between BODS and web services and to execute the above requirement.
    Please let me know in case of any more information.
    Regards
    Surya

    Hello Nir,
    I tried to import the my VS2008 + .net 3.5 as Wsdl local file to the Xcelsius 2008 but there is message unable to load url.
    I tried to import your Wsdl developed by .net:
    http://www.webservicex.net/airport.asmx?WSDL
    and it works ok.
    Can you send me or print here the service class definition and the configuration file for  http://www.webservicex.net/airport.asmx?WSDL?
    Thanks in advance,
    Sergey Osmachkin

  • HOW TO RUN BODS JOB THROUGH UNIX SCRIPT

    Dear Experts
    Please provide me the way how to call a job by a script .
    I have used Export Execution Command as recommended by below links
    http://scn.sap.com/docs/DOC-34648
    http://scn.sap.com/community/data-services/blog/2012/08/22/sap-bods--running-scheduling-bods-jobs-from-linux-command-line-using-third-party-scheduler
    But I am not able to locate .sh  file in unix server .
    This is required to call a job after completion of parent job.
    Thanks
    Anupam

    You can check the status in "SAP Business Objects Data Services management Console", Below are the steps
    Login in SAP Business Objects Data Services management Console
    Click on Batch Job
    Select the local repository
    Then check your Job Execution status from there
    For your second query there are two ways one is do the same activity what you have done in DEV.
    below are the steps
    Login in SAP Business Objects Data Services management Console and export the Jobs using export execution command from batch job
    SHELL Scripts will be exported in Job Server Log
    Move that SHELL script as per your location
    Update the User environment variable same as DEV only difference is SID is changed
    Thanks,
    Daya

  • How to get laserjet to pause between print jobs

    I just reinstalled my OS (Win7) over the weekend, and the laserjet P1102w is working fine, but it is doing one thing differently than before. For as long as I can remember (even going back to an earlier laserjet 1018), I could send 2-3 print jobs to the printer. When the first was done,  the printer would pause for a few seconds, and only then, start pushing out the pages of the second print job (I'd use that pause to alert me to go to the printer and scoop up all the pages of that first job).
    Now, it isn't doing that.
    Is there a setting to check? Honestly I'm not sure what to look for, but I didn't see anything in Windows' printer preferences.

    Hi paulri,
    Sorry that I had misread your post. The pausing between print jobs, was most likely a function of a communication lag between the printer and the computer, and not a feature of the printer or the software. This option is not available with the Operating Systems print spooler.
    As a workaround, I would just print one document at a time, and wait for it to finish printing, before printing the next document.
    For future reference, just in case you may need it, here is your printer's user guide.
    Thank you for posting, and have a nice day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Removing Dependency Between Applications

    Dear Experts,
    I need your valuable inputs on the architecture which we had in our organization but now want to change it due to considerable down time requirements.
    I have a application A which stores all the common artifacts like schemas, maps and callable orchestrations.
    I have 20 to 30 odd applications referring to the application A's artifacts. There is a dll dependency between the application and the common application A. so whenever I get a CR for an application A which involves change in the artifacts like schemas,
    maps and orchestration, then according to the deployment rules of Biztalk, I have to delete all the 20 to 30 odd applications and then deploy the application A, then redeploy the other dependent applications. Now this produces a considerable down time of 3
    to 4 hours.
    Now the organization wants to change the approach and minimize the down time while keeping the development rework (i.e avoid adding same tags in the schema across 20 to 30 applications rather than importing them from common application A). While trying to
    think about the solution I was reading various blogs on the internet and many suggested to go for side by side versioning. But the Organization wants to avoid that unless and until there are long running orchestrations(which is not the case right now) .
    Now I followed following approach on my testing machine to check if it is feasible to make changes to the common application A without deleting the dependant applications first. I have separated the approach on the Development and Deployment Lines.
    Development Wise
    1) make the necessary changes in the schemas. Add a post build comment to do the gacutil on the schema project
    2) For the maps referring to the schema provide the location of the freshly GACed dll. Provide the post build comment to do a gacutil on the maps project.
    3) Do the same for the orchestrations.
    4) for the dependant applications add the references from the GAC folder only.
    Deployment Wise
    1) As the common application is already deployed(before the new CR deployment), stop the Host Instances processing the common application requests and the Host Instances processing dependant application requests.
    2) Install the msi on the server(not import)
    3) GAC the individual dlls using the gacutil command 
    4) Restart the Host Instances
    This approach seems to work just fine and the changes in the artifacts are clearly observable.
    But honestly I have doubts regarding the authenticity and the credibility of this approach. I require you guidance on whether this is a good approach to follow or not or is there any alternative approach available which I can use to avoid the problem statement.
    Regards,
    Mandar Dharmadhikari

    The bad news:  What you're describing will usually work fine, but is not a supported Deployment method for BizTalk apps.
    What you describe in "Development Wise" is all fine, but really doesn't matter.  The .Net references rules and how Visual Studio managed referenced assemblies isn't changed by those steps.  Referencing from the GAC or the build folder
    should produce the same results.
    The deployment dependencies is one of the reasons I decided long ago to avoid whenever practical, which so far has been always, the notion of 'shared' artifacts between deployment units.  My philosophy is a a Visual Studio Solution should be deployable
    on it's own, without un-Deploying or re-Deploying anything else.  The one consequence so far is not being able to use the automatic schema resolution of the XmlDisassembler.
    Sneaking in new versions is ok for DEV, but not something I would rely on for Production deployments.

  • Auto create dependency between ViewController and ApplicationController

    Hi all,
    When you create a new ADF Mobile app, you will automatically create two projects: ViewController and ApplicationController.
    I noticed that these are not related, that is, a dependency between these is not created in the ViewController.
    I think you will need this dependency whenever you work with an on device database, in order to make a connection to that database.
    At least, that is the way all the demos work, and I would probably do that myself as well.
    So why not create the dependency by default.
    Regards
    Luc

    We purposely did not create the dependency because it is not required by all applications. The main reason is for modularity. We have made the "ViewController" projects reusable modules and you can create a "Feature Archive" (akin to an ADF Library) as a deployment profile for these modules and thus an application can comprise of many features from different feature archives. It can be limiting if your app assumes there is a direct dependency on the AppController project because then you would not be able to create a feature archive without including that as well and it would conflict with other apps that already have that project and it's contents. If you are sure you don't want your project to be reused as a feature archive then it is ok to add the dependency.

  • Dependancy between central swcv and others

    Hi,
    I want to download all my RFCs and IDoc into one single central SWCV. I want to implement dependancy between all my SWCVs and Central SWCV. Can somebody please send me any document on that?. Is it run-time or build time, I need to implement Dependancy.
    Thanks,
    sunita.

    Hi Sunita,
    Check this blog from Michal-
    /people/michal.krawczyk2/blog/2005/08/26/xi-are-you-independentfrom-your-dependencies
    You need to create the dependency in the build time itself
    SAP help-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/79/69f9e32bbb9f41aa4043c4c4989a41/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/10/8b9c4f1c79024595308d2f4a779c5e/content.htm
    Regards,
    Moorthy
    Message was edited by: Krishna Moorthy P

Maybe you are looking for

  • How do I download a DVD to my iMac?

    I'm new at this, have not tried this before.  I have a privately made DVD of a one-act play I produced this summer.  I want to download it to my iMac so I can upload it to my website's server.  I have not found a "download" feature under Finder or el

  • Auto buttons not working as expected

    The auto keyframe and motion buttons did not add keyframes and 0 and 3secs, as promised by the instructor, making following along and reproducing his results nearly impossible without a lot of trial, error, and frustration. What might be causing this

  • Bug in ADF installer 10.1.3.2?

    I am running IAS 10.1.3.0 and since I am developing in Jdev 10.1.3.2 and I was getting the following error: java.lang.NoSuchMethodError: oracle.adf.share.perf.StateTracker.isActive()Z when deploying and running my application so I figured I needed AD

  • Preloader and Document Class BIG question (yeap please help)

    Hy, I know that this its a question posted many, many times, but after searching the net, reading a lot of books and searching this forum too, I cant get out with a solution. If I'd say for sure there is no possibility to create something like this,

  • How to get current active tab (Detailitem)

    Hello, i have searched everywhere and still can't find a solution for such simple task. I want to get the current active Detailitem value (af:showDetailitem) from a panelTabbed (using java class) Working on Jdeveloper 11.1.2.4.0, can you help me plea