26 %MACRO _render_assertReportRep (i_assertype=
35 %local l_ifile l_ofile l_path ;
39 %_getTestSubfolder (i_assertType=assertReport
40 ,i_root =&g_target./tst
48 select tst_act, tst_exp into :l_extAct,:l_extExp from &i_repdata.
49 where scn_id=&i_scnid. AND cas_id=&i_casid. AND tst_id=&i_tstid.;
52 %let l_ifile=&l_path./_man_;
53 %let l_ofile=&o_path./_&i_scnid._&i_casid._&i_tstid._man_;
55 %
if %sysfunc(fileexist(%nrbquote(&l_ifile.exp&l_extexp.))) %then %
do;
56 %_copyFile (%nrbquote(&l_ifile.exp&l_extexp.), &l_ofile.exp%nrbquote(&l_extexp.));
58 %
if %sysfunc(fileexist(%nrbquote(&l_ifile.act&l_extact.))) %then %
do;
59 %_copyFile (%nrbquote(&l_ifile.act&l_extact.), &l_ofile.act%nrbquote(&l_extact.));
62 %
if %sysfunc(fileexist(%nrbquote(&l_ifile.exp&l_extexp.))) and %sysfunc(fileexist(%nrbquote(&l_ifile.act&l_extact.))) %then %do;
63 %if (&o_html.) %then %do;
65 file "&o_path./_&i_scnid._&i_casid._&i_tstid._man_rep.html";
66 %_reportHeaderHTML(%str(&g_nls_reportMan_001 &i_scnid - &g_nls_reportMan_002 &i_casid - &g_nls_reportMan_003 &i_tstid - &g_nls_reportMan_004));
67 put '<frameset rows="50%,50%">';
68 put " <frame src=""_&i_scnid._&i_casid._&i_tstid._man_exp&l_extexp"" name=""Expected"">";
69 put " <frame src=""_&i_scnid._&i_casid._&i_tstid._man_act&l_extact"" name=""Actual"">";
76 %MEND _render_assertReportRep;