If they are all SAS files, then you can do it with proc datasets.
Take a look at:
or, in short form: http://xrl.us/bgki3w
On Dec 16, 10:00 pm, JoeGon <alexsen...@yahoo.com> wrote:
> Hi Guys,
> I have been searching the SAS code for that and saw your group
> discussion regarding the SAS. Could I approach your guys for the
> solution. I have many uncompressed datasets (with different name)
> stored in a folder, can I just loop throught the folder and pass all
> the datasets to SAS to compress them without specifying the name of
> each dataset in the folder.
> Hope to hear from your guys.
> thanx & rgrds