Please have look at the documentation of the filename statement and/or use the search-function. Dealing with zip-files has already been discussed in full-detail.
Is it an actual SAS data set (extension sas7bdat) in the zip file?
Otherwise, as mentioned, this question has been answered many times. Please expose a specific problem if you have one.
Yes , it is a zipped sas dataset
I can't think of a way to use a sas data set without first extracting it from the zip file. Which you can do using SAS of course:
filename IN zip 'C:\temp\data.zip' member='mydata.sas7bdat' recfm=n;
filename OUT "%sysfunc(pathname(work))/mydata.sas7bdat" recfm=n;
data _null_;
RC=fcopy('IN','OUT');
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.