The SAS Output Delivery System and reporting techniques

ODSOUT HREF method

Reply
Occasional Contributor
Posts: 8

ODSOUT HREF method

I'm trying out the Report Writing Interface. In version 9.2 (TS2M3), the code below works, but when I run it in version 9.3 (TS1M2), I get a blank page. I've attached both output HTML files.

ods listing close;

ods html path="c:\temp" (url=none) body='rwi93.html';

data _null_;

    declare odsout t();

    t.href(data: "linkname",

           href: "http://www.sas.com");

run;

ods html close;

ods listing;

Any suggestions?

Thanks,

Adrienne

Attachment
Attachment
SAS Super FREQ
Posts: 8,868

Re: ODSOUT HREF method

Hi:

  Offhand, I'd suspect something changed in the Report Writing Interface between 9.2 and 9.3, so my recommendation would be to work with Tech Support. If you look at the difference in HTML output between 9.2 and 9.3 you can see that 9.2 is building an <A> tag, but 9.3 is not. That could be related to the flavor of HTML used between 9.2 and 9.3 or it could be related to something in how the output was generated internally in the RWI. In 9.2, the anchor tag built a <DIV> tag and then an <A> tag with "linkname" as the value between the beginning of the <A> tag and the end. With 9.3, there is no <A> tag built at all. The enclosing <DIV> tag is empty.

cynthia

Occasional Contributor
Posts: 8

Re: ODSOUT HREF method

Posted in reply to Cynthia_sas

Thanks. I'll do that.

Ask a Question
Discussion stats
  • 2 replies
  • 253 views
  • 0 likes
  • 2 in conversation