Generate an email in JCL automatically.
-
- Registered Member
- Posts: 62
- Joined: Sat Jun 29, 2013 1:45 pm
Generate an email in JCL automatically.
Hi,
Can someone please tell me how can we send an email using a JCL automatically, in case job is not completed on time and it has missed the SLA. In doing so I need to fetch the job completion time? I was not sure about the answer, how can we do it, please help on this.
Can someone please tell me how can we send an email using a JCL automatically, in case job is not completed on time and it has missed the SLA. In doing so I need to fetch the job completion time? I was not sure about the answer, how can we do it, please help on this.
Re: Generate an email in JCL automatically.
I am sure the answer is already in the forum - did you search?
Regards
Nic
Nic
-
- Global Moderator
- Posts: 826
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Generate an email in JCL automatically.
and Your operations support should know how to have Your scheduler do it
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
Re: Generate an email in JCL automatically.
Enrico, interview question. He may not have an Ops Support group to speak to.
Regards
Nic
Nic
-
- Global Moderator
- Posts: 826
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Generate an email in JCL automatically.
still
the forum will tell how to write a step to send an email
but
it will be difficult to find out with a simple jcl stepin case job is not completed on time and it has missed the SLA.
if I were the interviewer
the answer
" I would speak to operations support to find the capabilities of the job scheduler"
would have got many many more quality points
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Registered Member
- Posts: 62
- Joined: Sat Jun 29, 2013 1:45 pm
Re: Generate an email in JCL automatically.
Yes I also told about using IEBGENER steo to send the email but I was not sure how to capture the completion time of the job. Thanks for the answer that the scheduler should be able to help in this.
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Generate an email in JCL automatically.
Available starting in z/OS 2.3 will be the // NOTIFY JCL statement which will send job status to an email address. It won't help with SLA, of course, since an SLA is not fixed but depends upon the contract.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute