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
 

 

ZIP a file and eMail

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

New User


Joined: 19 Feb 2010
Posts: 2
Location: Chennai

PostPosted: Fri Feb 19, 2010 8:52 pm    Post subject: ZIP a file and eMail
Reply with quote

I have a job that queries tables and writes the records in a dataset with HTML tags. This file will be used to send a report attached with an email. The problem is, if the file created exceeds the mail delivery size, the email delivery fails. Please help me with in emailing the attachment after zipping the file.
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Feb 19, 2010 9:01 pm    Post subject: Reply to: ZIP a file and eMail
Reply with quote

OK, but you haven't given us much detail for what you need help with. My suggestion is to forget about email (that's NOT really a good data exchange protocol, for the reason you already stated) and use some other method.

Edited:

I thought I'd also add that there are plenty of existing topics for just about every aspect of this question: topics on using SMTP, MIME, PKZIP, gzip, tar, infozip, ZIP/390, and others.
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: Fri Feb 19, 2010 9:02 pm    Post subject:
Reply with quote

Hello,

If it is too big, well, it is too big. . . I don't believe we can get around the size limit on your system.

You might consider creating multiple files to "attach" to an e-mail or you might consider sending the data via ftp.
Back to top
View user's profile Send private message
RAJANENI

New User


Joined: 19 Feb 2010
Posts: 2
Location: Chennai

PostPosted: Fri Feb 19, 2010 9:15 pm    Post subject: Reply to: ZIP a file and eMail
Reply with quote

Hi

Thanks for the prompt reply.

The data is already available in our tables. I could prepare the report manually and send it across. We wanted to automate this process. So FTP will not be of any help to me.

The problem is the limitation with the size of all the files attached to the mail. So creating multiple files to attach to the same email will again fail. This is the reason for looking at options of attaching the zipped excel file. Please assist whether this can be accomplished.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Feb 19, 2010 9:27 pm    Post subject:
Reply with quote

Has your site purchased and installed a mainframe ZIP package already? If not, be aware that zip packages are not free on the mainframe and can get pretty expensive -- both in price and in resource consumption.

I also note that you do not say if the limit is your TCP/IP stack limitation on sending or your email client limit or your email server limit -- if the mainframe TCP/IP MAXMAILBYTES parameter needs to be changed, that requires your site support group to change it, recycle TCP/IP (or use OBEYFILE), and then the new limit applies.

You have several options:
1. Change the email size limit and send the files as is
2. Forget sending these large emails
3. Purchase a ZIP package, install it, and use it before sending the email
4. Install SMB to allow the PC to directly pick up the file off the network
5. Transfer the data to Unix System Services and run pax against it, then transfer the pax file
6. Install gzip / gunzip (open source zip) on Unix System Services and use it to zip files before sending them
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: Fri Feb 19, 2010 9:46 pm    Post subject:
Reply with quote

Hello,

Quote:
So creating multiple files to attach to the same email will again fail.
Not if you send multiple e-mails with something less that the limit attached to each. . .

Quote:
So FTP will not be of any help to me.
Sorry, but that makes no sense. . . If you can send the "stuff" as an attachment or in the body of an e-mail and call it "automated", sending the same "stuff" via ftp would also be automated. . .

Possibly, there is something i misunderstand.
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 EMAIL using IEBGENER - SMTP parasmalik20 JCL & VSAM 4 Tue May 23, 2017 12:19 am
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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