What statement do you code to tell SAS that it is to write
to an external file? 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 tell SAS that it is to write to an external file? What statement do y..

Answer / kishan

1. file and put statements
2. Export Procedure
3. ODS also write the data to an external file

Is This Answer Correct ?    9 Yes 0 No

What statement do you code to tell SAS that it is to write to an external file? What statement do y..

Answer / rishie

By using File and PUT statement you can write into an
external file

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More SAS Interview Questions

calculate the sum of value using only DATA STEP. data count_; input year name $ value; cards; 2006 xxx 10 2007 yyy 12 2006 xxx 20 2008 yyy 15 2007 xxx 15 ; out put should be like this year name T_value ----------------------- 2006 xxx 30 2007 xxx 15 2007 yyy 12 2008 xxx 15

6 Answers  


what r the job openings SAS for fresher graduates !

0 Answers   TetraSoft, Wipro,


Dear all, proc means data=dsn noprint completetypes; class trtmntgroup /preloadfmt; output out=tot n=n; format trtmntgroup trtf. ; by vstgrp descending severity; run; This is the code I used for AE table. I got the values without giving the variable ‘trtmntgroup(numeric)’ in var statement. And if I give the var statement for that variable i’m getting the same values.How is that possible? What is the difference between class and var statement? Could any one explain me how does proc means work at the back end. And what is the difference between _freq_ value and N value in proc means. Thanks and regards, Rajesh.

1 Answers  


What are the efficacy variables in your study?

2 Answers   Accenture, Quintiles,


Can you calculate the mean, median and mode of the following data set using data step logic? Don't use any function or procedure. data a; input age @@; datalines; 22 32 32 32 43 23 24 56 45 54 28 29 27 26 25 28 30 20 18 37 36 47 46 56 19 20 ; run; I have calculated the mean which i have posted in the answer section.

6 Answers   HSBC,


what is the effect of the options statement errors=1? : Sas programming

0 Answers  


is there any difference between proc summary and proc means?

3 Answers  


How would you keep from overlaying the a SAS set with its sorted version?

4 Answers  


What are the statements in proc sql?

0 Answers  


What is connection profile? : sas-grid-administration

0 Answers  


what is the Population you used in your project, is it ITT or PP?

0 Answers   Accenture, Quintiles,


Name validation tools used in SAS

0 Answers  


Categories