IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need a JCL to Check for Abended Jobs


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sandeep34

New User


Joined: 04 Feb 2010
Posts: 4
Location: hyderabad

PostPosted: Thu Feb 04, 2010 10:12 am
Reply with quote

Hi All,

I have a requirement where in i need a JCL that would check the status of the mainframe jobs and send an email with the list of abended jobs.

Thanks in Advance !!!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Feb 04, 2010 10:20 am
Reply with quote

Hello and welcome to the forum,

You need to tell whoever gave you this requirement that jcl cannot do this. . .

Your scheduling people may be able to provide something you can use. . .
Back to top
View user's profile Send private message
sandeep34

New User


Joined: 04 Feb 2010
Posts: 4
Location: hyderabad

PostPosted: Thu Feb 04, 2010 11:05 am
Reply with quote

Thanks a lot for the information.

But the thing is i happend to see a JCL that was developed to monitor a set of jobs and sendout an email if the jobs donot complete with in the pre defined time.

So thought there may be a similar JCL that would monitor a pre defined set of jobs and send out an email with the list of Abended Jobs.

Thanks !!!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Feb 04, 2010 11:36 am
Reply with quote

Hello,

Sorry, but no you didn't see "a JCL" that monitored anything. . . JCL cannot monitor anything.

JCL can execute programs and you may have seen the execution of some program that "monitored something". . .

If you saw a process that does what you want, why not clone it to do what you need now? What program(s) did this job use?

Once you find the info you want, sending an e-mail is fairly straightforward. There are multiple topics on sending e-mail in the forum.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Feb 04, 2010 12:26 pm
Reply with quote

Once more let us clarify exactly what JCL is.

it is Job Control Language.

By itself it does nothing. It is used to invoke the chosen program and to define which datasets are to be used by the DD names associated with the chosen program.

JCL does not have magical powers that solve all problems, JCL is merely the vehicule for telling the processor which program you want to execute.

So, if you might just care to tell us which program you wish the JCL to execute, we might be able to help you
Back to top
View user's profile Send private message
sandeep34

New User


Joined: 04 Feb 2010
Posts: 4
Location: hyderabad

PostPosted: Thu Feb 04, 2010 12:36 pm
Reply with quote

Yup , I need a Procedure or a program that would check the status of the jobs mentioned in the pre defined list and then mail the list of abended Jobs.

Thanks !!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Feb 04, 2010 12:42 pm
Reply with quote

Quote:
Yup , I need a Procedure

this is a help forum , not a do it for me.

anyway Your scheduler will be able to do it , speak to Your scheduling support!
Back to top
View user's profile Send private message
sandeep34

New User


Joined: 04 Feb 2010
Posts: 4
Location: hyderabad

PostPosted: Thu Feb 04, 2010 12:53 pm
Reply with quote

Thanks a lot for the Guidance
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Reorg abended with REASON=X'00E40347' DB2 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Check data with Exception Table DB2 0
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
Search our Forums:

Back to Top