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
 

 

HELP with PKZIP/EMAIL attachments

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

New User


Joined: 18 Mar 2006
Posts: 22

PostPosted: Sun Jul 16, 2006 8:35 am    Post subject: HELP with PKZIP/EMAIL attachments
Reply with quote

I'm using z/os pkzip to zip a file on the mainframe. Then I'm creating an email msg with it as an attachment, its a batch job going thru smtp server.
The email gets to my mailbox ok but when try to unzip attachment get the following: Cannot Open File: It does not appear to be valid archive.
If I take zipped file and send it to another server, unzips fine. Its just when I use to as an attachment its corrupt I guess.
Here the html part of my email:
--SIMPLE BOUNDARY
CONTENT-DISPOSITION:ATTACHMENT;FILENAME="COS960.zip"

data

--SIMPLE BOUNDARY--

Any ideas?
Back to top
View user's profile Send private message

raghunathns

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Tue Aug 29, 2006 4:14 am    Post subject: Re: HELP with PKZIP/EMAIL attachments
Reply with quote

try this format...

%XMITIP (a@a.COM) -
SUBJECT 'test' -
CC (B@b.COM) -
FROM c@c.COM -
MSGDS 'userid.msg' -
FILE 'user.file1.data' -
FILENAME a.ZIP -
FORMAT ZIP/a.txt
Back to top
View user's profile Send private message
kulreshma

New User


Joined: 11 May 2007
Posts: 4
Location: Mumbai

PostPosted: Tue May 15, 2007 4:50 pm    Post subject:
Reply with quote

Please help me in zipping the file on mainframe, i dont knw how to do it.
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Tue May 15, 2007 5:22 pm    Post subject: Re: HELP with PKZIP/EMAIL attachments
Reply with quote

Have you reviewed any of the previous topics related to PKZIP?

http://ibmmainframes.com/viewtopic.php?t=20016
http://ibmmainframes.com/viewtopic.php?t=17773
http://ibmmainframes.com/viewtopic.php?t=2857
Back to top
View user's profile Send private message
paray2x

New User


Joined: 28 Dec 2005
Posts: 21

PostPosted: Fri May 18, 2007 4:36 pm    Post subject:
Reply with quote

Hi,

You can download the PKZIP user guide for free from here

www.pkware.com/documents/manuals/pkzu-v5r6000.pdf
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 Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts How to send email with Rich Text usin... santhosh5983 JCL & VSAM 4 Fri Apr 08, 2016 2:30 am
No new posts Email trigger through JCL Madhusudhan Prahlad JCL & VSAM 10 Mon Aug 31, 2015 3:43 pm
No new posts Dot "." missing from email ... Harsh Pawar JCL & VSAM 3 Thu Apr 30, 2015 4:13 pm


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