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 |
how to get second highest salary from a employee table and how get a 5th highest salary from a employee table?
Are you familiar with special input delimiters? How are they used?
If you’re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?
what are the categories that sas informats are used to the place the data? : Sas-administrator
Hi, If anyone has base SAS certification dumps, please share.
Hot to suppress characters from a given string?
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
Intern stastical programmer written test
How do you use the do loop if you don’t know how many times you should execute the do loop?
At compile time when a SAS data set is read, what items are created?
How do you write a test plan?
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set?