12%mp_assertscope(SNAPSHOT)
13%put scope check:%mf_loc(VIYACONFIG);
14%mp_assertscope(COMPARE,
15 desc=Checking that mf_loc does not leak scope,
16 outds=work.test_results
20 iftrue=(%index(%mf_loc(VIYACONFIG),/opt/sas/viya/config)=1),
21 desc=Checking that the Viya configuration path is returned
for VIYACONFIG,
22 outds=work.test_results
26 iftrue=(%index(%mf_loc(POF),SASPlatformObjectFramework)>0),
27 desc=Checking that the platform
object framework is located
for POF,
28 outds=work.test_results
32 iftrue=(%index(%mf_loc(PLATFORMOBJECTFRAMEWORK),SASPlatform)>0),
33 desc=Checking that the
long form of POF is accepted,
34 outds=work.test_results
38 iftrue=(%length(%mf_loc(NOSUCHITEM))=0),
39 desc=Checking that an item the macro cannot locate returns nothing,
40 outds=work.test_results