cancel
Showing results for 
Search instead for 
Did you mean: 

Want to schedule a Job (Strt Cond after JOB which should be periodically !!

former_member69568
Participant
0 Kudos

Transactions : SM36 SM37 SM37C SM62 S64 SE38

Requirement

-


JOBA should execute program PROG1 with variant VARPROG1 in background everyday @ 10 AM.

JOBB should execute program PROG2 with variant VARPROG2 in background after JOBA

JOBC should execute program PROG3 with variant VARPROG3 in background after JOBB

JOBD should execute program PROG4 with variant VARPROG4 in background after JOBC.

When i schedule the above jobs for one day ..It works fine !!

We Require when JOBA scheduled daily / JOBB / JOBC / JOBD should should follows,

which will not happen with a option : "Start Condition : After a JOB"

irrespective technical i scheduled 1st job daily and JOBB / JOBC / JOBD as mentioned above. Result : !st dya all jobs got executed and 2nd day only 1st job got released ans got executed.

How can we acheive this ??

Rgds

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You follow the below process.

1) Define a BG job in your system with Daily Frequency and have four variants in that jobs such a way.

Step-1 ---program PROG1 with variant VARPROG1

Step -2 ---program PROG2 with variant VARPROG2

Step-3 - program PROG3 with variant VARPROG3

Step -4 program PROG4 with variant VARPROG4

If you define the job in this way, this will ensure that Prog -2 will only start when Prog -1 will be over and similarly other will also follow the sequence and in this way you achieve the Daily frequency also.

With Regards,

Saurabh

former_member69568
Participant
0 Kudos

Thanks

How do i handle if the 1st execution fails

Former Member
0 Kudos

Hi,

If job is cancelled on 1st Step, Rest of the steps will not be executed. If I am correct than this should be your requirement also.

With Regards,

Saurabh

former_member69568
Participant
0 Kudos

if step1 / step2 / step3 can be used

what is the super advantage of "After a Job"

as your explanation confirms both perofrms same.

it is bit swing cum bouncer to me.

could you suggest

Rgds

former_member69568
Participant
0 Kudos

Yes exactly it is my requirement.

As i already mentioned .

What is the "SUPER ADVANTAGE " of " After a Job " in compare to with your solution.

Rgds

Former Member
0 Kudos

Hi,

"After a Job" solution will works in one time Scenario and Step concepts fits for periodic jobs also.

One more difference is that in "After job" option you can start the later job even if preceding job is cancelled which is not possible in "In Step" feature .

With Regards,

Saurabh

Edited by: Saurabh.Arora on Jun 15, 2009 2:33 PM

former_member69568
Participant
0 Kudos

Sauraabh

I was referring into

Note : Note 919458 - Program 'BTC_EVENT_RAISE'

But the sugession you provided exactly fit into my requirement.

Thanks for everyhting.

Rgds

Answers (0)