Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Batch Input status

Former Member
0 Likes
507

Hi Experts

The job 'n1' generate and execute a Batch Input data,

I need run the job 'n2' when this batch Input have been finishid.

How can I concatenate job 'n2' depending of the Batch Input status?

Thank you in advance!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
440

Hello,

One approach is to create 1 job with 2 steps, one for each of the programs run in job 1 and job2.

Another way to do this is to trigger an event in job1 and then set the start condiotion of the second job (in sm36) to start after the event created.

The second approach has the advantage that job2 will not start if job1 is not successful.

Regards

Greg Kern

2 REPLIES 2
Read only

Former Member
0 Likes
441

Hello,

One approach is to create 1 job with 2 steps, one for each of the programs run in job 1 and job2.

Another way to do this is to trigger an event in job1 and then set the start condiotion of the second job (in sm36) to start after the event created.

The second approach has the advantage that job2 will not start if job1 is not successful.

Regards

Greg Kern

Read only

naimesh_patel
Active Contributor
0 Likes
440

When you run the batch input session, generally it will generate the JOB with the same name.

You can create a job N2 in the SM36 and in the Start Condition, select the after job. Enter the Job name (job generated by Batch Job) here and save.

Regards,

Naimesh Patel