<?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: proc format cntlin error ranges are overlap or missing. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-format-cntlin-error-ranges-are-overlap-or-missing/m-p/794160#M254619</link>
    <description>&lt;P&gt;EDIT: Tested and confirmed - you have duplicates - find and remove those - use PROC SORT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also need to tell SAS it's a character format - TYPE=C. Add that into the data set and it works fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sasSource"&gt;
&lt;PRE&gt;79
80 proc format cntlin=Sorted;
NOTE: Format $VISIT_FMT is already on the library WORK.FORMATS.
NOTE: Format $VISIT_FMT has been output.
80 ! run;&lt;/PRE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 03 Feb 2022 03:26:44 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2022-02-03T03:26:44Z</dc:date>
    <item>
      <title>proc format cntlin error ranges are overlap or missing.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-format-cntlin-error-ranges-are-overlap-or-missing/m-p/794158#M254618</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am createing format by using attached excel sheet , but i am getting below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: For Format VISIT_FMT , this range is repeated, or values overlap: .-..;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc format cntlin=in_excel_ds;run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Rajasekhar.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 02:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-format-cntlin-error-ranges-are-overlap-or-missing/m-p/794158#M254618</guid>
      <dc:creator>raja777pharma</dc:creator>
      <dc:date>2022-02-03T02:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: proc format cntlin error ranges are overlap or missing.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-format-cntlin-error-ranges-are-overlap-or-missing/m-p/794160#M254619</link>
      <description>&lt;P&gt;EDIT: Tested and confirmed - you have duplicates - find and remove those - use PROC SORT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also need to tell SAS it's a character format - TYPE=C. Add that into the data set and it works fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sasSource"&gt;
&lt;PRE&gt;79
80 proc format cntlin=Sorted;
NOTE: Format $VISIT_FMT is already on the library WORK.FORMATS.
NOTE: Format $VISIT_FMT has been output.
80 ! run;&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Feb 2022 03:26:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-format-cntlin-error-ranges-are-overlap-or-missing/m-p/794160#M254619</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-02-03T03:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: proc format cntlin error ranges are overlap or missing.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-format-cntlin-error-ranges-are-overlap-or-missing/m-p/794164#M254620</link>
      <description>&lt;P&gt;From browsing the XLSX file in this forum you appear to have two different formats in that same XLSX file that are both trying to use the same NAME.&amp;nbsp; Notice how you have two **OTHER** start values?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first one is probably a character format and the second one looks like a numeric format. So either add a FMTTYPE variable or add the $ to the front of the name of the character format. Or do both.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You probably do not want both a START and an END for a CHARACTER format.&amp;nbsp; Ranges of character values are messier for text with varying lengths. And it looks like you also don't need them for the numeric format.&amp;nbsp; I did not notice any cases in scanning the file where END is different than START.&amp;nbsp; So just drop END and avoid the risk of it accidentally being different and causing a range of values instead of a single value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 04:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-format-cntlin-error-ranges-are-overlap-or-missing/m-p/794164#M254620</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-02-03T04:49:56Z</dc:date>
    </item>
  </channel>
</rss>

