25 %macro _render_datacolumn (i_sourceColumn=
 
   33       %local l_format l_doStyle l_doBrackets;
 
   35       %let l_doStyle    = %eval (&i_columnType. ne _NONE_ OR &i_linkColumn. ne _NONE_ OR &i_linkTitle. ne _NONE_);
 
   36       %let l_doBrackets = %eval (&i_linkColumn. ne _NONE_ OR &i_linkTitle. ne _NONE_);
 
   39       %
if (&i_format. ne _NONE_) %then %
do;
 
   40          %let l_format=&i_format.;
 
   42       %let i_columnType=%lowcase(&i_columnType.);
 
   44       %
if (&l_doStyle.) %then %
do;
 
   45          &o_targetColumn. = 
"^{style";
 
   48          &o_targetColumn. = 
"";
 
   50       %
if (&i_columnType. ne _none_) %then %
do;
 
   51          &o_targetColumn. = catt (&o_targetColumn., 
" &i_columnType.");
 
   53       %
if (&l_doBrackets.) %then %
do;
 
   54          &o_targetColumn. = catt (&o_targetColumn., 
" [");
 
   56       %
if (&i_linkTitle. ne _NONE_) %then %
do;
 
   57          &o_targetColumn. = catt (&o_targetColumn., 
'flyover="',&i_linkTitle.,
'"');
 
   59       %
if (&i_linkColumn. ne _NONE_) %then %
do;
 
   60          &o_targetColumn. = catt (&o_targetColumn., 
' url="',&i_linkColumn.,
'"');
 
   62       %
if (&l_doBrackets.) %then %
do;
 
   63          &o_targetColumn. = catt (&o_targetColumn., 
"]");
 
   65       %
if (&i_format. ne _NONE_) %then %
do;
 
   66          %
if (&l_doStyle.) %then %
do;
 
   67             &o_targetColumn. = catt (&o_targetColumn., 
" " !! put (&i_sourceColumn., &l_format.));
 
   70             &o_targetColumn. = catt (&o_targetColumn., put (&i_sourceColumn., &l_format.));
 
   74          if (vtype(&i_sourceColumn.)=
"N") then 
do;
 
   75             _formatName=
"BEST32.";
 
   76             %
if (&l_doStyle.) %then %
do;
 
   77                &o_targetColumn. = catt (&o_targetColumn., 
" " !! compress (putn (&i_sourceColumn., _formatName)));
 
   80                &o_targetColumn. = catt (&o_targetColumn., compress (putn (&i_sourceColumn., _formatName)));
 
   84             %
if (&l_doStyle.) %then %
do;
 
   85                &o_targetColumn. = catt (&o_targetColumn., 
" " !! &i_sourceColumn.);
 
   88                &o_targetColumn. = catt (&o_targetColumn., &i_sourceColumn.);
 
   92       %
if (&l_doStyle.) %then %
do;
 
   93          &o_targetColumn. = catt (&o_targetColumn., 
"}");
 
   95 %mend _render_datacolumn;