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
Give e an example of..
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
List down the reasons for choosing sas over other data analytics tools.
Explain the purpose of retain statement.
What are the new features included in the new version of SAS Programming Language?
how do you test for missing values? : Sas programming
Which function is used to count the number of intervals between two sas dates?
Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks
How to specify variables to be processed by the freq procedure?
what do the pad and dim functions do? : Sas programming
Difference between sum function and using “+” operator?
which date function advances a date, time or datetime value by a given interval? : Sas programming
What is the difference between %local and %global? : sas-macro
What is the work of tranwrd function?
What is your favorite all time computer book? Why?