SAS_Institute
A00-201 · Question #51
A00-201 Question #51: Real Exam Question with Answer & Explanation
Sign in or unlock A00-201 to reveal the answer and full explanation for question #51. The question stem and answer options stay visible for context.
Question
The contents of the SAS data set PERM.JAN_SALES are listed below: VARIABLE NAME TYPE idnum character variable sales_date numeric date value A comma delimited raw data file needs to be created from the PERM.JAN_SALES data set. The SALES_DATE values need to be in a MMDDYY10 form. Which one of the following SAS DATA steps correctly creates this raw data file?
Options
- Alibname perm 'SAS-data-library'; data null; set perm.jan_sales; file 'file-specification' dsd = ''; put idnum sales_date : mmddyy10.; run;
- Blibname perm 'SAS-data-library'; data null; set perm.jan_sales; file 'file-specification' dlm = ''; put idnum sales_date : mmddyy10.; run;
- Clibname perm 'SAS-data-library'; data null; set perm.jan_sales; file 'file-specification'; put idnum sales_date : mmddyy10. dlm = ''; run;
- Dlibname perm 'SAS-data-library'; data null; set perm.jan_sales; file 'file-specification'; put idnum sales_date : mmddyy10. dsd = ''; put idnum sales_date : mmddyy10. dsd = ''; run;
Unlock A00-201 to see the answer
You've previewed enough free A00-201 questions. Unlock A00-201 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.