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 |
what is SAS ACCESS AND SAS CONNECT ? Give an example and data statements used.
What is the purpose of _error_?
what is the difference between infile and input? : Sas-administrator
How to sort in descending order?
How long can a macro variable be? A token? : sas-macro
create macros---you have 365 number of data and you need to merge it throw the macros,,,,,, data file1; input a @@; cards; 1 2 3 4 ; run; data file2; input a @@; cards; 5 6 7 8 ; run; data file3; input a @@; cards; 9 10 11 12 ; run;data file4; input a @@; cards; 13 14 15 16 ; run;
what is the use of proc sql?
Describe the ways in which you can create macro variables?
what are 5 ways to perform a table lookup in sas? : Sas-administrator
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
what is the basic structure sas administrator? : Sas-administrator
what is syntax of proc merge ?