20%mp_recursivejoin(base_ds=work.have,outds=work.want,matchval=1
21 ,parentvar=p,childvar=c)
24 select count(*) into: n_pairs from work.want
25 where (p=1 and c=2) or (p=2 and c=3) or (p=2 and c=4) or (p=3 and c=5);
26 select count(*) into: n_deep from work.want where c=5;
31 desc=Checking that every descendant of the parent is returned,
32 outds=work.test_results
37 desc=Checking that the deepest child is reached,
38 outds=work.test_results