Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is the best way to debug a Job Fail?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
toughmetals

New User


Joined: 10 Jan 2006
Posts: 14
Location: India

PostPosted: Fri Jan 13, 2006 6:41 pm    Post subject: What is the best way to debug a Job Fail?
Reply with quote

Hi Chaps,

I will always get quite problem in debugging if a JCL Fails.

Is their a flow which we should follow or several standard steps so that we can easily track the problem ?

Thanks,
Deeps
Back to top
View user's profile Send private message

Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri Jan 13, 2006 6:58 pm    Post subject:
Reply with quote

Try forum ABENDS & Debugging. You'll find a lot of info and documents.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Fri Jan 13, 2006 7:19 pm    Post subject: Re: What is the best way to debug a Job Fail?
Reply with quote

In Broader terms....

1> Identify the step at which job failed.
2> Identify the abend code at the step failed.
3> Identify the related sysout messages for that step.

Did I miss anything.... If you are thru with these steps... & getting problem of having ABEND CODES & reasons explained.....refer to the section suggested by Mr. Bitneuker.

Regards,

Priyesh.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri Jan 13, 2006 7:25 pm    Post subject:
Reply with quote

In addition: it's not the JCL that abends but the program (seldom a utility) being executed by JCL control statements. It's not a fact the job stops executing following steps in case one program abends. This may occur when one or more following steps contain COND=ONLY meaning these steps may only be executed in case of a prior abend.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Fri Jan 13, 2006 7:57 pm    Post subject: Re: What is the best way to debug a Job Fail?
Reply with quote

Thanks to Mr. George... I got another point which may be useful to you in this topic.
Quote:
it's not the JCL that abends but the program (seldom a utility)

You should always check the job by some pre-specified commands (depends on shop specification like JEM, !JCK etc...) to get any syntactical error which may lead to a JCL ERROR or the ABEND.

Regards,

Priyesh.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri Jan 13, 2006 8:05 pm    Post subject:
Reply with quote

Hi Priyesh (and others),

Sorry to confuse you about my name. Mazzels is one of the many ways we use to say 'Good by'. I adjusted my profile thus revealing a bit of my true identity. icon_wink.gif
Back to top
View user's profile Send private message
toughmetals

New User


Joined: 10 Jan 2006
Posts: 14
Location: India

PostPosted: Mon Jan 16, 2006 11:58 am    Post subject:
Reply with quote

These was very useful to me.

Many Thanks,
Deeps
Back to top
View user's profile Send private message
pa1chandak
Currently Banned

New User


Joined: 31 Jan 2006
Posts: 55

PostPosted: Wed Feb 01, 2006 8:58 pm    Post subject:
Reply with quote

you can try TYPERUN=SCAN

IT WILL ONLY SCAN THE JCL FOR ERRORS


IF I AM WRONG SOMEWHERE PLEASE CORRECT ME

THANK YOU

DO SEND ME THE REPLY

PAWAN

09822546416

// THE ONE I LOVE , I SHALL NEVER BLAME //
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Looking for IBM DEBUG Docment fencinglapins IBM Tools 3 Wed Feb 03, 2016 6:50 am
No new posts Debug Tool TIM goes down, when attemp... Catz Testing & Performance analysis 0 Fri Jun 12, 2015 4:15 pm
No new posts Job Didn't fail when CBLQDA is ON abhijit.nayak01 COBOL Programming 14 Thu May 14, 2015 4:05 pm
No new posts Long running CICS transaction - Debug... Natarajan R A ABENDS & Debugging 18 Wed Jun 11, 2014 12:46 pm
No new posts IBM debug tool - LIST,LIST STOR(),ZOO... Arunkumar Chandrasekaran IBM Tools 1 Sun Nov 17, 2013 4:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us