I am trying to add a TARGET= to a URL generated in a PROC REPORT with CALL DEFINE so that the generated hyperlink works correctly in a framed environment. There does not appear to be documented way to do this that I have found. I have seen some references to modifying the style template but have not found any working examples. I tried fooling the system by including double quotes in my CALL DEFINE to extend the generated HREF which almost worked, but the actual html converted the buried double quotes to " which did not work when displaying the page.
compute link; href=cat("&htmlbody..html#",trim(scan(path,-1,'\')),'" target="body'); call define(_col_,'URL',href); endcomp;
Results in this HTML:
<tr> <td class="l data" style=" border-width: 0px;"><a href="BODY.html#Report#16" target="body">Messages by Severity</a> </td> </tr>
which does not work properly. Any suggestions on how I can generate a proper target="body" with CALL DEFINE?
... View more