<?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: something not working right importing .xlxs file in SAS OnDemand Academics in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/something-not-working-right-importing-xlxs-file-in-SAS-OnDemand/m-p/778065#M233</link>
    <description>OPTIONS VALIDVARNAME=V7;&lt;BR /&gt;&lt;BR /&gt;The default in Studio and EG is VALIDVARNAME=ANY which is a bit more modern but a pain to deal with when programming. &lt;BR /&gt;Add the option to your AUTOEXEC in Studio and forget about it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Tue, 02 Nov 2021 23:38:28 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-11-02T23:38:28Z</dc:date>
    <item>
      <title>something not working right importing .xlxs file in SAS OnDemand Academics</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/something-not-working-right-importing-xlxs-file-in-SAS-OnDemand/m-p/778064#M232</link>
      <description>&lt;P&gt;Iam reading an excel file using OnDemand. I tried both my own code and the right clicking option. Some of the variables names have spaces/#/- characters in the names, which we would expect SAS to convert to underscore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE="/home/....../raw data.xlsx"&lt;BR /&gt;OUT=WORK.MYdata&lt;BR /&gt;DBMS=XLSX&lt;BR /&gt;REPLACE;&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log says everything went ok:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The import data set has 75 observations and 31 variables.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: WORK.MYdata data set was successfully created.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;However, this is how PROC CONTENTS looks like:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Group&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;Group&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Plate&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;Plate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Cohort&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;Cohort&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Dam ID&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;Dam ID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Infant ID&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;Infant ID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Day&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;Day&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;GM-CSF&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;GM-CSF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;IFN-g&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;IFN-g&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;IL-1b&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;IL-1b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;IL-ra&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;IL-ra&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not get any of the usual messages about SAS converting IFN-g to IFN_g, etc...&lt;BR /&gt;Also running the exact same code in the licensed version produces this (which is what we would expect):&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;&lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Group&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;Group&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Plate&lt;/TD&g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TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;IL-1b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;IL_ra&lt;/TD&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;BEST.&lt;/TD&gt;&lt;TD&gt;IL-ra&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I an not sure what to try anymore. Why isn't SAS OnDemand giving me exactly the same result as the licensed version? (I ended up creating a SAS file in the licensed version and reading that file in the OnDemand, but I would like to be able to just import the xlsx file). Does anybody have any suggestions? I am attaching an abbreviated data set.Thank you!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Nov 2021 23:28:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/something-not-working-right-importing-xlxs-file-in-SAS-OnDemand/m-p/778064#M232</guid>
      <dc:creator>anamaria2</dc:creator>
      <dc:date>2021-11-02T23:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: something not working right importing .xlxs file in SAS OnDemand Academics</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/something-not-working-right-importing-xlxs-file-in-SAS-OnDemand/m-p/778065#M233</link>
      <description>OPTIONS VALIDVARNAME=V7;&lt;BR /&gt;&lt;BR /&gt;The default in Studio and EG is VALIDVARNAME=ANY which is a bit more modern but a pain to deal with when programming. &lt;BR /&gt;Add the option to your AUTOEXEC in Studio and forget about it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 02 Nov 2021 23:38:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/something-not-working-right-importing-xlxs-file-in-SAS-OnDemand/m-p/778065#M233</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-11-02T23:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: something not working right importing .xlxs file in SAS OnDemand Academics</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/something-not-working-right-importing-xlxs-file-in-SAS-OnDemand/m-p/778192#M234</link>
      <description>&lt;P&gt;You can also set this option by select the More Options Icon on top right &amp;amp; then selecting preferences, select Tables from the list&amp;nbsp; &amp;amp; set SAS variable name policy to V7.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tom_grant_0-1635947296209.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65347i80F8AC4B263BD42B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tom_grant_0-1635947296209.png" alt="tom_grant_0-1635947296209.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 13:48:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/something-not-working-right-importing-xlxs-file-in-SAS-OnDemand/m-p/778192#M234</guid>
      <dc:creator>tom_grant</dc:creator>
      <dc:date>2021-11-03T13:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: something not working right importing .xlxs file in SAS OnDemand Academics</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/something-not-working-right-importing-xlxs-file-in-SAS-OnDemand/m-p/778196#M235</link>
      <description>Make sure you Save your preferences.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Nov 2021 13:50:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/something-not-working-right-importing-xlxs-file-in-SAS-OnDemand/m-p/778196#M235</guid>
      <dc:creator>tom_grant</dc:creator>
      <dc:date>2021-11-03T13:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: something not working right importing .xlxs file in SAS OnDemand Academics</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/something-not-working-right-importing-xlxs-file-in-SAS-OnDemand/m-p/780125#M263</link>
      <description>&lt;P&gt;Thank you so much for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Worked perfectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;ana-maria&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 06:32:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/something-not-working-right-importing-xlxs-file-in-SAS-OnDemand/m-p/780125#M263</guid>
      <dc:creator>anamaria2</dc:creator>
      <dc:date>2021-11-14T06:32:55Z</dc:date>
    </item>
  </channel>
</rss>

