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

what is data access? : Sas-di

1079


To what type of programms have you used scratch macros?

2526


What would you change about your job?

2332


why a stop statement is needed for the point= option on a set statement?

998


what are sas/access and sas/connect? : Sas programming

941


Explain the special input delimiters used in sas programming.

956


Explain proc sort?

1028


what are the best practices to process the large data sets in sas programming? : Sas-administrator

960


explain about various caches available in data integrator? : Sas-di

993


what is sas metadata server? : Sas-di

1047


What is the function of Stop statement in a SAS Program?

1089


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?

1108


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

966


Explain substr function?

1030


What are the 3 components in sas programming?

1150