Page 1 of 1

where to look for errors in spool....

PostPosted: Thu Jun 10, 2010 9:40 pm
by prabu_cts
guys there are so many things in spool when i try to find errors in a job....

things like
jesmsgclg
jesjcl
sysprint
syslist
and so on...

so where should i look to find out the exact error!!!

there is a provision for us to find abends easily as it gets written to abendaid automatically but i find it difficult find the other errors...

help me out and sorry if this post already exists i tried some keywords but couldn't find any... so i started this thread!!!


thanks in advance

Re: where to look for errors in spool....

PostPosted: Thu Jun 10, 2010 11:53 pm
by MrSpock
JESMSGLG will show the overall status of the job, and the resulting return-code of each step, as well as, in the case of a abend, the abend message and associated details.

JESYSMSG will show the more detailed step information, such as datasets used and their disposition, JCL errors, and other relevant diagnostic details.

Re: where to look for errors in spool....

PostPosted: Sat Jun 12, 2010 8:16 pm
by Anuj Dhawan
Also, it will depend on what program was executing at the time of abend. If it's a user written program, there can be explanation in associated SYSOUT; if it's some sort-jobs, SYSOUT must have the details...

Re: where to look for errors in spool....

PostPosted: Mon Jun 14, 2010 7:05 pm
by Bill Dennis
MrSpock wrote:JESMSGLG will show .....the resulting return-code of each step,.....
A system exit is required to display COND CODE (and other end-of-step info) in the JESMSGLG. Not all sites will have this.