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

XMITIP -Need File Contents put into Message Portion on Email


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Evantra

New User


Joined: 05 Jan 2008
Posts: 15
Location: Sacramento, Ca

PostPosted: Thu Apr 30, 2009 12:16 am
Reply with quote

Hello All,
I would like to put the contents/data of a file into the message portion of an email using XMITIP. I've read through a lot of postings but nothing specific to putting the data instream.

Thanks
Back to top
View user's profile Send private message
Evantra

New User


Joined: 05 Jan 2008
Posts: 15
Location: Sacramento, Ca

PostPosted: Thu Apr 30, 2009 12:56 am
Reply with quote

When I use the below, I receive that the file name, HWSTGADM.OREVENT.ERRORLST.CURRENT is "invalid - not allocated"

%XMITIP (email 1+
email 2) +
MSGDD HWSTGADM.OREVENT.ERRORLST.CURRENT +
MSG72 +
FROM email 1 +
REPLYTO email 1 +
SUBJECT 'SENDING REPORT THROUGH EMAIL'
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 Apr 30, 2009 1:22 am
Reply with quote

Hello,

MSGDD should point to a ddname, not a dataset?

Is there some reason that you don't want to sent the report as an attachment?
Back to top
View user's profile Send private message
Evantra

New User


Joined: 05 Jan 2008
Posts: 15
Location: Sacramento, Ca

PostPosted: Thu Apr 30, 2009 1:33 am
Reply with quote

Thanks Dick...that worked. I changed MSGDD to MSGDS.

The reason the recipients don't want an attachment is that a lot of them view it on their Blackberries and don't want to open an attachment.

Thanks for you help!
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 Apr 30, 2009 1:37 am
Reply with quote

Quote:
a lot of them view it on their Blackberries and don't want to open an attachment.
Understood.

Good to hear it is working - thanks for letting us know icon_smile.gif

d
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 FTP VB File from Mainframe retaining ... JCL & VSAM 6
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top