Zip problems
Every year, we FTP some files from the mainframe to an ASCII Unix server where the zip software is Gzip.The feds though want to pick up these files in either WinZip or PKZip format (in ASCII), so we FTP the files to a PC, zip them by hand, then put them back on the server. Last year the Unix gurus spent quite a bit of time trying to create a file they could unzip, but failed. What would be the best way to zip these files for the feds? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Zip problems
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Howard Brazee Sent: Friday, November 03, 2006 11:51 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Zip problems Every year, we FTP some files from the mainframe to an ASCII Unix server where the zip software is Gzip.The feds though want to pick up these files in either WinZip or PKZip format (in ASCII), so we FTP the files to a PC, zip them by hand, then put them back on the server. Last year the Unix gurus spent quite a bit of time trying to create a file they could unzip, but failed. What would be the best way to zip these files for the feds? InfoZIP? http://www.info-zip.org/ -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Zip problems
Why not just install gzip on z/OS? There's a USS version available. Tim Hare Senior Systems Programmer Florida Department of Transportation (850) 414-4209 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Zip problems
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hare Sent: Friday, November 03, 2006 1:42 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Zip problems Why not just install gzip on z/OS? There's a USS version available. Tim Hare gzip is not zip. they are different beasties and not interchangable. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Zip problems
On 3 Nov 2006 11:42:30 -0800, in bit.listserv.ibm-main you wrote: Why not just install gzip on z/OS? There's a USS version available. The feds don't want ASCII WinZIP or PKZIP format, they can't read gzip format. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Zip problems
I'm not quite sure about the direction of this thread, but if you have java installed on the mainframe, you can use jar to zip up your files. jar files are the same type along the lines of desktop winzip stuff. Yes, the terminology is confusing. A lot of the flags are the same as for tar. So, if you have a jar file (whatever.jar), you could rename it to whatever.zip (and vice versa). Interchangeable. So, on the mainframe (in OMVS), to create a zip file: jar -cf resultant_zip_file target_dir_or_file jar -cf new.zip /usr/lpp/internet to unzip it: jar -xf zip_file jar -cf new.zip to list contents of zip file: jar -tf zip_file jar -tf new.zip Aaron -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Zip problems
In a recent note, Howard Brazee said: Date: Fri, 3 Nov 2006 10:51:19 -0700 Every year, we FTP some files from the mainframe to an ASCII Unix server where the zip software is Gzip.The feds though want to pick up these files in either WinZip or PKZip format (in ASCII), so we FTP the files to a PC, zip them by hand, then put them back on the server. Last year the Unix gurus spent quite a bit of time trying to create a file they could unzip, but failed. Sigh. But they probably have wives and kids they need to support. What would be the best way to zip these files for the feds? A way (best is subject to discussion) is use /bin/cp to copy them to an HFS directory structure conformant with the recipients' requirements; /bin/pax to convert to ASCII, info-zip to zip, then FTP to server. Only the last step need go off the mainframe. -- gil -- StorageTek INFORMATION made POWERFUL -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Zip problems
What would be the best way to zip these files for the feds? I've got a project just like that. IRS FIRE System. Sound familiar ??? What I'm thinking about now is NFS the zServer file so I can get at it from a Windows box and ZIP it from there. I just dreamt this up yesterday though, so I'm not quite sure if it will work yet. Interesting thing the IRS built. Has to be manned by a user. Can't just FTP them the data. Do you suppose they want a real person to hunt down in case the information is wrong ??? Does anyone have a WinZIP BAT file ??? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Zip problems
On 3 Nov 2006 12:41:38 -0800, [EMAIL PROTECTED] (Paul Gilmartin) wrote: A way (best is subject to discussion) is use /bin/cp to copy them to an HFS directory structure conformant with the recipients' requirements; /bin/pax to convert to ASCII, info-zip to zip, then FTP to server. Only the last step need go off the mainframe. That would work nicely - I will talk with my Systems programmer to find out if we have those tools. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Zip problems
Howard, We use infozip for this kind of thing. It will convert the data to ascii and write out a fixed length dataset. We then ftp using binary (image) mode to whereever. The install file is xmit format. I just ftp'ed it to my system, did a receive and away we went. Regards, John -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html