<?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: Can %let statement be used to substitute just a part of a word? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Can-let-statement-be-used-to-substitute-just-a-part-of-a-word/m-p/882742#M39164</link>
    <description>&lt;P&gt;The macro variable will resolve before the data step executes. The SAS "data step compiler" will "see":&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;data= DBxx;
set DBinput;
run;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that's what you want to happen then you're good to go.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 07:01:45 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2023-06-28T07:01:45Z</dc:date>
    <item>
      <title>Can %let statement be used to substitute just a part of a word?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Can-let-statement-be-used-to-substitute-just-a-part-of-a-word/m-p/882741#M39163</link>
      <description>&lt;P&gt;Hi everybody, what i mean is I have two dataset which are named the same with the difference of a number, can i use %let so that the code runs the two dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let number=xx;

data= DB&amp;amp;number;
set DBinput;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;would this work? is it correct? thanks for support&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 06:08:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Can-let-statement-be-used-to-substitute-just-a-part-of-a-word/m-p/882741#M39163</guid>
      <dc:creator>ari2495</dc:creator>
      <dc:date>2023-06-28T06:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can %let statement be used to substitute just a part of a word?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Can-let-statement-be-used-to-substitute-just-a-part-of-a-word/m-p/882742#M39164</link>
      <description>&lt;P&gt;The macro variable will resolve before the data step executes. The SAS "data step compiler" will "see":&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;data= DBxx;
set DBinput;
run;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that's what you want to happen then you're good to go.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 07:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Can-let-statement-be-used-to-substitute-just-a-part-of-a-word/m-p/882742#M39164</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2023-06-28T07:01:45Z</dc:date>
    </item>
  </channel>
</rss>

