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 can you learn from the sas log when debugging? : Sas programming
What are the new features included in the new version of SAS Programming Language?
explain the key concept of sas? : Sas-administrator
what is metadata? : Sas-bi
how sas deals with business intelligence? : Sas-bi
What is the use of %include statement?
What are the data types does SAS contain?
What is the difference between reading data from an external file and reading data from an existing data set?
what is transformation in sas data integration? : Sas-di
What does the trace option do?
What do you know about sas and what we do? : sas-grid-administration
What is the difference between the proc sql and data step?
what are sas/access and sas/connect? : Sas programming
What do the mod and int function do? : Sas programming
what is operational data and operational system? : Sas-di