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
Mention what is PROC in SAS?
What is slibref?
what are informats in sas? : Sas-administrator
what do you mean by data staging area? : Sas-di
What are the table names in oracle database...?
what is data integration? : Sas-di
What is the function of Stop statement in a SAS Program?
What is the difference between class statement and by statement in proc means?
What is substr function?
Given an unsorted data set, how to read the last observation to a new data set?
what is metadata? : Sas-bi
For what purposes have you used sas macros? : sas-macro
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro
how would you determine the number of missing or nonmissing values in computations? : Sas programming
What is the use of PROC gplot?