<?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 ods powerpoint background image in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-powerpoint-background-image/m-p/753095#M39061</link>
    <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;I am trying to create a powerpoint through an ods powerpoint on sas entreprise guide.&lt;/P&gt;&lt;P&gt;I have tried with these to ways :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* option 1*/&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;template&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;define&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; styles.imagebackground;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;parent&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=styles.powerpointlight;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; body /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;backgroundimage&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"&amp;amp;CHEMINDATA.Slide1.png"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; data, table, headersandfooters /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;bordercolor&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = dark2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; systemtitle, systemfooter /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just=center;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; bodydate /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;just=right vjust=top width=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;%;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; pageno /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;just=left vjust=top width=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;%;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;ods&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;powerpoint&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'"&amp;amp;cheminout.&amp;amp;nom_rapport..ppt'&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=styles.imagebackground;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;odstext&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;p &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;""&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;p &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"test"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;ods&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;powerpoint&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* option 2/&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;ods&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;powerpoint&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'"&amp;amp;cheminout.&amp;amp;nom_rapport..ppt'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; options(backgroundimage=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"&amp;amp;CHEMINDATA.Slide1.png"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;odstext&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;p &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;""&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;p &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"test"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;ods&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;powerpoint&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For these 2 options an error appears 'Invalid data error' an no image is displayed on the background:&lt;/P&gt;&lt;P&gt;/*log 1*/&lt;/P&gt;&lt;P&gt;23 proc template;&lt;/P&gt;&lt;P&gt;24 define style styles.imagebackground;&lt;/P&gt;&lt;P&gt;25 parent=styles.powerpointlight;&lt;/P&gt;&lt;P&gt;26 class body /&lt;/P&gt;&lt;P&gt;27 backgroundimage="&amp;amp;CHEMINDATA.Slide1.png";&lt;/P&gt;&lt;P&gt;SYMBOLGEN: Macro variable CHEMINDATA resolves to /home/E0399071/wise/DEVOPS/ACXIM_PRP/RM/MLE_RT_063141/REPORT/DATA/&lt;/P&gt;&lt;P&gt;28 class data, table, headersandfooters /&lt;/P&gt;&lt;P&gt;29 bordercolor = dark2;&lt;/P&gt;&lt;P&gt;30 class systemtitle, systemfooter /&lt;/P&gt;&lt;P&gt;31 just=center;&lt;/P&gt;&lt;P&gt;32 class bodydate /&lt;/P&gt;&lt;P&gt;33 just=right vjust=top width=50%;&lt;/P&gt;&lt;P&gt;34 class pageno /&lt;/P&gt;&lt;P&gt;35 just=left vjust=top width=50%;&lt;/P&gt;&lt;P&gt;36 end;&lt;/P&gt;&lt;P&gt;NOTE: Overwriting existing template/link: Styles.Imagebackground&lt;/P&gt;&lt;P&gt;NOTE: STYLE 'Styles.Imagebackground' has been saved to: WORK.TEMPLAT&lt;/P&gt;&lt;P&gt;37 run;&lt;/P&gt;&lt;P&gt;38&lt;/P&gt;&lt;P&gt;39&lt;/P&gt;&lt;P&gt;40 ods powerpoint file='"&amp;amp;cheminout.&amp;amp;nom_rapport..ppt' style=styles.imagebackground;&lt;/P&gt;&lt;P&gt;The SAS System&lt;/P&gt;&lt;P&gt;ERROR: &lt;STRONG&gt;Invalid data length.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;41&lt;/P&gt;&lt;P&gt;42 proc odstext;&lt;/P&gt;&lt;P&gt;43 p "";&lt;/P&gt;&lt;P&gt;44 p "test";&lt;/P&gt;&lt;P&gt;45 run;&lt;/P&gt;&lt;P&gt;NOTE: The PROCEDURE ODSTEXT printed page 1.&lt;/P&gt;&lt;P&gt;46 ods powerpoint close;&lt;/P&gt;&lt;P&gt;NOTE: Writing POWERPOINT file: ./"&amp;amp;cheminout.&amp;amp;nom_rapport..ppt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*log 2*/&lt;/P&gt;&lt;P&gt;23 ods powerpoint file='"&amp;amp;cheminout.&amp;amp;nom_rapport..ppt' options(backgroundimage="&amp;amp;CHEMINDATA.Slide1.png");&lt;/P&gt;&lt;P&gt;SYMBOLGEN: Macro variable CHEMINDATA resolves to /home/E0399071/wise/DEVOPS/ACXIM_PRP/RM/MLE_RT_063141/REPORT/DATA/&lt;/P&gt;&lt;P&gt;24&lt;/P&gt;&lt;P&gt;25 proc odstext;&lt;/P&gt;&lt;P&gt;26 p "";&lt;/P&gt;&lt;P&gt;27 p "test";&lt;/P&gt;&lt;P&gt;28 run;&lt;/P&gt;&lt;P&gt;ERROR: &lt;STRONG&gt;Invalid data length.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NOTE: The PROCEDURE ODSTEXT printed page 1.&lt;/P&gt;&lt;P&gt;29 ods powerpoint close;&lt;/P&gt;&lt;P&gt;NOTE: Writing POWERPOINT file: ./"&amp;amp;cheminout.&amp;amp;nom_rapport..ppt&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=======&amp;gt; Do you have any clue in how I can solve this problem?&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jul 2021 09:46:45 GMT</pubDate>
    <dc:creator>Géraldine1</dc:creator>
    <dc:date>2021-07-09T09:46:45Z</dc:date>
    <item>
      <title>ods powerpoint background image</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-powerpoint-background-image/m-p/753095#M39061</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;I am trying to create a powerpoint through an ods powerpoint on sas entreprise guide.&lt;/P&gt;&lt;P&gt;I have tried with these to ways :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* option 1*/&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;template&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;define&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; styles.imagebackground;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;parent&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=styles.powerpointlight;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; body /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;backgroundimage&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"&amp;amp;CHEMINDATA.Slide1.png"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; data, table, headersandfooters /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;bordercolor&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = dark2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; systemtitle, systemfooter /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just=center;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; bodydate /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;just=right vjust=top width=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;%;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; pageno /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;just=left vjust=top width=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;%;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;ods&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;powerpoint&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'"&amp;amp;cheminout.&amp;amp;nom_rapport..ppt'&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=styles.imagebackground;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;odstext&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;p &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;""&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;p &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"test"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;ods&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;powerpoint&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* option 2/&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;ods&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;powerpoint&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'"&amp;amp;cheminout.&amp;amp;nom_rapport..ppt'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; options(backgroundimage=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"&amp;amp;CHEMINDATA.Slide1.png"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;odstext&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;p &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;""&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;p &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"test"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;ods&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;powerpoint&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For these 2 options an error appears 'Invalid data error' an no image is displayed on the background:&lt;/P&gt;&lt;P&gt;/*log 1*/&lt;/P&gt;&lt;P&gt;23 proc template;&lt;/P&gt;&lt;P&gt;24 define style styles.imagebackground;&lt;/P&gt;&lt;P&gt;25 parent=styles.powerpointlight;&lt;/P&gt;&lt;P&gt;26 class body /&lt;/P&gt;&lt;P&gt;27 backgroundimage="&amp;amp;CHEMINDATA.Slide1.png";&lt;/P&gt;&lt;P&gt;SYMBOLGEN: Macro variable CHEMINDATA resolves to /home/E0399071/wise/DEVOPS/ACXIM_PRP/RM/MLE_RT_063141/REPORT/DATA/&lt;/P&gt;&lt;P&gt;28 class data, table, headersandfooters /&lt;/P&gt;&lt;P&gt;29 bordercolor = dark2;&lt;/P&gt;&lt;P&gt;30 class systemtitle, systemfooter /&lt;/P&gt;&lt;P&gt;31 just=center;&lt;/P&gt;&lt;P&gt;32 class bodydate /&lt;/P&gt;&lt;P&gt;33 just=right vjust=top width=50%;&lt;/P&gt;&lt;P&gt;34 class pageno /&lt;/P&gt;&lt;P&gt;35 just=left vjust=top width=50%;&lt;/P&gt;&lt;P&gt;36 end;&lt;/P&gt;&lt;P&gt;NOTE: Overwriting existing template/link: Styles.Imagebackground&lt;/P&gt;&lt;P&gt;NOTE: STYLE 'Styles.Imagebackground' has been saved to: WORK.TEMPLAT&lt;/P&gt;&lt;P&gt;37 run;&lt;/P&gt;&lt;P&gt;38&lt;/P&gt;&lt;P&gt;39&lt;/P&gt;&lt;P&gt;40 ods powerpoint file='"&amp;amp;cheminout.&amp;amp;nom_rapport..ppt' style=styles.imagebackground;&lt;/P&gt;&lt;P&gt;The SAS System&lt;/P&gt;&lt;P&gt;ERROR: &lt;STRONG&gt;Invalid data length.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;41&lt;/P&gt;&lt;P&gt;42 proc odstext;&lt;/P&gt;&lt;P&gt;43 p "";&lt;/P&gt;&lt;P&gt;44 p "test";&lt;/P&gt;&lt;P&gt;45 run;&lt;/P&gt;&lt;P&gt;NOTE: The PROCEDURE ODSTEXT printed page 1.&lt;/P&gt;&lt;P&gt;46 ods powerpoint close;&lt;/P&gt;&lt;P&gt;NOTE: Writing POWERPOINT file: ./"&amp;amp;cheminout.&amp;amp;nom_rapport..ppt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*log 2*/&lt;/P&gt;&lt;P&gt;23 ods powerpoint file='"&amp;amp;cheminout.&amp;amp;nom_rapport..ppt' options(backgroundimage="&amp;amp;CHEMINDATA.Slide1.png");&lt;/P&gt;&lt;P&gt;SYMBOLGEN: Macro variable CHEMINDATA resolves to /home/E0399071/wise/DEVOPS/ACXIM_PRP/RM/MLE_RT_063141/REPORT/DATA/&lt;/P&gt;&lt;P&gt;24&lt;/P&gt;&lt;P&gt;25 proc odstext;&lt;/P&gt;&lt;P&gt;26 p "";&lt;/P&gt;&lt;P&gt;27 p "test";&lt;/P&gt;&lt;P&gt;28 run;&lt;/P&gt;&lt;P&gt;ERROR: &lt;STRONG&gt;Invalid data length.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NOTE: The PROCEDURE ODSTEXT printed page 1.&lt;/P&gt;&lt;P&gt;29 ods powerpoint close;&lt;/P&gt;&lt;P&gt;NOTE: Writing POWERPOINT file: ./"&amp;amp;cheminout.&amp;amp;nom_rapport..ppt&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=======&amp;gt; Do you have any clue in how I can solve this problem?&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 09:46:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-powerpoint-background-image/m-p/753095#M39061</guid>
      <dc:creator>Géraldine1</dc:creator>
      <dc:date>2021-07-09T09:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: ods powerpoint background image</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-powerpoint-background-image/m-p/753109#M39064</link>
      <description>&lt;P&gt;I don't think you need the PROC TEMPLATE to get a background image.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37420"&gt;@JaneEslinger&lt;/a&gt;&amp;nbsp;shares a &lt;A href="https://blogs.sas.com/content/sastraining/2018/04/24/background-images-and-the-ods-destination-for-powerpoint/" target="_self"&gt;simple approach in this blog post&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure (of course) that the image you reference is accessible in your SAS session, that it's a valid image file, and that the name is correct (case matters too, on UNIX systems).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 11:27:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-powerpoint-background-image/m-p/753109#M39064</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2021-07-09T11:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: ods powerpoint background image</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-powerpoint-background-image/m-p/753436#M39070</link>
      <description>it is a .png file, I have tried with several kind of images (.png .jpeg), in several locations and I have tried to rename the image, same error 'invalid data length',nothing works..</description>
      <pubDate>Mon, 12 Jul 2021 08:00:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-powerpoint-background-image/m-p/753436#M39070</guid>
      <dc:creator>Géraldine1</dc:creator>
      <dc:date>2021-07-12T08:00:30Z</dc:date>
    </item>
  </channel>
</rss>

