What statement do you code to write the record to the file?
Answer Posted / 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 |
Post New Answer View All Answers
what is the difference between nodup and nodupkey options? : Sas programming
What was the last computer book you purchased? Why?
Give an example where SAS fails to convert character value to numeric value automatically?
If a variable contains only numbers, can it be a character data type?
What is the difference between input and infile statement?
What is run-group processing?
AE datasets names? how many types?
Differentiate between sas functions and sas procedures.
Explain the purpose of retain statement.
describe the interaction table in sas di? : Sas-di
List out some key concept of SAS
What are the difference between sas functions and procedures?
I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.
Which are the statements whose placement in the data step is critical?
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?