IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to send Mail from JCL


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts mail attachment with excel format All Other Mainframe Topics 2
No new posts REXX to send an email in Mainframe wi... CLIST & REXX 3
No new posts REXX to send an email in Mainframe CLIST & REXX 4
No new posts help send file AFT CONTROLM EM IBM Tools 0
No new posts how to send 10 rows at a time to output CICS 2
Search our Forums:

Back to Top