17%mp_assertcols(sashelp.class,
20 desc=Checking ALL is satisfied when every column exists
23%mp_assertcols(sashelp.class,
26 desc=Checking ANY is satisfied when some of the columns exist
29%mp_assertcols(sashelp.class,
32 desc=Checking ANY is satisfied when every column exists
35%mp_assertcols(sashelp.class,
36 cols=notacol othercol,
38 desc=Checking NONE is satisfied when no column exists
42%mp_assertcols(sashelp.class,
43 cols=name age notacol,
45 desc=Checking ALL is unsatisfied when a column is missing,
46 outds=work.neg_results
49%mp_assertcols(sashelp.class,
50 cols=notacol othercol,
52 desc=Checking ANY is unsatisfied when no column exists,
53 outds=work.neg_results
56%mp_assertcols(sashelp.class,
59 desc=Checking NONE is unsatisfied when a column exists,
60 outds=work.neg_results
64 select count(*) into: pos_fail from work.test_results
65 where test_result ne 'PASS';
66 select count(*) into: neg_pass from work.neg_results
67 where test_result ne 'FAIL';
70%mp_assert(iftrue=(&pos_fail=0),
71 desc=Checking the satisfied conditions all recorded PASS)
73%mp_assert(iftrue=(&neg_pass=0),
74 desc=Checking the unsatisfied conditions all recorded FAIL)