The SAS data set ONE has a variable X on which an index has been created. The data sets ONE and THREE are sorted by X. Which one of the following SAS programs uses the index to select observations from the data set ONE?
Answer(s): A
Given the following SAS data set ONE:ONEREP AREA COSTSMITH NORTH 100SMITH SOUTH 200JONES EAST 100SMITH NORTH 300JONES WEST 100JONES NORTH 200JONES NORTH 400SMITH NORTH 400JONES WEST 100JONES WEST 300The following SAS program is submitted:proc sql;select rep, area, count(*) as TOTALfrom onegroup by rep, area;quit;Which one of the following reports is generated?
Answer(s): C,D
Which one of the following SAS procedures changes a permanent format of a variable stored in a SAS data set?
Answer(s): D
Given the following SAS data set SASUSER.HIGHWAY:SASUSER.HIGHWAYSTEERING SEATBELT SPEED STATUS COUNTabsent no 0-29 serious 31absent no 0-29 not 1419absent no 30-49 serious 191absent no 30-49 not 2004absent no 50+ serious 216The following SAS program is submitted:%macro highway;proc sql noprint;select count(distinct status)into :numgrpfrom sasuser.highway;%let numgrp = &numgrp;select distinct statusinto :group1-:group&numgrpfrom sasuser.highway;quit;%do i = 1 %to &numgrp;proc print data = sasuser.highway;where status = "&&group&i" ;run;%end;%mend;%highwayHow many reports are produced by the above program?
Answer(s): C
Text is sent to the SAS compiler as a result of macro execution. Which one of the following SAS system options writes that text to the log?
Post your Comments and Discuss SAS Institute A00-212 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the A00-212 content, but please register or login to continue.