<?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: Ods word: can't open the document in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808289#M318719</link>
    <description>Thank you, Tom.&lt;BR /&gt;Yes, I write. I put ods noresults; just for non-appearance of documents in SASEG.&lt;BR /&gt;</description>
    <pubDate>Mon, 18 Apr 2022 11:46:13 GMT</pubDate>
    <dc:creator>SASdevAnneMarie</dc:creator>
    <dc:date>2022-04-18T11:46:13Z</dc:date>
    <item>
      <title>Ods word: can't open the document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808077#M318628</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to make the ods word document with SAS 8.3 version ?&lt;/P&gt;
&lt;P&gt;My code is :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ods noresults;
ods escapechar="^";
footnote4 J=Right font =Arial  HEIGHT=8pt '^{thispage}/^{lastpage}';
options orientation=landscape /*topmargin=1.5cm bottommargin=1.5cm*/
leftmargin=1.5 cm rightmargin=1.5cm nodate nonumber;

ods word file="&amp;amp;Publications.\ANNEXE_FI_&amp;amp;DatePubli..docx";

proc report data=Resultats  split='|' nowd 
	style(report)=[ frame = hsides background  = white    bordercolor = CX1457D9 borderwidth =.1cm  rules=rows just=left] style(header)=[background =white font_size = 8pt font_face = 'Arial' font_weight = bold color=black just = center bordercolor = white] style(column)=[font_size = 8 pt font_face = 'Arial' bordercolor=black color =black just = c];
	columns ('Annexe fi'  ( "Code ISIN"n
		"Nom support"n
		"Société de gestion"n)) ('' ("Performance brute de l'actif N1"n ))
		('' ("Frais de gestion de l'actif"n ))
		('' ("Performance nette de l'UC"n )) 
		('' ("Frais de gestion du contrat"n ))   
		('' ("Performance finale"n ))   
		( ("Taux de rétrocessions de commiss"n )) 
	;
	define "Code ISIN"n / display "Code ISIN"  style(header)=[background =CX1457D9 font_size = 8pt font_face = 'Arial' font_weight = medium color=white  borderrightcolor =CX1457D9 borderleftcolor =CX1457D9 borderleftwidth=0.6pt  just = c]style(column)=[ borderleftcolor=CX1457D9   just = l font_size = 7pt cellwidth=2.5 cm borderleftwidth=0.6pt];
	define "Nom support"n / display "Libellé"  style(header)=[background =CX1457D9 font_size = 8pt font_face = 'Arial' font_weight = medium color=white   just = c borderleftcolor =CX1457D9 borderleftwidth=0.6pt] style(column)=[ borderleftcolor=CX1457D9 just = l font_size = 7pt cellwidth=5 cm borderleftwidth=0.6pt];
	define "Société de gestion"n / display "Société de gestion"  style(header)=[background =CX1457D9 font_size = 8pt font_face = 'Arial' font_weight = medium color=white  just = c borderleftcolor =CX1457D9 borderleftwidth=0.6pt] style(column)=[ borderleftcolor=CX1457D9  just = l font_size = 7pt cellwidth=5 cm borderleftwidth=0.6pt];
	define "Performance brute de l'actif N1"n / display "Performance brute|de l'actif N1|(A)"  style(header)=[background =CX1457D9 font_size = 8pt font_face = 'Arial' font_weight = medium color=white just = c borderleftcolor =CX1457D9 borderleftwidth=0.6pt] style(column)=[ borderleftcolor=CX1457D9  just = r font_size = 7pt cellwidth=2 cm borderleftwidth=0.6pt];
	define "Frais de gestion de l'actif"n / display "Frais de gestion|de l'actif|(B)" style(header)=[background =CX1457D9 font_size = 8pt font_face = 'Arial' font_weight = medium color=white  just = c borderleftcolor =CX1457D9 borderleftwidth=0.6pt] style(column)=[ borderleftcolor=CX1457D9   just = r font_size = 7pt cellwidth=2 cm borderleftwidth=0.6pt];
	define "Performance nette de l'UC"n / display "Performance nette|de l'unité de compte N-1|(A-B)"  style(header)=[background =CX1457D9 font_size = 8pt font_face = 'Arial' font_weight = medium color=white  just = c borderleftcolor =CX1457D9 borderleftwidth=0.6pt] style(column)=[ borderleftcolor=CX1457D9   just = r font_size = 7pt cellwidth=2 cm borderleftwidth=0.6pt];
	define "Frais de gestion du contrat"n / display "Frais de gestion|du contrat**|(C)" style(header)=[background =CX1457D9 font_size = 8pt font_face = 'Arial' font_weight = medium color=white just = c borderleftcolor =CX1457D9 borderleftwidth=0.6pt] style(column)=[ borderleftcolor=CX1457D9  just = r font_size = 7pt cellwidth=2 cm borderleftwidth=0.6pt];
	define "Performance finale"n / display "Performance|finale|(A-B-C)" style(header)=[background =CX1457D9 font_size = 8pt font_face = 'Arial' font_weight = medium color=white  borderleftcolor =CX1457D9 just = c borderleftwidth=0.6pt] style(column)=[ borderleftcolor=CX1457D9  just = r font_size = 7pt cellwidth=2 cm borderleftwidth=0.6pt];
	define "Taux de rétrocessions de commiss"n / display "Taux de rétrocessions|de commissions" style(header)=[background =CX1457D9 font_size = 8pt font_face = 'Arial' font_weight = medium color=white  borderrightcolor =CX1457D9 just = c borderrightwidth=0.6pt just = c borderleftcolor =CX1457D9] style(column)=[ borderleftcolor=CX1457D9   borderrightcolor=CX1457D9 just = r  borderrightwidth=0.6pt  borderleftwidth=0.6pt font_size = 7pt cellwidth=2.2 cm];
