<?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 Export ODS graph to word file in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Export-ODS-graph-to-word-file/m-p/678754#M32598</link>
    <description>&lt;P&gt;&amp;nbsp;Hi all;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an error by using this code to transport files from SAS to word file !&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;I need someone to edit this code to make proper for my requirement.&lt;/P&gt;&lt;P&gt;thank you so much for your time&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ibrahim&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; ods graphics/attrpriority=none rtf file = 'C:\Users\Barkamih\Desktop\Graphs\milkkg.rtf';
proc sgplot data=fit;
series y = Milk_Yield  x = Days_In_Milk / group=pr;
xaxis values=(0 to 320 by 20);
yaxis values=(0 to 40 by 2);
styleattrs datacontrastcolors=(RED BLUE Green black) datalinepatterns=(ShortDash MediumDash LongDash solid);
run;
ods rtf close;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;this is the error that I got&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;320 ods graphics/attrpriority=none rtf file = 'C:\Users\Barkamih\Desktop\Graphs\milkkg.rtf';&lt;BR /&gt;---&lt;BR /&gt;22&lt;BR /&gt;76&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, ANTIALIAS, ANTIALIASMAX, ATTRPRIORITY,&lt;BR /&gt;BORDER, BYLINE, DATASKINMAX, DISCRETEMAX, DRILLTARGET, GROUPMAX, HEIGHT, IMAGEMAP,&lt;BR /&gt;IMAGENAME, LABELMAX, LABELPLACEMENT, LEGENDAREAMAX, LOESSMAXOBS, LOESSOBSMAX,&lt;BR /&gt;MAXLEGENDAREA, NOANTIALIAS, NOBORDER, NOIMAGEMAP, NOSCALE, NOSCALEMARKERS, NOSUBPIXEL,&lt;BR /&gt;OUTPUTFMT, PANELCELLMAX, POP, PUSH, RESET, SCALE, SCALEMARKERS, SHOW, STACKDEPTHMAX,&lt;BR /&gt;SUBPIXEL, TIPMAX, WIDTH.&lt;BR /&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;321 proc sgplot data=fit;&lt;BR /&gt;322 series y = Milk_Yield x = Days_In_Milk / group=pr;&lt;BR /&gt;323 xaxis values=(0 to 320 by 20);&lt;BR /&gt;324 yaxis values=(0 to 40 by 2);&lt;BR /&gt;325 styleattrs datacontrastcolors=(RED BLUE Green black) datalinepatterns=(ShortDash MediumDash&lt;BR /&gt;325! LongDash solid);&lt;BR /&gt;326 run;&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SGPLOT used (Total process time):&lt;BR /&gt;real time 0.04 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;WARNING: No output destinations active.&lt;BR /&gt;NOTE: There were 99718 observations read from the data set WORK.FIT.&lt;/P&gt;&lt;P&gt;327 ods rtf close;&lt;/P&gt;</description>
    <pubDate>Sun, 23 Aug 2020 15:55:05 GMT</pubDate>
    <dc:creator>Barkamih</dc:creator>
    <dc:date>2020-08-23T15:55:05Z</dc:date>
    <item>
      <title>Export ODS graph to word file</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Export-ODS-graph-to-word-file/m-p/678754#M32598</link>
      <description>&lt;P&gt;&amp;nbsp;Hi all;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an error by using this code to transport files from SAS to word file !&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;I need someone to edit this code to make proper for my requirement.&lt;/P&gt;&lt;P&gt;thank you so much for your time&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ibrahim&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; ods graphics/attrpriority=none rtf file = 'C:\Users\Barkamih\Desktop\Graphs\milkkg.rtf';
proc sgplot data=fit;
series y = Milk_Yield  x = Days_In_Milk / group=pr;
xaxis values=(0 to 320 by 20);
yaxis values=(0 to 40 by 2);
styleattrs datacontrastcolors=(RED BLUE Green black) datalinepatterns=(ShortDash MediumDash LongDash solid);
run;
ods rtf close;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;this is the error that I got&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;320 ods graphics/attrpriority=none rtf file = 'C:\Users\Barkamih\Desktop\Graphs\milkkg.rtf';&lt;BR /&gt;---&lt;BR /&gt;22&lt;BR /&gt;76&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, ANTIALIAS, ANTIALIASMAX, ATTRPRIORITY,&lt;BR /&gt;BORDER, BYLINE, DATASKINMAX, DISCRETEMAX, DRILLTARGET, GROUPMAX, HEIGHT, IMAGEMAP,&lt;BR /&gt;IMAGENAME, LABELMAX, LABELPLACEMENT, LEGENDAREAMAX, LOESSMAXOBS, LOESSOBSMAX,&lt;BR /&gt;MAXLEGENDAREA, NOANTIALIAS, NOBORDER, NOIMAGEMAP, NOSCALE, NOSCALEMARKERS, NOSUBPIXEL,&lt;BR /&gt;OUTPUTFMT, PANELCELLMAX, POP, PUSH, RESET, SCALE, SCALEMARKERS, SHOW, STACKDEPTHMAX,&lt;BR /&gt;SUBPIXEL, TIPMAX, WIDTH.&lt;BR /&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;321 proc sgplot data=fit;&lt;BR /&gt;322 series y = Milk_Yield x = Days_In_Milk / group=pr;&lt;BR /&gt;323 xaxis values=(0 to 320 by 20);&lt;BR /&gt;324 yaxis values=(0 to 40 by 2);&lt;BR /&gt;325 styleattrs datacontrastcolors=(RED BLUE Green black) datalinepatterns=(ShortDash MediumDash&lt;BR /&gt;325! LongDash solid);&lt;BR /&gt;326 run;&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SGPLOT used (Total process time):&lt;BR /&gt;real time 0.04 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;WARNING: No output destinations active.&lt;BR /&gt;NOTE: There were 99718 observations read from the data set WORK.FIT.&lt;/P&gt;&lt;P&gt;327 ods rtf close;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Aug 2020 15:55:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Export-ODS-graph-to-word-file/m-p/678754#M32598</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2020-08-23T15:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Export ODS graph to word file</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Export-ODS-graph-to-word-file/m-p/678760#M32599</link>
      <description>&lt;P&gt;Please post logs in a code box (&amp;lt;/&amp;gt;), so that the formatting is kept.&lt;/P&gt;
&lt;P&gt;I suggest to split ODS GRAPHICS and ODS RTF into two separate statements.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Aug 2020 17:29:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Export-ODS-graph-to-word-file/m-p/678760#M32599</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-23T17:29:33Z</dc:date>
    </item>
  </channel>
</rss>

