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
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 |
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 |
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 |
What are the scrubbing procedures in sas?
what is business intelligence? : Sas-bi
how do u validate the program which u have written.
what is the difference between proc report and proc format?
Mention how to limit decimal places for the variable using proc means?
Tell e how how dealt with..
"What is the difference between proc sort nodup and proc sort nodupkey?"
what is the usage for assigning error=1 in a dataset ?
What is Tabulate.?Why we use it.? Which type of output we get from Tabulate.?
Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables.
what is change analysis in sas di ? : Sas-di
explain the key concept of sas? : Sas-administrator