View previous topic :: View next topic
|
Author |
Message |
chitramayi
New User
Joined: 12 Mar 2006 Posts: 3 Location: Hartford,Connecticut
|
|
|
|
My reqt is to send an email with the name of the latest version of a dataset that is being created after successful end of a job. I already have the JCL to send an email at the end of the job but not with the dataset that is created. Any clues? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
chitramayi
New User
Joined: 12 Mar 2006 Posts: 3 Location: Hartford,Connecticut
|
|
|
|
I am looking for some ways to mail the latest version of the dataset that is being created by using the SMTPNOTE mail concept. Below is the model of the JCL that i am using. What should i include in the body section in order to mail the latest version of the dataset..?
//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. |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 419 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
which is it - the name or the data? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I hope it's not the actual dataset content. Hopefully, the company that chitramayi works for wouldn't allow such an obvious potential data security breach to occur. |
|
Back to top |
|
|
chitramayi
New User
Joined: 12 Mar 2006 Posts: 3 Location: Hartford,Connecticut
|
|
|
|
Yes Superk is correct. I am not trying to mail the contents of the dataset. I need to mail the name or latest version of the dataset that is being created at the successful end of a job. |
|
Back to top |
|
|
|