SASUnit Examples  Version 1.5.0
_render_crossrefcolumn.sas
Go to the documentation of this file.
1 
27 %macro _render_crossrefColumn (i_sourceColumn =
28  ,o_targetColumn =
29  ,i_linkColumn_caller =
30  ,i_linkTitle_caller =
31  ,i_linkColumn_called =
32  ,i_linkTitle_called =
33  );
34  len = length(trim(cas_pgm));
35  cas_pgm_strip = substrn(cas_pgm, 1, len-4);
36 
37  href_caller = "crossref.html?casPgm="||trim(cas_pgm_strip)||'%nrstr(&)call=caller';
38  href_called = "crossref.html?casPgm="||trim(cas_pgm_strip)||'%nrstr(&)call=called';
39 
40  &o_targetColumn. = catt ('^{style [flyover="', &i_linkTitle_caller., '" url="' !! href_caller !! '"] ', &i_linkColumn_caller.,'} ^n ');
41  &o_targetColumn. = catt (&o_targetColumn., '^{style [flyover="', &i_linkTitle_called., '" url="' !! href_called !! '"] ', &i_linkColumn_called., '}');
42 
43 %mend _render_crossrefColumn;