<?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: Seeking help on PROC TEMPLATE style element to inherit style attributes in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426191#M14709</link>
    <description>&lt;P&gt;On the ODS GRAPHICS statement in your %GRSTART_PDF() macro, try removing the IMAGEFMT=PNG and see if the crash goes away. This will produce vector-based graphics in your PDF file instead of image-based. Vector-based is usually preferable, and the PDF file is usually smaller as well. Give it a try and let me know if the crash goes away.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR /&gt;Dan&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2018 18:13:11 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2018-01-09T18:13:11Z</dc:date>
    <item>
      <title>Seeking help on PROC TEMPLATE style element to inherit style attributes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426166#M14706</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using PROC SGPLOT with a custom style (by GTL) to create a graph. I'm getting the following errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: An exception has been encountered.&lt;BR /&gt;Please contact technical support and provide them with the following traceback information:&lt;/P&gt;
&lt;P&gt;The SAS task name is [Submit]&lt;BR /&gt;ERROR: Read Access Violation Submit&lt;BR /&gt;Exception occurred at (0F9306C0)&lt;BR /&gt;Task Traceback&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: Generic critical error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After doing some google I got this page from SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/58/128.html" target="_blank"&gt;http://support.sas.com/kb/58/128.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I went on to add FROM option to all my style elements in PROC TEMPLATE. But I'm still getting the same error. Any help will be highly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S Using version 9.4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template ;
 define style DANPDF ; /*template name*/
 parent=styles.printer ; 

style fonts from fonts /
 'TitleFont' = ("Courier new",9pt)          
 'TitleFont2' = ("Courier new",9pt)      
 'headingFont' = ("Courier new",9pt)       
 'docFont' = ("Courier new",9pt)           
 'footFont' = ("Courier new",9pt)   ;     
 

style GraphFonts from GraphFonts /                                                      
 'GraphAnnoFont' = ("Courier new",9pt)                           
 'GraphTitle1Font' = ("Courier new",9pt,bold)                    
 'GraphTitleFont' = ("Courier new",9pt,bold)                     
 'GraphFootnoteFont' = ("Courier new",9pt)                       
 'GraphLabelFont' = ("Courier new",9pt) ;                
    
 

style GraphDataDefault from GraphDataDefault /                                                
     endcolor = CX000000
     neutralcolor = CX000000
     startcolor = CX000000
     markersymbol = "circle"
     linethickness = 1
     linestyle = 1
     contrastcolor = CornflowerBlue
     color = CornflowerBlue;

  style GraphData1 from GraphData1 /
     markersymbol = "circle"
     linestyle = 1
     contrastcolor = CornflowerBlue
     color = CornflowerBlue;

  style GraphData2 from GraphData2 /
     markersymbol = "circle"
     linestyle = 1
     contrastcolor = DarkOrange
     color = DarkOrange;

  style GraphData3 from GraphData3 /
     markersymbol = "circle"
     linestyle = 1
     contrastcolor = DarkGray
     color = DarkGray;

  style GraphData4 from GraphData4 /
     markersymbol = "circle"
     linestyle = 1
     contrastcolor = Gold
     color = Gold;

  style GraphData5 from GraphData5 /
     markersymbol = "circle"
     linestyle = 1
     contrastcolor = Crimson
     color = Crimson;

  style GraphData6 from GraphData6 /
     markersymbol = "circle"
     linestyle = 1
     contrastcolor = LimeGreen
     color = LimeGreen;

  style GraphData7 from GraphData7 /
     markersymbol = "circle"
     linestyle = 1
     contrastcolor = Blue
     color = Blue;


 Style table from output / 
       background=_UNDEF_           
       rules=groups                
       frame=hsides                
       cellspacing=0.01mm            
       cellpadding=1mm                
       borderwidth=0.01mm;            

 Style HeadersAndFooters from Cell /
      background = _undef_
      font = Fonts('TitleFont') ; 

 Style SystemFooter from TitlesAndFooters /
       font = Fonts('footFont')
        just = LEFT ; 


 Style Body from Document /
         bottommargin = 1.40cm
         topmargin = 2.1cm
         rightmargin = 1.7cm
         leftmargin = 1.7cm; 


 end ; 
run ;  &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 17:14:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426166#M14706</guid>
      <dc:creator>kingCobra</dc:creator>
      <dc:date>2018-01-09T17:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking help on PROC TEMPLATE style element to inherit style attributes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426174#M14707</link>
      <description>&lt;P&gt;Can you post your log?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 17:39:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426174#M14707</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-01-09T17:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking help on PROC TEMPLATE style element to inherit style attributes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426181#M14708</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the relevant part of the log at the very end of the code.&amp;nbsp;The detail log is attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;ERROR: An exception has been encountered.&lt;BR /&gt;Please contact technical support and provide them with the following traceback information:&lt;/P&gt;
