12%mp_setkeyvalue(numkey,42,type=N)
13%mp_setkeyvalue(charkey,a value)
14%mp_setkeyvalue(charkey,another value)
17 select count(*) into: n_rows from work.mp_setkeyvalue;
18 select count(*) into: n_num from work.mp_setkeyvalue where key='numkey';
23 desc=Checking that setting the same key twice leaves a single row,
24 outds=work.test_results
28 iftrue=(%mf_getkeyvalue(numkey)=42),
29 desc=Checking that a numeric value round trips,
30 outds=work.test_results
35%let charval=%sysfunc(strip(%mf_getkeyvalue(charkey)));
39 charval=
"%superq(charval)";
41 if charval='another value' then ok=1;
45 select ok into: kv_ok from work.kv_check;
50 desc=Checking that the second value for a key replaces the first,
51 outds=work.test_results