I have a code as show below. Image is being inserted if I use ODS output. Is there a way to display contents with image in the output window without using ODS output file? I am using this code in EG. With PC SAS, it works fine, however when I use EG, how do you code/point image location ? Eventually, I am going to create a store process, and job will be scheduled to be run off the store process server. dm 'log' clear; dm 'Output' clear; data a; input Indicators $ SALCD $ Total; cards; A M 10 A N 22 A O 35 A P 41 B M 5 B N 9 B O 15 B P 29 ; run; proc sort data=a; by indicators;run; proc transpose data=a out=b; by indicators; id salcd; var total; run; /* proc sort data=b nodupkey; by m_n_diff; run; data fmt; set b ; fmtname = "mypic"; start = m_n_diff; label = "d:\arrow_png"||put(m_n_diff,4.)||".jpg"; keep start fmtname label; run; proc format cntlin=fmt; run; */ proc format; value colorfmt low-0 = 'navyblue' 0 = 'CX23d8FF' 0-high = 'lightblue' ; value mypic low-0 = "Green_down.jpg" 10-high = "Green_up.jpg" 0 = "right.jpg" ; value difffmt low - <-10 = 'red' -10 - 0 = 'green' other = 'beige' ; value blank other=" "; run; * ods html close; * ods html body ="d:\arrows_jpg\test.html"; title1 ' '; %let curr_90= 27 MAR 2012 ; proc report data=b nowd headline headskip style=[/*preimage="d:\arrows_jpg\up_new.jpg" */ background=mypic.]; column indicators ("Curr Prev 90 Days - &CURR_90" m n m_n_diff m_n_perc)('Curr Prev 12 Months' o p o_p_diff o_p_perc) ; define indicators /group; define n /display; define m_n_diff /computed center style=[ foreground=difffmt. preimage=mypic. ] ; define m_n_perc /computed center format=percentn8.2 style=[ preimage=mypic. ] ; define o_p_diff /computed center style=[ foreground=difffmt. preimage=mypic. ] ;; define o_p_perc /computed center format=percentn8.2 style=[ /*background=difffmt.*/ preimage=mypic. ] ; compute o_p_perc; m_n_diff = m.sum - n; m_n_perc = (m.sum-n)/m.sum; o_p_diff = o.sum - p.sum; o_p_perc = (o.sum-p.sum)/p.sum; endcomp; compute before _page_ / center style=[font_weight=bold foreground=black background=white]; line 'Income by RC'; endcomp; run; * ods listing;
... View more