Emailing huge text file as a ZIP file
Posted: Thu Nov 26, 2009 2:31 pm
I have a JCL that sends a text file as an attachment in an email. However the size of this file is huge and I am able to email only 2MB of data. Remaining rows are getting deleted by SMTP.
I tried using zip but I was unable to unzip the attachment.
While unzipping it gives following error: "Cannot open file: it does not appear to be a valid archive"
Can anyone provide right JCL syntax to zip this file before attaching? So that users can unzip this file without headache.
Your help in this regard is highly appreciated.
I tried using zip but I was unable to unzip the attachment.
While unzipping it gives following error: "Cannot open file: it does not appear to be a valid archive"
Can anyone provide right JCL syntax to zip this file before attaching? So that users can unzip this file without headache.
Your help in this regard is highly appreciated.