October 2019
Intermediate to advanced
430 pages
19h 4m
English
data work.success work.fail; /*1*/ drop rc; length CtName $30; /*2*/ if _N_=1 then do; /*3*/ call missing (CtName); declare hash C(dataset:'certadv.continent'); /*4*/ c.definekey('ID'); /*5*/ c.definedata('CtName'); /*6*/ c.definedone(); /*7*/ end; set certadv.airports; /*8*/ rc=c.find(); /*9*/ if rc=0 then output work.success; /*10*/ else output work.fail; run; proc print data=work.success; /*11* run; proc print data=work.fail; run;
| 1 | The DATA step creates two temporary SAS data sets named Work.Success and Work.Fail ... |