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 the function and untility of the most difficult SAS macro that you have written.

2069


Explain by-group processing?

960


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

1183


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

1029


How can you limit the variables written to output dataset in data step?

1270


explain about sas business intelligence? : Sas-bi

1092


What are the different versions of sas that you have used until now? : sas-grid-administration

1302


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

1258


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

979


how do you test for missing values? : Sas programming

1020


Difference between informat and format?

1051


Give some examples where proc report’s defaults are same as proc print’s defaults?

1074


Difference between SAS STATA & SPSS?

1082


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?

1639


where to use sas business intelligence? : Sas-bi

1028