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: 1715
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: 1715
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: 2019
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 High CPU consumption Job using IAM fi... aswinir JCL & VSAM 8 Thu Dec 01, 2016 8:28 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts how to split records based on specifi... Venkata Ramayya DFSORT/ICETOOL 6 Wed Sep 28, 2016 3:20 am
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm


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