07-22-2014 05:30 AM
I need to zip few flat files, save them in mainframe and send the zipped file as an attachment via mail. Right now, SAS ODS Package feature enables zipping files (supported on a windows environment) but, I couldn't find any links for how it can be implemented on a mainframe. I do not have PKZIP installed in my shop to zip the files. So, searching for an other alternative.
Can someone please help me out in case there any options available?
07-22-2014 06:10 AM
What OS is your mainframe running? If it is Windows then the ods package should run fine, so you submit your SAS program to the mainframe for processing and there is does the packaging.
There are various alternatives to WinZip these are 7Zip, WinRAR, plus many others - a Google will throw up many options there.
07-22-2014 07:46 AM
When you are mentioning JCL it is the IBM mainframe z/OS you are talking about.
Using ODS should still be a workable approach for Zip. Using 9.4 you are getting the zip file access.
Running java is also offering some zip functionality. Ear/War files are zipped files. Java is getting part with SAS on all machines. jar-The Java Archive Tool (Oracle) '
For the IBM environment it is they doing the delivery of java not Oracle see: IBM z/OS: Tools - Java: Hints and tips
07-22-2014 07:50 AM
It works probably easier to do zipping in a Windows or Linux machine having zip utilities available. Then upload the results.
When the only accessible machine is a IBM mainframe you have not other choice