15%let root=%sysfunc(pathname(work))/gsub;
17%let target=&root/seed.txt;
28%let patternvar=pattern;
37 infile
"&target" truncover;
39 if index(_infile_,
'there')>0 then call symputx(
'subbed',1,
'g');
40 if index(_infile_,
'WORLD')>0 then call symputx(
'stale',1,
'g');
45 desc=Checking that the pattern is replaced in the file,
46 outds=work.test_results
51 desc=Checking that no copy of the original pattern is left,
52 outds=work.test_results