Skip to Content
0

Is possible to abort the steps below without cancel the job?

Aug 29, 2017 at 07:31 AM

49

avatar image
Former Member

Hello,

We have a requirement wherein we have 2 programs: one will create a file on application server and other will use it.

These 2 programs are scheduled as job steps.

Many a times, second step will start and the file from 1st program wont be placed on application server. thus we came up with a check and repeat step, where we will create a check program to validate the files before running second program.

But in case the second program is correctly completed, we need to abort the steps without cancelling the job.

Please suggest a way for this.

Thanks,

Snehal

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Aug 29, 2017 at 09:27 AM
1

Does the good old trick of LEAVE TO CURRENT TRANSACTION always end smoothly the background job in your version?

Else you could create a second, periodic on event scheduled, job, and raise, or not, the event at end of fist step(s) or build a small report that execute the multiple steps.

Share
10 |10000 characters needed characters left characters exceeded