<?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: Creating Dynamic Flag based on character values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Creating-Dynamic-Flag-based-on-character-values/m-p/550656#M152909</link>
    <description>&lt;P&gt;What does your starting data set look like?&lt;/P&gt;
&lt;P&gt;Do the values of "group" shown cover all the possible values of group that will ever be encountered?&lt;/P&gt;
&lt;P&gt;What are the rules for assigning the value of Flag? i.e. What is the rule for determining the pattern?&amp;nbsp;This is &lt;STRONG&gt;very&lt;/STRONG&gt; important if the answer to the above question about group values is "no".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you mean by "dynamic" in this sense? Dynamic usually refers to code that changes based on the data or some routine. So what would change? How would we know that it changed?&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2019 14:33:06 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-04-12T14:33:06Z</dc:date>
    <item>
      <title>Creating Dynamic Flag based on character values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Dynamic-Flag-based-on-character-values/m-p/550561#M152873</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to build a logic for getting attached output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some specific rows in a column where i want to assign them a flag in a particular pattern. Please refer attached screenshot for desired output. Overall detailed &amp;amp; overall procurement are the keys rows. from overall detailed all the above values should be flag 1 and from overall procurement all the above values should be flag 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here comes the interesting part, Flag should be dynamic so that when ever a new value is being insert automatically flag generate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 10:41:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Dynamic-Flag-based-on-character-values/m-p/550561#M152873</guid>
      <dc:creator>ASHISH2525</dc:creator>
      <dc:date>2019-04-12T10:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Dynamic Flag based on character values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Dynamic-Flag-based-on-character-values/m-p/550633#M152897</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want people answer to your request :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- You should not put attach files because some people can't open it&lt;/P&gt;&lt;P&gt;- You have also to create a dataset representative of your datas (what you HAVE) and a picture for example of what you WANT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Onizuka&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 13:50:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Dynamic-Flag-based-on-character-values/m-p/550633#M152897</guid>
      <dc:creator>Onizuka</dc:creator>
      <dc:date>2019-04-12T13:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Dynamic Flag based on character values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Dynamic-Flag-based-on-character-values/m-p/550656#M152909</link>
      <description>&lt;P&gt;What does your starting data set look like?&lt;/P&gt;
&lt;P&gt;Do the values of "group" shown cover all the possible values of group that will ever be encountered?&lt;/P&gt;
&lt;P&gt;What are the rules for assigning the value of Flag? i.e. What is the rule for determining the pattern?&amp;nbsp;This is &lt;STRONG&gt;very&lt;/STRONG&gt; important if the answer to the above question about group values is "no".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you mean by "dynamic" in this sense? Dynamic usually refers to code that changes based on the data or some routine. So what would change? How would we know that it changed?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 14:33:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Dynamic-Flag-based-on-character-values/m-p/550656#M152909</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-04-12T14:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Dynamic Flag based on character values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Dynamic-Flag-based-on-character-values/m-p/550829#M152966</link>
      <description>&lt;P&gt;Hi ballardw,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your valuable inputs. However i have resolved the issue.&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;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2019 04:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Dynamic-Flag-based-on-character-values/m-p/550829#M152966</guid>
      <dc:creator>ASHISH2525</dc:creator>
      <dc:date>2019-04-13T04:37:25Z</dc:date>
    </item>
  </channel>
</rss>

