<?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: Check numbering in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Check-numbering/m-p/865314#M341721</link>
    <description>Exactly, you can imagine that there were images to evaluate (file). These images may have been analyzed one or several times and saved as a "name". It is important that there is a consecutive sequentially numbering of these analyses.</description>
    <pubDate>Mon, 20 Mar 2023 21:57:35 GMT</pubDate>
    <dc:creator>Zakharkou</dc:creator>
    <dc:date>2023-03-20T21:57:35Z</dc:date>
    <item>
      <title>Check numbering</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Check-numbering/m-p/865308#M341715</link>
      <description>&lt;P&gt;Dear SAS Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your help.&lt;/P&gt;&lt;P&gt;I have the following data set:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;file&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var&lt;BR /&gt;file1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;file2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;BR /&gt;file3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;BR /&gt;file3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;BR /&gt;file4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;file4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The currently question is - how can I check that the entries of variable "name" are always numbered, i.e. always "name1, name2", etc.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And not for example "name1, name3" or "name1, name2, name4".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And if there is a wrong order, how can I convert them beeing numbered correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 21:29:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Check-numbering/m-p/865308#M341715</guid>
      <dc:creator>Zakharkou</dc:creator>
      <dc:date>2023-03-20T21:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Check numbering</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Check-numbering/m-p/865311#M341718</link>
      <description>&lt;P&gt;Is there any logic to determine when name should be blank?&lt;/P&gt;
&lt;P&gt;Is there any logic to determine when the name numbering should restart to name1?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 21:43:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Check-numbering/m-p/865311#M341718</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-03-20T21:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Check numbering</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Check-numbering/m-p/865312#M341719</link>
      <description>&lt;P&gt;You will need to describe in a bit more detail what you mean by "how can I check that the entries of variable "name" are always numbered, i.e. always "name1, name2", etc.". Do you mean "numbered sequentially"? And possibly "within value groups of the variable named File"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would have to show what you expect an output to be given that example as I have no idea what the conversion is supposed to look like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, if the value "name" changes sometimes then your example really should show such. It is quite possible to provide a solution for fixed values, i.e. the text 'name' that will not extend to something where the part of the name changes, such as possibly when the File variable changes.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 21:45:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Check-numbering/m-p/865312#M341719</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-03-20T21:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Check numbering</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Check-numbering/m-p/865313#M341720</link>
      <description>&lt;P&gt;Yes, in principle the variable "name" is blank if var=0. var=1 should restart the numbering.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 21:49:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Check-numbering/m-p/865313#M341720</guid>
      <dc:creator>Zakharkou</dc:creator>
      <dc:date>2023-03-20T21:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Check numbering</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Check-numbering/m-p/865314#M341721</link>
      <description>Exactly, you can imagine that there were images to evaluate (file). These images may have been analyzed one or several times and saved as a "name". It is important that there is a consecutive sequentially numbering of these analyses.</description>
      <pubDate>Mon, 20 Mar 2023 21:57:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Check-numbering/m-p/865314#M341721</guid>
      <dc:creator>Zakharkou</dc:creator>
      <dc:date>2023-03-20T21:57:35Z</dc:date>
    </item>
  </channel>
</rss>

