|
|
| Author |
Message |
sandeep34
New User
Joined: 04 Feb 2010 Posts: 4 Location: hyderabad
|
|
|
|
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 |
|
 |
References
|
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 13608 Location: 221 B Baker St
|
|
|
|
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 |
|
 |
sandeep34
New User
Joined: 04 Feb 2010 Posts: 4 Location: hyderabad
|
|
|
|
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 |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 13608 Location: 221 B Baker St
|
|
|
|
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 |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 6469 Location: Brussels once more ...
|
|
|
|
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 |
|
 |
sandeep34
New User
Joined: 04 Feb 2010 Posts: 4 Location: hyderabad
|
|
|
|
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 |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 5403 Location: italy
|
|
|
|
| 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 |
|
 |
sandeep34
New User
Joined: 04 Feb 2010 Posts: 4 Location: hyderabad
|
|
|
|
| Thanks a lot for the Guidance |
|
| Back to top |
|
 |
|
|