Exam4Training

Which CASL program will create the sample2 table in the casuser caslib?

Which CASL program will create the sample2 table in the casuser caslib?
A . proc cas;
datastep.runCode result=r/
code="
data casuser.sample2;
set casuser.class;
by age;
if first.age then y=age;
run;
";
quit;

B . proc cas;
datastep.runCode result=r/
code="
data casuser.sample2;
set casuser.class(firstobs=3);
run;
";
quit;
C . proc cas;
datastep.runCode result=r/
code="
data casuser.sample1;
set casuser.class;
y=1;
run;
data casuser.sample2;
set casuser.class;
y=2;
run;
";
quit;
D . proc cas;
datastep.runCode result=r/
code="
data casuser.sample2;
set casuser.class;
y=ranuni(123)*100;
run;
";
run;

Answer: A

Latest A00-420 Dumps Valid Version with 250 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version