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
 

 

steps needed to sending mail

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: steps needed to sending mail
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Mail via SMTP with an image? Mike 1304 JCL & VSAM 4 Thu Jan 26, 2017 2:01 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts Help Needed with View Direct shailesh_do CA Products 2 Wed Jul 13, 2016 10:39 am
No new posts How to sending system service request... lind sh IMS DB/DC 5 Sun Apr 10, 2016 12:02 am
No new posts Issue in sending zip file as mail att... ajithajt JCL & VSAM 8 Thu Apr 07, 2016 9:11 am


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