Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Describe a time when you were really stuck on a problem and how you solved it?

2632


what are sas bi dashboard components? : Sas-bi

1165


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

1055


What are the parameters of scan function?

1166


What are the 3 components in sas programming?

1190


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

2174


What is the difference between nodupkey and nodup options?

1032


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

1191


What is the command used to find missing values?

1093


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

1008


what is treatment emergent events and treatment emregent adverse event

2392


how does sas handle missing values in procs? : Sas programming

1239


Describe the function and untility of the most difficult SAS macro that you have written.

2093


how can you create zero observation dataset? : Sas programming

1139


What are the data types in sas?

1052