<?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: when the source dataset name contains dashes in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543304#M150177</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/128145"&gt;@Dennis_K&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I'm writing a macro to copy the datasets from the source library. The source dataset name contains dashes.&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Not in the code/log excerpt you posted.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2019 20:34:15 GMT</pubDate>
    <dc:creator>ScottBass</dc:creator>
    <dc:date>2019-03-14T20:34:15Z</dc:date>
    <item>
      <title>when the source dataset name contains dashes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543009#M150089</link>
      <description>&lt;P&gt;154 data myprint.conractInformations-Sites; set disctool.conractInformations_Sites; run;&lt;BR /&gt;-&lt;BR /&gt;22&lt;BR /&gt;200&lt;BR /&gt;ERROR: File DISCTOOL.conractInformations_Sites.DATA does not exist.&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, /, ;,&lt;BR /&gt;_DATA_, _LAST_, _NULL_.&lt;/P&gt;&lt;P&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 05:17:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543009#M150089</guid>
      <dc:creator>Dennis_K</dc:creator>
      <dc:date>2019-03-14T05:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: when the source dataset name contains dashes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543010#M150090</link>
      <description>&lt;P&gt;SAS names can only contain letters, digits or underlines, and must not start with a digit.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 05:22:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543010#M150090</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-14T05:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: when the source dataset name contains dashes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543012#M150091</link>
      <description>&lt;P&gt;This is likely to work but why change to non-standard names? You'll end up with a lot of extra typing in your programs:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data myprint.'conractInformations-Sites'n; set disctool.conractInformations_Sites; run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Mar 2019 05:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543012#M150091</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-03-14T05:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: when the source dataset name contains dashes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543021#M150097</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;154 data myprint.conractInformations-Sites; set disctool.conractInformations_Sites; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your &lt;U&gt;&lt;STRONG&gt;source&lt;/STRONG&gt; &lt;/U&gt;dataset is&amp;nbsp;&lt;SPAN&gt;disctool.conractInformations_Sites, and does not contain a dash.&amp;nbsp; Does it in fact exist?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Because the error message is:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: File DISCTOOL.conractInformations_Sites.DATA does not exist.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That name does not contain a dash, it contains an underscore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your &lt;U&gt;&lt;STRONG&gt;target&lt;/STRONG&gt;&lt;/U&gt; dataset is&amp;nbsp;myprint.conractInformations-Sites.&amp;nbsp; You should have control over that name, since your code is creating the dataset.&amp;nbsp; Don't use dashes.&amp;nbsp; Problem solved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 06:04:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543021#M150097</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2019-03-14T06:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: when the source dataset name contains dashes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543117#M150125</link>
      <description>&lt;PRE&gt;options validmemname=extend ;

data myprint.'conractInformations-Sites'n;
 set .........&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Mar 2019 12:19:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543117#M150125</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-03-14T12:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: when the source dataset name contains dashes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543205#M150148</link>
      <description>I'm writing a macro to copy the datasets from the source library. The source dataset name contains dashes.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Mar 2019 15:17:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543205#M150148</guid>
      <dc:creator>Dennis_K</dc:creator>
      <dc:date>2019-03-14T15:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: when the source dataset name contains dashes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543304#M150177</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/128145"&gt;@Dennis_K&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I'm writing a macro to copy the datasets from the source library. The source dataset name contains dashes.&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Not in the code/log excerpt you posted.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 20:34:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/when-the-source-dataset-name-contains-dashes/m-p/543304#M150177</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2019-03-14T20:34:15Z</dc:date>
    </item>
  </channel>
</rss>

