What statement do you code to tell SAS that it is to write
to an external file?

Answer Posted / sankar

using export procedure

syntax

in txt file: proc export data=datasetname dbms=dlm
outfile='path';
delimiter='specific delimiter';
run;
in excelfile: proc export data=datasetname dbms=excel200
outfile='path'
sheet='sheetname';
run;

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

694


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

537


What is the basic syntax style in SAS?

610


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1311


how to change the execute of macro

1664






how would you create multiple observations from a single observation? : Sas programming

562


What is the length assigned to the target variable by the scan function?

665


What are common programming errors committed in sas

664


What is the role of unrestrictive users? : sas-grid-administration

567


what type of graphs we will create(for 2+years candidates)?

1896


What is the use of PROC gplot?

629


How to convert a numeric variable to a character variable?

624


what is broad cast agent? : Sas-bi

591


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

599


what is sas application server? : Sas-di

530