by Aki88 » Tue May 27, 2014 2:02 pm
Hello,
There are hundreds of examples available on the forum for the query posted, try searching for it first; a simple GOOGLE search for the "but obvious" and badly written search string: 'jcl to send email from mainframe', returned more than 30k results, quite a lot of them from this and the sister forum, which have the JCL as well as an explanation of the same.
Refer the already posted topics, read through them, understand the usage, try testing the JCLs; if you are stuck up somewhere, post the error here, and someone will be able to help you out.