<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can you try this? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-odstext-and-liststyleimage-in-list-statement/m-p/759902#M25211</link>
    <description>&lt;P&gt;Here is the output after stopping the code using curly braces. The result was the same with square braces.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 77         ods pdf file="&amp;amp;xxtest./reporting/test.pdf";
 NOTE: Writing ODS PDF output to DISK destination 
       "C:\Users\xxformat\Documents\Dropbox\xxformat\xxformat_prod_courses\sas\l2\l2_mod3\l2_mod3_c
       hap2_ods\reporting\test.pdf", printer "PDF".
 78         
 79         proc odstext;
 80            list / style={liststyleimage="&amp;amp;xxtest./images/arrow.jpeg"};
 81               item 'Bullet Point 1';
 82               item 'Bullet Point 2';
 83               item 'Bullet Point 3';
 84            end;
 85         run;
  
 ERROR:  An exception has been encountered.
 Please contact technical support and provide them with the following traceback information:
  
 The SAS task name is [ODSTEXT (2)]
 ERROR:  Read Access Violation ODSTEXT (2)
 Exception occurred at (08BAF9A3)
 Task Traceback
 Address   Frame     (DBGHELP API Version 4.0 rev 5)
 0000000008BAF9A3  000000000A727990  sasmrk:tkvercn1+0x11E963
 0000000008AFDCB0  000000000A727AB0  sasmrk:tkvercn1+0x6CC70
 0000000008AE34E0  000000000A7286A0  sasmrk:tkvercn1+0x524A0
 0000000008BA6FDA  000000000A7286E0  sasmrk:tkvercn1+0x115F9A
 0000000008A97AC0  000000000A728850  sasmrk:tkvercn1+0x6A80
 0000000008BA6FDA  000000000A728890  sasmrk:tkvercn1+0x115F9A
 0000000008A9C6E5  000000000A728970  sasmrk:tkvercn1+0xB6A5
 0000000008BA6FDA  000000000A7289B0  sasmrk:tkvercn1+0x115F9A
 0000000008B42953  000000000A72A2F0  sasmrk:tkvercn1+0xB1913
 0000000008B43A9D  000000000A72BC30  sasmrk:tkvercn1+0xB2A5D
 0000000008B4397E  000000000A72D570  sasmrk:tkvercn1+0xB293E
 0000000008B43ADD  000000000A72EEB0  sasmrk:tkvercn1+0xB2A9D
 0000000008B41DF9  000000000A72EEF0  sasmrk:tkvercn1+0xB0DB9
 000000000888BC9D  000000000A72EEF8  sasoda:tkvercn1+0x1AC5D
 000000000840755A  000000000A72F078  sasods:tkvercn1+0x22651A
 0000000008235BED  000000000A72F350  sasods:tkvercn1+0x54BAD
 0000000008234E3D  000000000A72F620  sasods:tkvercn1+0x53DFD
 000000000A1542AA  000000000A72F628  sasprto:tkvercn1+0x326A
 000000000A15343E  000000000A72F920  sasprto:tkvercn1+0x23FE
 000000000A1516AD  000000000A72FA70  sasprto:tkvercn1+0x66D
 000000000A13166A  000000000A72FA78  sasrende:tkvercn1+0x62A
 000000000A13121E  000000000A72FBB0  sasrende:tkvercn1+0x1DE
 000000000344A066  000000000A72FBB8  sashost:Main+0x11BA6
 000000000345011D  000000000A72FF20  sashost:Main+0x17C5D
 00007FFFAE987034  000000000A72FF28  KERNEL32:BaseThreadInitThunk+0x14
 00007FFFB0962651  000000000A72FF58  ntdll:RtlUserThreadStart+0x21&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Aug 2021 10:19:36 GMT</pubDate>
    <dc:creator>xxformat_com</dc:creator>
    <dc:date>2021-08-06T10:19:36Z</dc:date>
    <item>
      <title>proc odstext and liststyleimage in list statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-odstext-and-liststyleimage-in-list-statement/m-p/758007#M25181</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Also it is possible to use the&amp;nbsp;liststyletype in the list statement when working with proc odstext, it doesn't seem to work with&lt;/P&gt;&lt;P&gt;liststyleimage. Is it an expected feature?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example of image found on the internet for testing purpose only :&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arrow.jpeg" style="width: 15px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62043i1612066174682B92/image-size/large?v=v2&amp;amp;px=999" role="button" title="arrow.jpeg" alt="arrow.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following code works (liststyleimage in item statement):&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file="&amp;amp;xxtest./reporting/test.pdf";

proc odstext;
   list;
      item 'Bullet Point 1' / style=[liststyleimage="&amp;amp;xxtest./images/arrow.jpeg"];
      item 'Bullet Point 2' / style=[liststyleimage="&amp;amp;xxtest./images/arrow.jpeg"];
      item 'Bullet Point 3' / style=[liststyleimage="&amp;amp;xxtest./images/arrow.jpeg"];
   end;
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But the following doesn't work (liststyleimage in the list statement). I have to abort the program.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file="&amp;amp;xxtest./reporting/test.pdf";

