<?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 Create observations depending on the length of Name in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-observations-depending-on-the-length-of-Name/m-p/744641#M233300</link>
    <description>&lt;P&gt;how to create Create observations depending on the length of the Name.&lt;/P&gt;</description>
    <pubDate>Mon, 31 May 2021 11:19:33 GMT</pubDate>
    <dc:creator>AmitParmar</dc:creator>
    <dc:date>2021-05-31T11:19:33Z</dc:date>
    <item>
      <title>Create observations depending on the length of Name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-observations-depending-on-the-length-of-Name/m-p/744641#M233300</link>
      <description>&lt;P&gt;how to create Create observations depending on the length of the Name.&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 11:19:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-observations-depending-on-the-length-of-Name/m-p/744641#M233300</guid>
      <dc:creator>AmitParmar</dc:creator>
      <dc:date>2021-05-31T11:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-observations-depending-on-the-length-of-Name/m-p/744643#M233302</link>
      <description>&lt;P&gt;Please go back to your original post and provide a meaningful title, one that describes the problem. Since this is the SAS Community, a subject that says "SAS" isn't useful or meaningful. We're trying to help you, but you also have to help us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, your problem description needs a lot more detail and information, and probably a small example would help as well.&lt;/P&gt;</description>
      <pubDate>Sun, 30 May 2021 10:23:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-observations-depending-on-the-length-of-Name/m-p/744643#M233302</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-05-30T10:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-observations-depending-on-the-length-of-Name/m-p/744698#M233334</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/383795"&gt;@AmitParmar&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;how to create Create observations depending on the length of the Name.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I think you are missing a few details here. Like exactly how the length of name is to be used, what is supposed to be created and where any values might come from.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example of starting data, rules and an example of the data with the rules applied are a good idea.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a SAS data step you can test the length of a value, the number or characters using the LENGTH function. such as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if length(name) = 20 then do;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;stuff depending on that length goes here&amp;gt;&lt;/P&gt;
&lt;P&gt;end;&lt;/P&gt;</description>
      <pubDate>Sun, 30 May 2021 20:03:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-observations-depending-on-the-length-of-Name/m-p/744698#M233334</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-30T20:03:18Z</dc:date>
    </item>
  </channel>
</rss>

