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

steps needed to sending mail


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
anil.p
Warnings : 1

New User


Joined: 26 Sep 2006
Posts: 5
Location: TVM

PostPosted: Tue Oct 03, 2006 11:50 am
Reply with quote

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
View user's profile Send private message
shreevamsi

Active User


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

PostPosted: Tue Oct 03, 2006 12:15 pm
Reply with quote

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
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts mail attachment with excel format All Other Mainframe Topics 2
No new posts Help needed to assemble IMS sample co... ABENDS & Debugging 4
No new posts RABBIT HOLE NEEDED - "Live"... All Other Mainframe Topics 0
Search our Forums:

Back to Top