Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to send Mail from JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
gneelu

New User


Joined: 26 May 2006
Posts: 18

PostPosted: Thu Aug 10, 2006 5:45 pm    Post subject: How to send Mail from JCL
Reply with quote

Hi,

I am trying to send mail using jcl in that

HELO Host

what is the hostname we have to give here, can any one give me the answer

Thanks in advance
G Neelaveni
Back to top
View user's profile Send private message

shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Aug 10, 2006 7:15 pm    Post subject:
Reply with quote

hi Neelaveni,


You can find the HOSTNAME in the JESMSGLG following NODE.

J E S 2 J O B L O G -- S Y S T E M D E V L -- N O D E A B C

Here ABC is the HOST Name

~Vamsi
Back to top
View user's profile Send private message
gneelu

New User


Joined: 26 May 2006
Posts: 18

PostPosted: Fri Aug 11, 2006 10:06 am    Post subject: Re: HOW TO SEND MAIL USING JCL
Reply with quote

Hi vamsi,

thank u, i have given the node name but iam not getting the mail
Back to top
View user's profile Send private message
stly
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 93

PostPosted: Tue Aug 29, 2006 2:34 pm    Post subject: Re: How to send Mail from JCL
Reply with quote

Hi Neelaveni,

i tried this code n it worked fine.just add from n to mailids.


//SENDNOTE EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSUT1 DD *
HELO HOST
MAIL FROM:< >
RCPT TO:< >
DATA
RCPT TO:< >
SUBJECT: HI
HI THIS IS A TEST MAIL ....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts Send parameter for macro STIMERM from... Daniel Teolotitla PL/I & Assembler 13 Tue Jul 05, 2016 9:23 pm
No new posts How to send email with Rich Text usin... santhosh5983 JCL & VSAM 4 Fri Apr 08, 2016 2:30 am
No new posts Issue in sending zip file as mail att... ajithajt JCL & VSAM 8 Thu Apr 07, 2016 9:11 am
No new posts Trigger a mainframe job by mail Praveen Thenraj IBM Tools 8 Wed Jan 13, 2016 12:05 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us