The following SAS program is submitted:data allobs;set sasdata.origin (firstobs = 75 obs = 499);run;The SAS data set SASDATA.ORIGIN contains 1000 observations.How many observations does the ALLOBS data set contain?
The following SAS program is submitted:data _null_;set old (keep = prod sales1 sales2);file 'file-specification';put sales1 sales2;run;Which one of the following default delimiters separates the fields in the raw data file created?
The contents of the raw data file TEAM are listed below:--------10-------20-------30Janice 10 -Henri 11 -Michael 11 -Susan 12 -The following SAS program is submitted:data group;infile 'team';input name $15. age 2.;file 'file-specification';put name $15. +5 age 2.;run;Which one of the following describes the output created?
The contents of the SAS data set PERM.JAN_SALES are listed below:VARIABLE NAME TYPE -idnum character variablesales_date numeric date valueA 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?
The following SAS program is submitted:libname temp 'SAS-data-library';data work.new;set temp.jobs;format newdate mmddyy10.;qdate = qtr(newdate);ddate = weekday(newdate);run;proc print data = work.new;run;The variable NEWDATE contains the SAS date value for April 15, 2000.What output is produced if April 15, 2000 falls on a Saturday?
The following SAS program is submitted:data work.report;set work.sales_info;if qtr(sales_date) ge 3;run;The SAS data set WORK.SALES_INFO has one observation for each month in the year 2000 and the variable SALES_DATE which contains a SAS date value for each of the twelve months.How many of the original twelve observations in WORK.SALES_INFO are written to the WORK.REPORT data set?