Application Development 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: 

Job steps

Former Member
0 Kudos

Hi Gurus

I have some question that I can not resolve, maybe you can help me.

I have to create several job steps in a background job.

Let say:

1 step program ztest01.

2 step program ztest02.

I want my 2nd step (ztest02) always executed regardless what happend in 1 step (ztest01).

My problem is it happened that a message error of type 'E' in my 1st step (ztest01) has been triggered resulting my 2nst step never executed. How to resolve that?

Thank you

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I don't think your approach will work.

Instead, create two one step jobs and have the second one start when the first finishes.

Rob

4 REPLIES 4

Former Member
0 Kudos

I don't think your approach will work.

Instead, create two one step jobs and have the second one start when the first finishes.

Rob

Jelena
Active Contributor
0 Kudos

Or if ztest01 is a custom program, try making a change in it to do not use 'E' message type. If it's not feasible then indeed separate jobs are needed.

Former Member
0 Kudos

If the second step job does not need to be dependent on first one, it is always better to create two different jobs.

Regards,

Aravind

Former Member
0 Kudos

Thank you guys. You're so helpful to me.