BookmarkSubscribeRSS Feed
hailuen
Calcite | Level 5

I'm trying to insert images in my HTML file using ODS HTML and proc report.  The images will work if I run from PC and place the image files on my PC. If I ran the code from UNIX and access the images file from a unix location,  the image files didn't show on the html file.  The purpose is to generate html file from a stored process and place it in the sas web report.  The stored process needs to be run from a unix server.   I am looking for any recommendation / suggestions to insert images in the stored process report.

1 REPLY 1
Cynthia_sas
Diamond | Level 26

Hi:

  Usually, in a stored process, you do NOT use BODY= or FILE= option. Usually, you have the special macro %STPBEGIN/%STPEND OR you have BODY=_WEBOUT (in a more advanced invocation).

  I would recommend that you open a track with Tech Support in order to learn the correct syntax for invoking your stored process in Unix. Also, depending what you mean by "web report" (as in a report opened in a web browser, versus a report opened in Web Report Studio), you may find that your CALL DEFINE statements may or may not work in SAS Web Report studio.

  To send a question to Tech Support, go to http://support.sas.com/ and in the left-hand navigation pane, click on the link entitled "Submit a Problem". Alternately, you can go directly to the Tech Support Problem Form here: http://support.sas.com/ctx/supportform/createForm

cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 1216 views
  • 0 likes
  • 2 in conversation