How to import the Zip files into SAS? If it is possible in
SAS? If it is posible write the code...
Answer Posted / paul
to read zip files SAS has special keyword i.e., SASZIPAM
eg:
FILENAME myzipfile SASZIPAM 'd:\filelocation\6100Txn.zip';
data _null_;
infile myzipfile(sales_JAN);
input;
put _infile_;
run;
/*here iam extracting sales_JAN file from 6100Txn.zip file
since we don't know the file structure put everything to log.
to see the file names in zip, physically access the zip file
without extracting the file contents. */
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the good sas programming practices for processing large data sets?
what are validation tools that are used in sas? : Sas-administrator
Hi, If anyone has base SAS certification dumps, please share.
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
Explain the difference between using drop = data set option in set and data statement?
Describe crosslist option in tables statement?
Are you sensitive to code walk-throughs peer review or QC review?
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
how does sas handle missing values in assignment statements? : Sas programming
what techniques and/or procs do you use for tables? : Sas programming
What is a method to debug and test your SAS program?
How to read an input file in sas?
what is change analysis in sas di ? : Sas-di
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
What is the role of unrestrictive users? : sas-grid-administration