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

How can you create a macro variable with in data step? : sas-macro

578


how are numeric and character missing values represented internally? : Sas programming

622


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

1731


describe the interaction table in sas di? : Sas-di

597


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

605






I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.

1700


what are some differences between proc summary and proc means? : Sas programming

511


How would you determine the number of missing or nonmissing values in computations?

652


Explain input and put function?

649


what is sas database server? : Sas-di

619


To what type of programms have you used scratch macros?

2148


What are the parameters of scan function?

625


what is treatment emergent events and treatment emregent adverse event

1949


Tell e how how dealt with..

1775


How do you delete duplicate observations in sas?

581