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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 692 views
  • 0 likes
  • 2 in conversation