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 do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
What are the difference between ceil and floor functions in sas?
What is data _null_?
name the scheduler for scheduling job and explain the scheduler? : Sas-di
What are the difficulties u faced while doing vital signs table or dataset?
What are the scrubbing procedures in sas?
Enlist the functions performed by sas.
what do the mod and int function do? What do the pad and dim functions do? : Sas programming
why is a stop statement needed for the point=option on a set statement? : Sas programming
What are the differences between proc means and proc summary?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
what is slowly changing dimension? : Sas-di
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?