What statement do you code to write the record to the file?
Answers were Sorted based on User's Feedback
Answer / g.jyotshna
file 'path';
put _all_;
run;
this is for all variables to write into the file.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / jothi sankar
FILE '<location-of-file-to-be-written>';
and
PUT var1 var2 var3 .... varn;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / cindy
data _Null_;
set ;
file "c:\location of file to be written.file format eg
(txt)";
put _all_; or var1, var2;
| Is This Answer Correct ? | 0 Yes | 0 No |
Tell e how how dealt with..
Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables?
What do the PUT and INPUT functions do?
How to Rename Library?
Name statements that are recognized at compile time only?
What is difference between rename and lable in sas?
how to handle in stream data containing semicolon in it?
· What are some good SAS programming practices for processing very large data sets?
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
in ods is there any lib's
What is the difference between %local and %global? : sas-macro
What are the limitations for memory allocation for SAS variables