&lt;P&gt;The SAS task name is [Submit]&lt;BR /&gt;ERROR: Read Access Violation Submit&lt;BR /&gt;Exception occurred at (28ED06C0)&lt;BR /&gt;Task Traceback&lt;BR /&gt;Address Frame (DBGHELP API Version 4.0 rev 5)&lt;BR /&gt;0000000028ED06C0 000000000E2BA0E0 saspdpdf:tkvercn1+0xCF680&lt;BR /&gt;0000000028EC1740 000000000E2BA160 saspdpdf:tkvercn1+0xC0700&lt;BR /&gt;0000000028E17F49 000000000E2BA530 saspdpdf:tkvercn1+0x16F09&lt;BR /&gt;000000002A0BEF8F 000000000E2BA538 saszimg:tkvercn1+0xDF4F&lt;BR /&gt;000000002A0BB1C0 000000000E2BAE00 saszimg:tkvercn1+0xA180&lt;BR /&gt;000000002A0B1DD1 000000000E2BAE40 saszimg:tkvercn1+0xD91&lt;BR /&gt;000000000BCEBB5E 000000000E2BAE48 saspso:tkvercn1+0x5AB1E&lt;BR /&gt;000000000BCEE038 000000000E2BB330 saspso:tkvercn1+0x5CFF8&lt;BR /&gt;000000000BCB93C2 000000000E2BB7B0 saspso:tkvercn1+0x28382&lt;BR /&gt;000000000BCF6D7A 000000000E2BB7F0 saspso:tkvercn1+0x65D3A&lt;BR /&gt;000000000BC91846 000000000E2BB860 saspso:tkvercn1+0x806&lt;BR /&gt;0000000005ED755A 000000000E2BB868 sasods:tkvercn1+0x22651A&lt;BR /&gt;0000000005D87D52 000000000E2BCEC0 sasods:tkvercn1+0xD6D12&lt;BR /&gt;0000000007DCF95A 000000000E2BCEC8 sasodst:tkvercn1+0xE91A&lt;BR /&gt;0000000007DCEC92 000000000E2BE570 sasodst:tkvercn1+0xDC52&lt;BR /&gt;0000000005ED755A 000000000E2BE5B0 sasods:tkvercn1+0x22651A&lt;BR /&gt;0000000005DCF9D3 000000000E2BE6B0 sasods:tkvercn1+0x11E993&lt;BR /&gt;0000000004A3E7C3 000000000E2BE6B8 sasxshel:tkvercn1+0x4D783&lt;BR /&gt;0000000005DD00A3 000000000E2BF270 sasods:tkvercn1+0x11F063&lt;BR /&gt;0000000007DC11D8 000000000E2BF310 sasodst:tkvercn1+0x198&lt;BR /&gt;00000000053B615A 000000000E2BF318 sasxany:tkvercn1+0x511A&lt;BR /&gt;00000000053B21E6 000000000E2BF410 sasxany:tkvercn1+0x11A6&lt;BR /&gt;00000000049F28D1 000000000E2BF540 sasxshel:tkvercn1+0x1891&lt;BR /&gt;00000000049F19F5 000000000E2BF5D0 sasxshel:tkvercn1+0x9B5&lt;BR /&gt;0000000004A1C2B2 000000000E2BF750 sasxshel:tkvercn1+0x2B272&lt;BR /&gt;0000000004A4832E 000000000E2BFAA0 sasxshel:tkvercn1+0x572EE&lt;BR /&gt;0000000004A4BD14 000000000E2BFB90 sasxshel:tkvercn1+0x5ACD4&lt;BR /&gt;0000000004A4E99C 000000000E2BFBE0 sasxshel:tkvercn1+0x5D95C&lt;BR /&gt;000000000322A066 000000000E2BFBE8 sashost:Main+0x11BA6&lt;BR /&gt;000000000323011D 000000000E2BFF50 sashost:Main+0x17C5D&lt;BR /&gt;00007FFED75D13D2 000000000E2BFF58 KERNEL32:BaseThreadInitThunk+0x22&lt;BR /&gt;00007FFED7DA54F4 000000000E2BFF88 ntdll:RtlUserThreadStart+0x34&lt;/P&gt;
&lt;P&gt;MPRINT(GRSTOP_PDF): ods pdf close;&lt;BR /&gt;ERROR: Generic critical error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 17:51:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426181#M14708</guid>
      <dc:creator>kingCobra</dc:creator>
      <dc:date>2018-01-09T17:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking help on PROC TEMPLATE style element to inherit style attributes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426191#M14709</link>
      <description>&lt;P&gt;On the ODS GRAPHICS statement in your %GRSTART_PDF() macro, try removing the IMAGEFMT=PNG and see if the crash goes away. This will produce vector-based graphics in your PDF file instead of image-based. Vector-based is usually preferable, and the PDF file is usually smaller as well. Give it a try and let me know if the crash goes away.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 18:13:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426191#M14709</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-01-09T18:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking help on PROC TEMPLATE style element to inherit style attributes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426248#M14711</link>
      <description>&lt;P&gt;Many thanks Dan. It worked by removing IMAGEFMT=PNG. Didn't know about vector based graphics.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 21:47:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426248#M14711</guid>
      <dc:creator>kingCobra</dc:creator>
      <dc:date>2018-01-09T21:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking help on PROC TEMPLATE style element to inherit style attributes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426256#M14712</link>
      <description>&lt;P&gt;As for the traceback, it would be good&amp;nbsp;to open up a track with SAS Technical Support so we can follow up on that issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Dan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 22:12:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Seeking-help-on-PROC-TEMPLATE-style-element-to-inherit-style/m-p/426256#M14712</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-01-09T22:12:47Z</dc:date>
    </item>
  </channel>
</rss>

