SASUnit Examples  Version 1.5.0
_render_assertrecordcountact.sas
Go to the documentation of this file.
1 
22 %macro _render_assertRecordCountAct (i_sourceColumn=
23  ,o_html=0
24  ,o_targetColumn=
25  );
26 
27  hlp = trim(left(&i_sourceColumn.));
28  select (hlp);
29  when (-1) hlp = "&g_nls_reportRecordCount_001.";
30  when (-2) hlp = "&g_nls_reportRecordCount_002.";
31  when (-3) hlp = "&g_nls_reportRecordCount_003.";
32  when (-4) hlp = "&g_nls_reportRecordCount_004.";
33  when (-5) hlp = "&g_nls_reportRecordCount_005.";
34  otherwise hlp = trim(hlp);
35  end;
36 
37  %_render_dataColumn (i_sourceColumn=hlp
38  ,o_targetColumn=&o_targetColumn.
39  );
40 %mend _render_assertRecordCountAct;