02-08-2011 3:07 AM
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.
02-08-2011 3:24 AM
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
02-08-2011 3:24 AM
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
02-08-2011 3:48 AM
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.
02-08-2011 1:38 PM
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
02-09-2011 3:58 AM
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 !
02-09-2011 12:02 PM
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