<?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: this range is repeated, or values overlap in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/this-range-is-repeated-or-values-overlap/m-p/862926#M340873</link>
    <description>using NODUPKEY option on PROC SORT by start worked&lt;BR /&gt;Thank you</description>
    <pubDate>Wed, 08 Mar 2023 12:48:21 GMT</pubDate>
    <dc:creator>qwerty12</dc:creator>
    <dc:date>2023-03-08T12:48:21Z</dc:date>
    <item>
      <title>this range is repeated, or values overlap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/this-range-is-repeated-or-values-overlap/m-p/862903#M340856</link>
      <description>&lt;PRE&gt;data ttspilot_fmt;
set n2p.tts_pilot_uid_092917 end=eof;
if MPIN ='0000103759' then delete; 
start = strip(UID);
label = "Y";
fmtname = "$ttsuid";
keep start label fmtname;
output;
if eof then do;
  start = 'other';
  label = ' ';
  output;
end;
run;

proc format cntlin=ttspilot_fmt;
run;

Error - For format $TTSUID, this range is repeated, or values overlap: U461405348103759-U461405348103759.&lt;/PRE&gt;&lt;P&gt;Error - For format $TTSUID, this range is repeated, or values overlap: U461405348103759-U461405348103759.&lt;/P&gt;&lt;P&gt;can anyone guide where could be exact issue, where to do changes in code part to overcome this error&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 11:23:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/this-range-is-repeated-or-values-overlap/m-p/862903#M340856</guid>
      <dc:creator>qwerty12</dc:creator>
      <dc:date>2023-03-08T11:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: this range is repeated, or values overlap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/this-range-is-repeated-or-values-overlap/m-p/862908#M340858</link>
      <description>&lt;P&gt;My guess is that the input data set has duplicate values. You can remove the duplicate values by using the NODUPKEY option on PROC SORT:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc sort data=n2p.tts_pilot_uid_092917 nodupkey out=Want;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;by UID;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use the WANT data set to create the format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't work, please post 4-5 observations of the UID variable so we can see the form of the data.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 11:40:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/this-range-is-repeated-or-values-overlap/m-p/862908#M340858</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-03-08T11:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: this range is repeated, or values overlap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/this-range-is-repeated-or-values-overlap/m-p/862926#M340873</link>
      <description>using NODUPKEY option on PROC SORT by start worked&lt;BR /&gt;Thank you</description>
      <pubDate>Wed, 08 Mar 2023 12:48:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/this-range-is-repeated-or-values-overlap/m-p/862926#M340873</guid>
      <dc:creator>qwerty12</dc:creator>
      <dc:date>2023-03-08T12:48:21Z</dc:date>
    </item>
  </channel>
</rss>

