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
How can you create a macro variable with in data step? : sas-macro
how are numeric and character missing values represented internally? : Sas programming
Describe the function and untility of the most difficult SAS macro that you have written.
describe the interaction table in sas di? : Sas-di
how does sas handle missing values in functions? : Sas programming
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.
what are some differences between proc summary and proc means? : Sas programming
How would you determine the number of missing or nonmissing values in computations?
Explain input and put function?
what is sas database server? : Sas-di
To what type of programms have you used scratch macros?
What are the parameters of scan function?
what is treatment emergent events and treatment emregent adverse event
Tell e how how dealt with..
How do you delete duplicate observations in sas?