Hi Experts,
I am beginner to BODS. I have a requirement of sequencing the BODS jobs.
Say for example, We have 2 jobs, names are JOB A and JOB B. When JOB A is completed then it should call JOB B.
To achieve this, I found the blog from SDN to sequence the job using script.
Scheduling BODS Jobs Sequentially and Conditionally
I have created two jobs Say JOB 1 and JOB 2 and exported the JOB 2 in BODS management console to generate JOB2.bat file(Same steps followed as per the blog).
I created the JOB 1 with script to call already generated JOB2.bat file using cmd "exec".
Finally executed the JOB 1. But result, JOB1 is not triggering JOB 2.
I am not sure what i am missing here.
Here are some questions:
- How to see the .bat files which is generated from management console after exporting the job ? Is this same path I can see the .bat file ?
C:\Program Files (x86)\Business Objects\BusinessObjects Data Services\log\Job2.bat
- Do we need to export Global variables of JOB 2 into .bat file or it will work as what ever the global variables which is already there inside the job script ?
Please help me sharing all your suggestions and thoughts.
And also please share if you have any other recommendations to achieve the same.
I will try with Web services sequencing option as well.
Thanks,
Best Regards,
Santhosh Kumar.