proc odstext;
   list / style=[liststyleimage="&amp;amp;xxtest./images/arrow.jpeg"];
      item 'Bullet Point 1';
      item 'Bullet Point 2';
      item 'Bullet Point 3';
   end;
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 09:10:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-odstext-and-liststyleimage-in-list-statement/m-p/758007#M25181</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-07-29T09:10:41Z</dc:date>
    </item>
    <item>
      <title>Can you try this?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-odstext-and-liststyleimage-in-list-statement/m-p/759767#M25210</link>
      <description>&lt;P&gt;Can you run a test to see if it works if you replace the [] with {}?&lt;/P&gt;
&lt;P&gt;So&lt;/P&gt;
&lt;PRE&gt;style=[liststyleimage="&amp;amp;xxtest./images/arrow.jpeg"]&lt;/PRE&gt;
&lt;P&gt;becomes&lt;/P&gt;
&lt;PRE&gt;style={liststyleimage="&amp;amp;xxtest./images/arrow.jpeg"}&lt;/PRE&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards, Jos&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 17:32:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-odstext-and-liststyleimage-in-list-statement/m-p/759767#M25210</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2021-08-05T17:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can you try this?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-odstext-and-liststyleimage-in-list-statement/m-p/759902#M25211</link>
      <description>&lt;P&gt;Here is the output after stopping the code using curly braces. The result was the same with square braces.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 77         ods pdf file="&amp;amp;xxtest./reporting/test.pdf";
 NOTE: Writing ODS PDF output to DISK destination 
       "C:\Users\xxformat\Documents\Dropbox\xxformat\xxformat_prod_courses\sas\l2\l2_mod3\l2_mod3_c
       hap2_ods\reporting\test.pdf", printer "PDF".
 78         
 79         proc odstext;
 80            list / style={liststyleimage="&amp;amp;xxtest./images/arrow.jpeg"};
 81               item 'Bullet Point 1';
 82               item 'Bullet Point 2';
 83               item 'Bullet Point 3';
 84            end;
 85         run;
  
 ERROR:  An exception has been encountered.
 Please contact technical support and provide them with the following traceback information:
  
 The SAS task name is [ODSTEXT (2)]
 ERROR:  Read Access Violation ODSTEXT (2)
 Exception occurred at (08BAF9A3)
 Task Traceback
 Address   Frame     (DBGHELP API Version 4.0 rev 5)
 0000000008BAF9A3  000000000A727990  sasmrk:tkvercn1+0x11E963
 0000000008AFDCB0  000000000A727AB0  sasmrk:tkvercn1+0x6CC70
 0000000008AE34E0  000000000A7286A0  sasmrk:tkvercn1+0x524A0
 0000000008BA6FDA  000000000A7286E0  sasmrk:tkvercn1+0x115F9A
 0000000008A97AC0  000000000A728850  sasmrk:tkvercn1+0x6A80
 0000000008BA6FDA  000000000A728890  sasmrk:tkvercn1+0x115F9A
 0000000008A9C6E5  000000000A728970  sasmrk:tkvercn1+0xB6A5
 0000000008BA6FDA  000000000A7289B0  sasmrk:tkvercn1+0x115F9A
 0000000008B42953  000000000A72A2F0  sasmrk:tkvercn1+0xB1913
 0000000008B43A9D  000000000A72BC30  sasmrk:tkvercn1+0xB2A5D
 0000000008B4397E  000000000A72D570  sasmrk:tkvercn1+0xB293E
 0000000008B43ADD  000000000A72EEB0  sasmrk:tkvercn1+0xB2A9D
 0000000008B41DF9  000000000A72EEF0  sasmrk:tkvercn1+0xB0DB9
 000000000888BC9D  000000000A72EEF8  sasoda:tkvercn1+0x1AC5D
 000000000840755A  000000000A72F078  sasods:tkvercn1+0x22651A
 0000000008235BED  000000000A72F350  sasods:tkvercn1+0x54BAD
 0000000008234E3D  000000000A72F620  sasods:tkvercn1+0x53DFD
 000000000A1542AA  000000000A72F628  sasprto:tkvercn1+0x326A
 000000000A15343E  000000000A72F920  sasprto:tkvercn1+0x23FE
 000000000A1516AD  000000000A72FA70  sasprto:tkvercn1+0x66D
 000000000A13166A  000000000A72FA78  sasrende:tkvercn1+0x62A
 000000000A13121E  000000000A72FBB0  sasrende:tkvercn1+0x1DE
 000000000344A066  000000000A72FBB8  sashost:Main+0x11BA6
 000000000345011D  000000000A72FF20  sashost:Main+0x17C5D
 00007FFFAE987034  000000000A72FF28  KERNEL32:BaseThreadInitThunk+0x14
 00007FFFB0962651  000000000A72FF58  ntdll:RtlUserThreadStart+0x21&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 10:19:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-odstext-and-liststyleimage-in-list-statement/m-p/759902#M25211</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-08-06T10:19:36Z</dc:date>
    </item>
  </channel>
</rss>

