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

Transmit files from MVS to email with specific subject line


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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: 2455
Location: Hampshire, UK

PostPosted: Thu Aug 16, 2012 2:52 pm
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
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

Superior Member


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

PostPosted: Thu Aug 16, 2012 4:01 pm
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: 2455
Location: Hampshire, UK

PostPosted: Thu Aug 16, 2012 5:06 pm
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

Moderator Emeritus


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

PostPosted: Thu Aug 16, 2012 7:26 pm
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

Global Moderator


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

PostPosted: Thu Aug 16, 2012 9:35 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top