26 %macro _render_assertForeignKeyRep (i_assertype =
35 %local l_path dsid cnt rc;
39 %_getTestSubfolder (i_assertType=assertForeignKey
40 ,i_root =&g_target./tst
47 LIBNAME _afkLib
"&l_path";
49 %IF (&o_html.) %then %
do;
50 ODS HTML4 FILE=
"&o_path/_&i_scnid._&i_casid._&i_tstid._foreignkey_rep.html" stylesheet=(url=
"css/SAS_SASUnit.css")
51 encoding=
"&g_rep_encoding.";
54 TITLE
"&g_nls_reportForeignKey_011";
55 TITLE2
"&g_nls_reportForeignKey_013.";
56 %IF %sysfunc(exist(_afkLib.keyNotFndLookUp)) %THEN %DO;
57 %LET dsid=%sysfunc(open(_afkLib.keyNotFndLookUp));
58 %LET cnt =%sysfunc(attrn(&dsid,nlobs));
59 %LET rc =%sysfunc(close(&dsid));
60 %IF &cnt ne 0 %THEN %DO;
61 PROC PRINT DATA=_afkLib.keyNotFndLookUp;
67 PUT
"&g_nls_reportForeignKey_012.";
74 PUT
"&g_nls_reportForeignKey_015.";
78 TITLE2
"&g_nls_reportForeignKey_014.";
79 %_reportFooter(o_html=&o_html.);
80 %IF %sysfunc(exist(_afkLib.keyNotFndMstr)) %THEN %DO;
81 %LET dsid=%sysfunc(open(_afkLib.keyNotFndMstr));
82 %LET cnt =%sysfunc(attrn(&dsid,nlobs));
83 %LET rc =%sysfunc(close(&dsid));
85 %IF &cnt ne 0 %THEN %DO;
86 PROC PRINT DATA=_afkLib.keyNotFndMstr;
92 PUT
"&g_nls_reportForeignKey_015.";
99 PUT
"&g_nls_reportForeignKey_012.";
103 %IF (&o_html.) %then %
do;
108 %MEND _render_assertForeignKeyRep;