where to look for errors in spool....



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

where to look for errors in spool....

Postby prabu_cts » Thu Jun 10, 2010 9:40 pm

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
prabu_cts
 
Posts: 2
Joined: Thu Jun 10, 2010 9:25 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby MrSpock » Thu Jun 10, 2010 11:53 pm

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.
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

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

Postby Anuj Dhawan » Sat Jun 12, 2010 8:16 pm

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...
Anuj
Anuj Dhawan
 
Posts: 273
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times

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

Postby Bill Dennis » Mon Jun 14, 2010 7:05 pm

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.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post