What statement do you code to write the record to the file?

Answers were Sorted based on User's Feedback



What statement do you code to write the record to the file?..

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

What statement do you code to write the record to the file?..

Answer / jothi sankar

FILE '<location-of-file-to-be-written>';

and

PUT var1 var2 var3 .... varn;

Is This Answer Correct ?    0 Yes 0 No

What statement do you code to write the record to the file?..

Answer / bhargavi

BY using data _null_

Is This Answer Correct ?    0 Yes 0 No

What statement do you code to write the record to the file?..

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 statement do you code to write the record to the file?..

Answer / ganesh k

using FILENAME statement

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SAS Interview Questions

how sas deals with business intelligence? : Sas-bi

0 Answers  


how to assign a macro value to a variable?

8 Answers   CitiGroup,


How you can read the variables that you need?

0 Answers  


Describe the ways in which you can create a macro variable?

0 Answers  


Mention what is the difference between nodupkey and nodup options?

0 Answers  






what is the difference between the SAS v8 and SAS v9?

7 Answers   TCS,


Explain the message 'Merge has one or more datasets with repeats of by variables'.

5 Answers  


how do you pull data from equifax?tell me the process?

0 Answers   Synchrony Financial,


how to display duplicated observations in a data using base sas.

13 Answers   HCL, TCS,


Name and describe few sas character functions that are used for data cleaning in brief.

0 Answers  


how to delete the duplicate columns permanently in SQL

2 Answers   Satyam,


What are the ways in which macro variables can be created in sas programming?

0 Answers  


Categories