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: 

Finding the step that failed in a batch job.

0 Kudos

Hi Everyone,

Is there a method to know which exact step failed when a batch job fails? what i've already tried is :

1. Lookin at the job log and step which provides no info regarding data that failed.

2. Checked in TBTCS & TBTCO table entries.

3. Also in BALHDR table as well.

1 ACCEPTED SOLUTION

former_member196280
Active Contributor
0 Kudos

I guess, debugging background job may help you to identify the step that has been failed.

You can debug backgroung job by using command 'JDBG'.

Regards,

SaiRam

5 REPLIES 5

former_member196280
Active Contributor
0 Kudos

I guess, debugging background job may help you to identify the step that has been failed.

You can debug backgroung job by using command 'JDBG'.

Regards,

SaiRam

0 Kudos

Hi SaiRam,

Thank you. The issue here is tat i cannot debug in prod. I'l need to run it in quality system where the batch job is not defined.

ThomasZloch
Active Contributor
0 Kudos

Normally the job log will tell you the reason. Please paste the log here so we can have a look (only if not too long, please...).

Thomas

0 Kudos

Thanks for the reply, The log actually has the error message stating the item-category is not available. but the requirement was to know which among the set of data had that wrong item cat.

I found it out using the batch num displayed in the log. Issue sorted !

0 Kudos

How does this compare to your initial statement:

1. Lookin at the job log and step which provides no info regarding data that failed.

Please make sure you provide all relevant information in your initial question next time, or think twice and check again before opening a thread.

Thomas