run;

ods word close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The data is joined.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have no error but I can't open the file :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASdevAnneMarie_0-1650047910635.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70441iABEFBA52A441CB26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASdevAnneMarie_0-1650047910635.png" alt="SASdevAnneMarie_0-1650047910635.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the help !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 18:40:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808077#M318628</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2022-04-15T18:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ods word: can't open the document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808084#M318635</link>
      <description>&lt;P&gt;ODS Word is still pre-production. That means that it may have problems, and some of them may not be obvious.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest using ODS RTF and then use a word processing program to convert to DOCX if needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried ODS Word with some Proc Tabulate tables that have worked with RTF for years and wasn't happy with results though graphs from Proc SGplot seem to work fine.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 19:31:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808084#M318635</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-04-15T19:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ods word: can't open the document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808099#M318646</link>
      <description>&lt;P&gt;Did you actually write anything to the WORD document?&lt;/P&gt;
&lt;P&gt;Doesn't that first line shut down ODS from writing anything?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods noresults;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Apr 2022 22:26:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808099#M318646</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-04-15T22:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ods word: can't open the document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808289#M318719</link>
      <description>Thank you, Tom.&lt;BR /&gt;Yes, I write. I put ods noresults; just for non-appearance of documents in SASEG.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Apr 2022 11:46:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808289#M318719</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2022-04-18T11:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ods word: can't open the document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808290#M318720</link>
      <description>Thank you ballardw !&lt;BR /&gt;RTF is works.&lt;BR /&gt;How to convert the RTF file to DOCX please ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Apr 2022 11:59:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808290#M318720</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2022-04-18T11:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ods word: can't open the document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808321#M318736</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/286185"&gt;@SASdevAnneMarie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you ballardw !&lt;BR /&gt;RTF is works.&lt;BR /&gt;How to convert the RTF file to DOCX please ?&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would suggest clicking on the RTF document outside of SAS and see which program opens (If you have Word installed that is likely to be the program). Then in that program File Save AS and select DOCX as the file format.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 14:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808321#M318736</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-04-18T14:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ods word: can't open the document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808372#M318762</link>
      <description>Thank you, Ballardw!&lt;BR /&gt;That works !</description>
      <pubDate>Mon, 18 Apr 2022 18:03:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808372#M318762</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2022-04-18T18:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ods word: can't open the document</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808373#M318763</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/286185"&gt;@SASdevAnneMarie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you, Ballardw!&lt;BR /&gt;That works !&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would hope so. On some days I do this more than 25 times. (I really don't like the appearance of some of ODS Word output for some of my tables.)&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 18:04:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Ods-word-can-t-open-the-document/m-p/808373#M318763</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-04-18T18:04:50Z</dc:date>
    </item>
  </channel>
</rss>

