BookmarkSubscribeRSS Feed
cmp_atp_dk
Calcite | Level 5

Is it possible to jump to a specific row in a PROC REPORT HTML-output when it opens?

 

Example: I want to jump to 'Chervolet' in this report:

 

ods html file ='c:\temp\test.html';

proc report nofs data=sashelp.cars;

columns make model type origin;

run;

ods html close;

 

 

2 REPLIES 2
HB
Barite | Level 11 HB
Barite | Level 11

In HTML, that "jump" is made with an anchor. So if you gave the page the name of  'c:\temp\test.html#chevrolet' and then were able to use ODS to add an anchor statement  

 

ods html text="<a name='chevrolet'>";

to right before that proc report, that might work.

 

Dunno.  Untested.  Haven't tried it.

cmp_atp_dk
Calcite | Level 5
thx,
I’ll try it.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1198 views
  • 0 likes
  • 2 in conversation