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
Describe the function and untility of the most difficult SAS macro that you have written.
Explain by-group processing?
how does sas handle missing values in procs? : Sas programming
What is the function of output statement in a SAS Program?
How can you limit the variables written to output dataset in data step?
explain about sas business intelligence? : Sas-bi
What are the different versions of sas that you have used until now? : sas-grid-administration
I have a dataset concat having a variable a b & c. How to rename a b to e & f?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
how do you test for missing values? : Sas programming
Difference between informat and format?
Give some examples where proc report’s defaults are same as proc print’s defaults?
Difference between SAS STATA & SPSS?
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
where to use sas business intelligence? : Sas-bi