17%let fname=%mf_getuniquename();
20 put
"data &fname;run;";
22%ms_createfile(/sasjs/tests/&fname..sas
27%ms_getfile(/sasjs/tests/&fname..sas,outref=testref)
33 call symputx(
'test1',_infile_);
37 iftrue=(
"&test1"=
"data &fname;run;"),
38 desc=Make sure the file was created,
39 outds=work.test_results
42%mp_assertscope(SNAPSHOT)
43%ms_deletefile(/sasjs/tests/&fname..sas,mdebug=1)
44%mp_assertscope(COMPARE)
46%ms_getfile(/sasjs/tests/&fname..sas,outref=testref2)
52 call symputx(
'test2',_infile_);
56 iftrue=(
"&test2"=
"File doesn't exist."),
57 desc=Make sure the file was deleted,
58 outds=work.test_results