How to import the Zip files into SAS? If it is possible in
SAS? If it is posible write the code...
Answer Posted / sanjay
filename foo pipe '"c:\program files\winzip\wzunzip.exe"
-o -c
c:\sample01584_1_data.zip
testfile.txt';
/* The zip file, sample01584_1_data.zip, is flat file
created */
/* from PROC Export and SASHELP.CLASS.
*/
data test;
/* Use FIRSTOBS= to skip the first 8 records related to
zip */
/* information, and the 9th record which contains a header
*/
/* record of variable names from SASHELP.CLASS.
*/
infile foo firstobs=10 truncover dsd;
input name :$9. sex :$1. age height weight;
run;
proc print;
run;
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What are the features of SAS?
what are the component of range? : Sas-bi
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
explain what is data set in sas? : Sas-administrator
Are you involved in writing the inferential analysis plan? Tables specfications?
What are the ways to do a “table lookup” in sas?
How to specify variables to be processed by the freq procedure?
Name any two sas spawners? : sas-grid-administration
What are the default statistics for means procedure?
Differences between where and if statement?
what is the function of catx syntax? : Sas-administrator
What do you understand by the term Normal Distribution?
what is SAS OPTIMIZATION?
What are types of transport files?
What are the table names in oracle database...?