Send email from mainframe

I need to send an email from mainframe using the parmcard which has
HELO
MAIL FROM:
RCPT TO:
DATA
FROM:
TO:
SUBJECT:
etc
but i also need to get the system date and time each time I do so.
How do I get that when I submit the jcl which uses this parmcard as input?

Questions by keerthiec

Showing Answers 1 - 1 of 1 Answers

poojaDeep

  • Apr 14th, 2008
 

To send an Email from mainframe use:-

PROC :- ARRMMAIL and use the control mem as RRMROLL1) .
You can get this by using following code :

In JCL code as:-

//JS010 EXEC ARRMMAIL,

RREMAIL='CORD2DAL.DDPP.PARMLIB(RRMROLL1)'

use this PARMLIB and create member as :-

*TO mail id
*CC mail id
*FR job name
*SU subject line whatever you want to put

------------------------------------------------------------------
Mail Matter
===========================
Matter of Mail
------------------------------------------------------------------

This will solve your query.

Thanks,
poojaDeep.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions