Question 16: You have been given below SAS dataset named work.hadoopexam Now you need to write this dataset to a raw file on UNIX platform, how can you do that?

 

  1.          data _null_;

 set work.hadoopexam;

 file "/folders/myfolders/hedata/filtered.dat";

 put COURSE_ID COURSE_NAME LOCATION$ FEE DATE ;

 run;

  1.  Get all Questions and Answer from here
  2. You need to have paid subscription to access all questions
  3. Thanks for considering SAS Certification Material

 Correct Answer : 4 Exp : Creating a raw file using SAS RAW DATASET is given below.

 _NULL_: It means you are avoiding to create a new SAS dataset. We just want to create a new data file.

 PUT: It will help you select columns from the existing source dataset in this case work.course2017.

You can access to full explanation to question and answer from this page.