Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 29, 2017 at 09:27 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded