cancel
Showing results for 
Search instead for 
Did you mean: 

Executing a job using batch file

former_member208246
Participant
0 Kudos

Hi Every one,

Can we execute a job from another job using a batch file.

If so, how to invoke and run the jobs successfully?

Thanks and regards

Sanjay

Accepted Solutions (1)

Accepted Solutions (1)

DayaJha
Active Contributor
0 Kudos

Hi Sanjay,

Please refer the below link for executing a job by another job in BODS 4.1 using simple script

Links:
http://scn.sap.com/community/data-services/blog/2013/12/04/executing-a-job-by-another-job-in-bods-41...

Thanks,

Daya

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Go to Management Console > Batch jobs > Batch job configuration > 'Export execution'

This will generate a .bat file in the install folder (will be displayed).

Create a script file in job connect after the dataflow-

inside the script

sleep(2000);

exec('cmd.exe','C:\..............dir..........',8);

Print(Job B running);

Note - you wont see the job run status for the second job when you use this approach.

Thanks,
Arun