18%let fname=%mf_getuniquename();
21 put
"data &fname;run;";
23%ms_createfile(/sasjs/tests/&fname..sas
28%ms_getfile(/sasjs/tests/&fname..sas,outref=testref)
34 call symputx(
'test1',_infile_);
38 iftrue=(
"&test1"=
"data &fname;run;"),
39 desc=Make sure the file was created,
40 outds=work.test_results
43%mp_assertscope(SNAPSHOT)
44%ms_deletefile(/sasjs/tests/&fname..sas,mdebug=1)
45%mp_assertscope(COMPARE)
47%ms_getfile(/sasjs/tests/&fname..sas,outref=testref2)
53 call symputx(
'test2',_infile_);
57 iftrue=(
"&test2"=
"File doesn't exist."),
58 desc=Make sure the file was deleted,
59 outds=work.test_results