mycsg.in
SAS
SASnR
Clinical Programming
CRFs
SDTM
ADaM
TFL
Tasks
Macros
Quizzes
Resources
Disclaimer
Contact Us
Search lessons
Close
×
Search lessons
⚲
Search
Area
All areas
Clear filters
Type at least 3 characters to see matching lessons.
Advertisement
1 / 10
Set - 001 - Part 06
Question 1 of 10
The contents of the SAS data set PERM.JAN_SALES are listed below:;
A
comma delimited raw data tile needs to be created from the PERM.JAN_SALES data
set.
VARIABLE NAME TYPE
idnum character variable
sales_date numeric date value
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?
libname perm
'SAS-data-library'
;
data
_null_
;
set
perm.jan_sales;
file
'file-specification'
dsd
=
','
;
put
idnum sales_date:
mmddyy10.
;
run
;
libname perm
'SAS-data-library'
;
data
_null_
;
set
perm.jan_sales;
file
'file-specification'
dIm =
','
;
put
idnum sales_date :
mmddyy10.
;
run
;
libname perm
'SAS-data-library'
;
data
_null_
;
set
perm.jan_sales;
file
'file-specification'
;
put
idnum sales_date : mmddyq10.dIm =
','
;
run
;
libname perm
'SAS-data-library'
;
data
_null_
;
set
perm jan_sales;
file
'file-specification'
;
put
idnum sales_date:
mmddyy10.
dsd =
','
;
put
idnum sales_date:
mmddw10.
dsd =
','
;
run
;
Saving progress…
My progress
⚑
Something not right with this question?
Report it
Advertisement
Report this question
×
Quiz:
Loading the question…
Question
What's the issue?
The marked correct answer is wrong
Question is unclear / insufficient information
Pick the correct answer
marked correct
Describe the issue
(optional)