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

Answers were Sorted based on User's Feedback



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

Answer / jothi sankar

_NULL_ statemnet.


Eg:

DATA
_NULL_;
SET MYDATA;
FILE '<FILE-LOCATION>';
PUT var1 var2 var3 ... varn;
RUN;

Is This Answer Correct ?    12 Yes 1 No

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

Answer / vemula

file statement

Is This Answer Correct ?    11 Yes 0 No

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

Answer / name is no need

i think sankar is correct

Is This Answer Correct ?    2 Yes 0 No

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

Answer / 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

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

Answer / kranthi arabelly

Folks ...plz see bellow diff instream and External file

1. Data from an external file

DATA statement;
INFILE statement;
INPUT statement;
other SAS statements used in the DATA step
Run;

2. Data in job stream

DATA statement;
INPUT Statement;
other SAS Statements used on the DATA step
CARDS Statement;
data lines
;

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More SAS Interview Questions

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

0 Answers  


Hi im new to sas. I have a file with some charecter variables and some numeric variables now i want to load charecter variables into one datastep and numeric variables into another data step pls let me know Thanks

2 Answers  


How many missing values are available? When might you use them?

1 Answers   Quintiles,


for report generation which one you used proc report or data_null_?

3 Answers   Accenture, Quintiles,


what are some good sas programming practices for processing very large data sets? : Sas programming

0 Answers  






Briefly explain input and put function?

0 Answers  


What SAS statements would you code to read an external raw data file to a DATA step?

10 Answers   NIIT,


Describe a time when you were really stuck on a problem and how you solved it?

0 Answers   Oracle,


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

0 Answers  


Approximately what date is represented by the SAS date value of 730?

0 Answers  


Hi Jeevan/Akshara I have tried to contact SASI Vats for latest Advanced SAS Programming Certification Dumps (A00-212) but have not got any response. I would highly and gratefully appreciate your assistance in this regard. If you guys have access to this, would you be kind enough to forward it to me ? I would abide by all the terms you have for this. Please, note my email id: upretigopi@yahoo.com Preti Sharma

0 Answers  


What do you feel about hardcoding?

3 Answers   Pfizer,


Categories