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

State the difference between INFORMAT and FORMAT ?

591


explain the main difference between the nodup and nodupkey options? : Sas-administrator

684


Describe the function and utility of the most difficult SAS macro that you have written?

2021


What is the basic structure of the SAS base program?

684


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

646






what are 5 ways to perform a table lookup in sas? : Sas-administrator

759


What is the difference between SAS functions and procedures?

653


Difference between nodup and nodupkey options?

628


What is a pdv and what are its functions?

598


i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;

1963


explain the function of substr in sas? : Sas-administrator

550


what is the difference between floor and ceil functions in sas? : Sas-administrator

698


what is proc Index? and what is proc document?

1992


Explain append procedure?

630


explain the concepts and capabilities of business object? : Sas-bi

538