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 is data access? : Sas-di
To what type of programms have you used scratch macros?
What would you change about your job?
why a stop statement is needed for the point= option on a set statement?
what are sas/access and sas/connect? : Sas programming
Explain the special input delimiters used in sas programming.
Explain proc sort?
what are the best practices to process the large data sets in sas programming? : Sas-administrator
explain about various caches available in data integrator? : Sas-di
what is sas metadata server? : Sas-di
What is the function of Stop statement in a SAS Program?
If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?
what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi
Explain substr function?
What are the 3 components in sas programming?