BookmarkSubscribeRSS Feed
TYT88
Calcite | Level 5

Sorry, this might sound stupid but I am not able to figure out what is wrong

I use the sample code from http://support.sas.com/kb/57/098.html

Also created 2 .png files with the names, F.png and M.png at C: drive

However my results do not have the image

What did I do wrong?

 

 

3 REPLIES 3
andreas_lds
Jade | Level 19

@TYT88 wrote:

Sorry, this might sound stupid but I am not able to figure out what is wrong

I use the sample code from http://support.sas.com/kb/57/098.html

Also created 2 .png files with the names, F.png and M.png at C: drive

However my results do not have the image

What did I do wrong?

 

 


Are you using a local sas installation? If not: store the images in a directory accessible by your sas-installation.

TYT88
Calcite | Level 5
Yes, ran on local SAS
Cynthia_sas
Diamond | Level 26

Hi:

  When I simplify the Tech Support program, I find it works for me, as shown below:

HTML:

html_output.png

 

RTF & PDF:

rtf_pdf_output.png

 

I needed to make the cell slightly wider for RTF and PDF, so that code was a bit different. The main change for RTF and PDF was that the format for the image needed to reference the location of the file (c:\temp\) where the image was located when the RTF and PDF files were being created by ODS.

 

Hope this helps,

cynthia

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 3 replies
  • 1000 views
  • 0 likes
  • 3 in conversation