View previous topic :: View next topic
|
Author |
Message |
anil.p Warnings : 1 New User
Joined: 26 Sep 2006 Posts: 5 Location: TVM
|
|
|
|
I need to send mail from JCL I used the code listed below...
how can I configure SMTPNOTE or is there any need of creating new PDS and copying some files like..sys1.exec ....if so ...please help me with the basic steps as early as possible......
Before using this code what should I do about ...PDS....
what should I use for MVSHOST .. How Do I find?
Code: |
//SENDNOTE EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSUT1 DD *
helo MVSHOST
mail from:<MVSUser@MVSHost.xyz.com>
rcpt to:<unixuser@pop3.xyz.com>
data
From: MVSUser@MVSHost.xyz.com
To: unixuser@pop3.xyz.com
Subject: Test message from MVS using SMTP
This is a line in the body of the note.
|
Anil |
|
Back to top |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
HI aNIL,
You can identify the MVSHOST from JESMSGLG.
Find for 'J O B L O G'. It is going to be the first line from JESMSGLG.
NODE ur host name |
|
Back to top |
|
|
|