Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Need a JCL to Check for Abended Jobs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
sandeep34

New User


Joined: 04 Feb 2010
Posts: 4
Location: hyderabad

PostPosted: Thu Feb 04, 2010 10:12 am    Post subject: Need a JCL to Check for Abended Jobs
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
References
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 13608
Location: 221 B Baker St

PostPosted: Thu Feb 04, 2010 10:20 am    Post subject:
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    Post subject: Reply to: Need a JCL to Check for Abended Jobs
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

Global Moderator


Joined: 23 Nov 2006
Posts: 13608
Location: 221 B Baker St

PostPosted: Thu Feb 04, 2010 11:36 am    Post subject:
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: 6469
Location: Brussels once more ...

PostPosted: Thu Feb 04, 2010 12:26 pm    Post subject:
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    Post subject: Reply to: Need a JCL to Check for Abended Jobs
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

Global Moderator


Joined: 14 Mar 2007
Posts: 5403
Location: italy

PostPosted: Thu Feb 04, 2010 12:42 pm    Post subject: Reply to: Need a JCL to Check for Abended Jobs
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    Post subject: Reply to: Need a JCL to Check for Abended Jobs
Reply with quote

Thanks a lot for the Guidance
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1