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
 

 

Transmit files from MVS to email with specific subject line

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Senthil KK

New User


Joined: 03 Aug 2012
Posts: 10
Location: India

PostPosted: Thu Aug 16, 2012 2:48 pm    Post subject: Transmit files from MVS to email with specific subject line
Reply with quote

Hi,

Currently we transmit files from mainframe to our email ids.

Subject line of the email we receive will be "File <dataset name we xmitted> from <user id>"

Is there any way to transmit file with "Confidential" in the subject line.

Subject line should be : "Confidential : File <dataset name we xmitted> from <user id>"

We use the basic xmit command in the control card.

XMIT <email id> DSN('<dataset name>')
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1845
Location: UK

PostPosted: Thu Aug 16, 2012 2:52 pm    Post subject:
Reply with quote

What is confidential about an XMIT notify message? The data being transmitted may be confidential but the notify message is not. Improper security classification can render all security classifications worthless.
Back to top
View user's profile Send private message
Senthil KK

New User


Joined: 03 Aug 2012
Posts: 10
Location: India

PostPosted: Thu Aug 16, 2012 2:57 pm    Post subject: Reply to: Transmit files from MVS to email with specific sub
Reply with quote

Hi Nic,

File content certainly has confidential information and we felt it is appropriate to notify confidential in the subject line.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Aug 16, 2012 4:01 pm    Post subject: Re: Transmit files from MVS to email with specific subject l
Reply with quote

Senthil KK wrote:
Subject line of the email we receive will be "File <dataset name we xmitted> from <user id>"('<dataset name>')
The way you've used "from" in above "Subject Line", can't "confidential" be embedded the same way... possibly I misunderstood totally... icon_confused.gif
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1845
Location: UK

PostPosted: Thu Aug 16, 2012 5:06 pm    Post subject:
Reply with quote

Actually, I think it is XMIT userid.... and is a TSO command and the message is a TSO reponse. to change it would mean that any XMIT would send 'CONFIDENTIAL' whether the dataset is confidential or not.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Aug 16, 2012 7:26 pm    Post subject:
Reply with quote

Hello,

If you were to send these confidential e-mails via a batch e-mail step, you would have complete control of the "subject". . .
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2068
Location: Silicon Valley

PostPosted: Thu Aug 16, 2012 9:35 pm    Post subject: Reply to: Transmit files from MVS to email with specific sub
Reply with quote

Try using XMIT with both DSN and MSGDSNAME parameter.

Quote:
XMIT <email id> MSGDSN('<other name>') DSN('<dataset name>')


Where the message dataset is formatted like an email, including:
Code:
SUBJECT: my_subject_text


=======
Slightly different, I found this in my JCL dataset:


Code:
//STEP02   EXEC PGM=IKJEFT01   
//SYSTSPRT DD SYSOUT=*                       
//SYSTSIN  DD *                               
 TRANSMIT intranet.PEDRO LINE(QQ)  NOPROLOG  NOEPILOG         
 SUBJECT:  A TEST         
                         
 THE DATA HAS BEEN SENT.
QQ                                           
/*   

and the email arrives with the desired Subject line.
Back to top
View user's profile Send private message
Senthil KK

New User


Joined: 03 Aug 2012
Posts: 10
Location: India

PostPosted: Thu Aug 16, 2012 10:06 pm    Post subject:
Reply with quote

Hi Pedro

Using both parameters doesn't work.

Message given in the message dataset comes in the email content and not getting displayed in the subject line as we expected.

As the control card member can have only 72 characters I have to separate the lines by '-'

XMIT <email id> -
MSGDSN('<ds>') DSN('<ds>')

Thanks for your help.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 10 Fri Aug 18, 2017 10:50 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts EMAIL using IEBGENER - SMTP parasmalik20 JCL & VSAM 4 Tue May 23, 2017 12:19 am


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