‎2008 Aug 26 8:43 PM
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!
‎2008 Aug 26 8:47 PM
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
‎2008 Aug 26 8:47 PM
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
‎2008 Aug 26 8:49 PM
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