Your SAS programs, embedded in web apps and elsewhere

Display image through a Proc report using stored process

Reply
N/A
Posts: 0

Display image through a Proc report using stored process

Hi

Below code works when executed in SAS EG. The SAS Server is on a Unix AIX and is version is 9.13. However when I convert the code into a Stored Process using EG wizard and cut and past the same code ... it seems not to display the gif picture and it will only display the dataset and replace the picture with an X.......

I have tried changing the location of the gif file and placed it on a sever folder on where is it accessible (has read permission) to all SAS USERS.

ods escapechar = "^";

title1 justify=center '^S={preimage="/sasarea/Common/aviva.gif"}'; /* UNC path */



proc print data=sashelp.class;
run;


Can you please help?

Amir
N/A
Posts: 0

Re: Display image through a Proc report using stored process

I am trying to display the company logo when my report is ran through the stored process. The code above is just an example to display a logo along with SAS help dataset. Can any one please help?
Super Contributor
Super Contributor
Posts: 3,174

Re: Display image through a Proc report using stored process

Suggest you view your generated HTML tags/code and check the resolved tag parameter that identifies where your image file resides. Then determine if that file is available to the web server using the name-construct found in the HTML code rendered in your web browser.

Also, for future posts, you should only log your post in one forum, as a general guideline. Cross-posting within the SAS Discussion Forums is not needed, as most, if not all curious subscribers visit the various focus area forums.

Scott Barry
SBBWorks, Inc.

Suggested Google advanced search argument, this topic/post:

title preimage syntax site:sas.com Message was edited by: sbb
N/A
Posts: 0

Re: Display image through a Proc report using stored process

Thanks for your help, I got it to work now
Ask a Question
Discussion stats
  • 3 replies
  • 276 views
  • 0 likes
  • 2 in conversation