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 are informats in sas? : Sas-administrator

1095


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?

1165


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

1799


What is the sas data set? : sas-grid-administration

985


Explain the difference between informat and format with an example.

1173


Which command is used to save logs in the external file?

1102


Mention what are the data types does SAS contain?

1153


what is sas and what are the functions? : Sas-administrator

992


What are the ways in which macro variables can be created in sas programming?

1110


Explain how merging helps to combine data sets.

1056


How do dates work in SAS data?

1182


What function CATX syntax does?

1225


Are you involved in writing the inferential analysis plan? Tables specifications?

3963


what are the categories that sas informats are used to the place the data? : Sas-administrator

1053


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

1067