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 / paul

to read zip files SAS has special keyword i.e., SASZIPAM
eg:
FILENAME myzipfile SASZIPAM 'd:\filelocation\6100Txn.zip';
data _null_;
infile myzipfile(sales_JAN);
input;
put _infile_;
run;
/*here iam extracting sales_JAN file from 6100Txn.zip file
since we don't know the file structure put everything to log.
to see the file names in zip, physically access the zip file
without extracting the file contents. */

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what can you learn from the sas log when debugging? : Sas programming

1082


What are the new features included in the new version of SAS Programming Language?

1204


explain the key concept of sas? : Sas-administrator

985


what is metadata? : Sas-bi

1026


how sas deals with business intelligence? : Sas-bi

1051


What is the use of %include statement?

1051


What are the data types does SAS contain?

1103


What is the difference between reading data from an external file and reading data from an existing data set?

1168


what is transformation in sas data integration? : Sas-di

1023


What does the trace option do?

1101


What do you know about sas and what we do? : sas-grid-administration

1135


What is the difference between the proc sql and data step?

1169


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

986


What do the mod and int function do? : Sas programming

1210


what is operational data and operational system? : Sas-di

1102