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 the purpose of _error_? : Sas programming
how does sas handle missing values in assignment statements? : Sas programming
Have you used macros? For what purpose you have used? : sas-macro
What is a method to debug and test your SAS program?
what are the categories that sas informats are used to the place the data? : Sas-administrator
Enlist the functions performed by sas.
How would you identify a macro variable? : sas-macro
what is the function of catx syntax? : Sas-administrator
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?
what techniques and/or procs do you use for tables? : Sas programming
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
What are the scrubbing procedures in sas?
how can you import .csv file in to sas? : Sas programming
Difference between sum function and using “+” operator?
Give e an example of..