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 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?

1161


What are the difference between ceil and floor functions in sas?

704


What is data _null_?

693


name the scheduler for scheduling job and explain the scheduler? : Sas-di

592


What are the difficulties u faced while doing vital signs table or dataset?

1931






What are the scrubbing procedures in sas?

571


Enlist the functions performed by sas.

674


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

612


why is a stop statement needed for the point=option on a set statement? : Sas programming

583


What are the differences between proc means and proc summary?

599


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

605


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

598


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

541


what is slowly changing dimension? : Sas-di

620


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

1578