15data _null_; file tmp1; put
'base file';
16data _null_; file tmp2; put
'append1';
17data _null_; file tmp3; put
'append2';
19%mp_appendfile(baseref=tmp1, appendrefs=tmp2 tmp3)
24 call symputx(cats(
'check',_n_),_infile_);
26%global check1 check2 check3;
28 iftrue=(
"&check1"=
"base file"),
29 desc=Line 1 of file tmp1 is correct,
30 outds=work.test_results
33 iftrue=(
"&check2"=
"append1"),
34 desc=Line 2 of file tmp1 is correct,
35 outds=work.test_results
38 iftrue=(
"&check3"=
"append2"),
39 desc=Line 3 of file tmp1 is correct,
40 outds=work.test_results