BookmarkSubscribeRSS Feed
SanjayM
Calcite | Level 5
How to zip a file through SAS.
Platform us AIX
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
I don't know how to do it on AIX, but this syntax (using the X command) did work for me to create a ZIP file using WINZIP command syntax (the list of files to include in the zip archive are in the zipfiles.txt file and test.zip is the name of the zip file I'm creating):
[pre]
x 'c:\progra~1\winzip\winzip32.exe -min -a -p c:\test.zip @c:\temp\zipfiles.txt';
[/pre]

There are also some forum postings and Tech support notes that might help:
http://support.sas.com/forums/thread.jspa?messageID=1064Ш
http://support.sas.com/kb/23/637.html

In addition, if you are working within the context of the SAS Enterprise Intelligence platform, you can make a stored process return "permanent package" results and you can write those results EITHER to a webDAV repository OR to the server file system. Here's a forum posting about permanent packages:
http://support.sas.com/forums/thread.jspa?messageID=7911ủ

In addition, one of the new features of ODS in 9.2 will be the ability to create SAS package files using ODS PACKAGE capability:
http://support.sas.com/rnd/base/ods/odspackages/index.html

If you need more help figuring out how to zip, tar or make packages, Tech Support would be the place to go. They have Unix/AIX systems that they can use to help with operating system syntax.

cynthia

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 679 views
  • 0 likes
  • 2 in conversation