2005 Aug 10 5:32 PM
hi friends,
i got a situation that i have to raise a error message while a sheduled backround job is run based on some conditions.
Now i just want to know, where do i go and check out for these error messages as error mesaages are raised explicitly on screen in a background job.
Prompt answers will be rewarded with points.
2005 Aug 10 5:34 PM
Hi Arun,
You can check for the messages in the spool(SP01) that is created for this job.
Regards,
Sajith.
2005 Aug 10 5:34 PM
Hi Arun,
You can check for the messages in the spool(SP01) that is created for this job.
Regards,
Sajith.
2005 Aug 10 5:45 PM
2005 Aug 10 6:43 PM
thanks a lot Rich Heilman and Sajith Hari,
Could u also tell me what happens to the write statements that appear in the code of such a background job.
Thanks in advance.
2005 Aug 10 6:44 PM
They go to the spool. Again, in SM37, check the job and click on the spool.
2005 Aug 11 6:42 PM
Added to that u can also check the same in <b>SM36</b> too.
U can click on the job scheduled and then the spool created if u get a finished messaege. If not u will be having the eroor mess in the calceled Job.
Also if u want <b>to debug a job schedule in background</b> just choose the corresponding job and type <b>shdb</b> in the command prompt.