Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Sending multiple attachments thru mail

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

New User


Joined: 02 Aug 2007
Posts: 18
Location: india

PostPosted: Fri Feb 06, 2009 5:29 pm    Post subject: Sending multiple attachments thru mail
Reply with quote

Hi,

I'm able to send a mail with single attachment (csv file).

Is there a way to mail multiple attachments (csv files)?

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

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Fri Feb 06, 2009 6:57 pm    Post subject:
Reply with quote

A Google search of "smtp multiple attachments" returns about 188,000 hits. The first page pretty much has a number of packages to do this, all of which require some sort of payment. I suspect your requirement cannot be met without purchasing a package. However, I've never tried sending multiple attachments through SMTP so I have no idea about whether or not it can be done except through these packages.

You could use tar or pax (or even GZIP, if it is installed at your site) to create a single file and attach it to your email.
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: Sat Feb 07, 2009 2:38 am    Post subject:
Reply with quote

Hello,

If you use XMITIP, multiple attachments work (at least on one system) icon_wink.gif

I used a separate dd statement for each file to be attached and the XMITIP line identifying them is:
Code:
         FILEDD (ATT1 ATT2)
Where ATT1 & 2 are the dd's for the files to be attached. Each file arrives as a separate attachment. I used different lrecls (80/133) and both opened successfully in notepad.
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 sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us