<?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: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732467#M38504</link>
    <description>&lt;P&gt;When SAS says a variable is not there, it's not there, period.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Run a PROC CONTENTS and show us the complete output.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Apr 2021 11:08:39 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-04-09T11:08:39Z</dc:date>
    <item>
      <title>WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732457#M38498</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am imported excel file(I used&amp;nbsp;Options validvarname=any before importing excel file) ,after that I am keeping only selected columns by using keep statement in data set.&lt;/P&gt;&lt;P&gt;But for 2 variable I am getting warning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is:&lt;/P&gt;&lt;P&gt;Data LCS_i;&lt;BR /&gt;set LCS_i ;&lt;BR /&gt;keep 'LCS NUMBER'n DESIGNATION 'RATED POWER'n 'RATED CURRENT (A)'n TYPE &lt;STRONG&gt;'CONTROL CABLE SIZE&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(Sq.mm)'n&lt;/STRONG&gt;&lt;BR /&gt;'CABLE TYPE'n &lt;STRONG&gt;'STATUSP / F'n&lt;/STRONG&gt; DM REMARKS Rev prj_id;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warning is:&lt;/P&gt;&lt;P&gt;WARNING: The variable &lt;STRONG&gt;'CONTROL CABLE SIZE(Sq.mm)'n&lt;/STRONG&gt; in the DROP, KEEP, or RENAME list has never been referenced.&lt;BR /&gt;WARNING: The variable &lt;STRONG&gt;'STATUSP / F'n&lt;/STRONG&gt; in the DROP, KEEP, or RENAME list has never been referenced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to resolve this thing . I tried in keep and rename statement with no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone explain me how to resolve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nirav Chaudhari&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 10:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732457#M38498</guid>
      <dc:creator>NiravC</dc:creator>
      <dc:date>2021-04-09T10:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732461#M38499</link>
      <description>&lt;P&gt;Your data set named LCS_I does not have variables by those names. Therefore, you can't include those variables in a KEEP statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to actually LOOK AT the data set with your own eyes to see what variable names are actually in the data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, using this type of code, where the data set name is the same as the name in the SET statement is not recommended; and if you run the DATA step twice, you will get the error you see, even in the case where those variables were present originally.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732461#M38499</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-04-09T11:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732462#M38500</link>
      <description>&lt;P&gt;First of all, it is never a good idea to do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data LCS_i;
set LCS_i ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If something untoward happens that does not stope the data step from executing, you destroy your dataset and need to create it anew.&lt;/P&gt;
&lt;P&gt;Especially while developing, create a new dataset:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data LCS_i_new;
set LCS_i;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Regarding your WARNINGs: the variables are not there in the dataset. Look at the variables as shown in the viewtable, or run a PROC CONTENTS.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 10:58:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732462#M38500</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-09T10:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732463#M38501</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both Variables&amp;nbsp; are available in&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;LCS_I. That's why I am confuse, why it's showing warning.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:01:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732463#M38501</guid>
      <dc:creator>NiravC</dc:creator>
      <dc:date>2021-04-09T11:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732464#M38502</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/279720"&gt;@NiravC&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Both Variables&amp;nbsp; are available in&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;LCS_I. That's why I am confuse, why it's showing warning.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;My rule is that if SAS says the variable is not in the data set, and the user says the variable is in the data set, then I believe SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Show us what you see. Convince us that the variables are there. Give us information. Re-write your program as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;and I suggested.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:05:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732464#M38502</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-04-09T11:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732466#M38503</link>
      <description>&lt;P&gt;Hii Kurt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for answering, But I tried this thing :&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;Data LCS_i_new;
set LCS_i;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It's not working.&lt;/P&gt;
&lt;P&gt;And I run&amp;nbsp; the Proc Contents, Both the variable available with same name which is available in my early post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thnks&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:06:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732466#M38503</guid>
      <dc:creator>NiravC</dc:creator>
      <dc:date>2021-04-09T11:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732467#M38504</link>
      <description>&lt;P&gt;When SAS says a variable is not there, it's not there, period.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Run a PROC CONTENTS and show us the complete output.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:08:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732467#M38504</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-09T11:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732468#M38505</link>
      <description>&lt;P&gt;Hii Kurt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See this Proc Contents Output, Both Variables are available , even I can show the data in output also , but I am not able write this two in Keep,Drop and Rename statement or option.&lt;/P&gt;
&lt;TABLE width="342"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD colspan="7" width="342"&gt;
&lt;P&gt;Alphabetic List of Variables and Attributes&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="28"&gt;#&lt;/TD&gt;
&lt;TD width="64"&gt;Variable&lt;/TD&gt;
&lt;TD width="37"&gt;Type&lt;/TD&gt;
&lt;TD width="29"&gt;Len&lt;/TD&gt;
&lt;TD width="59"&gt;Format&lt;/TD&gt;
&lt;TD width="61"&gt;Informat&lt;/TD&gt;
&lt;TD width="64"&gt;Label&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="28"&gt;13&lt;/TD&gt;
&lt;TD width="64"&gt;CONTROL CABLE SIZE (Sq.mm)&lt;/TD&gt;
&lt;TD width="37"&gt;Char&lt;/TD&gt;
&lt;TD width="29"&gt;13&lt;/TD&gt;
&lt;TD width="59"&gt;$13.00&lt;/TD&gt;
&lt;TD width="61"&gt;$13.00&lt;/TD&gt;
&lt;TD width="64"&gt;CONTROL CABLE SIZE (Sq.mm)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="28"&gt;108&lt;/TD&gt;
&lt;TD width="64"&gt;STATUS P / F&lt;/TD&gt;
&lt;TD width="37"&gt;Char&lt;/TD&gt;
&lt;TD width="29"&gt;9&lt;/TD&gt;
&lt;TD width="59"&gt;$9.00&lt;/TD&gt;
&lt;TD width="61"&gt;$9.00&lt;/TD&gt;
&lt;TD width="64"&gt;STATUS P / F&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:13:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732468#M38505</guid>
      <dc:creator>NiravC</dc:creator>
      <dc:date>2021-04-09T11:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732471#M38506</link>
      <description>&lt;P&gt;Hii kurt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want full Proc contents output.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NiravC_0-1617967262055.png" style="width: 770px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57218iA7FBD73F7E7F93F3/image-dimensions/770x433?v=v2" width="770" height="433" role="button" title="NiravC_0-1617967262055.png" alt="NiravC_0-1617967262055.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:22:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732471#M38506</guid>
      <dc:creator>NiravC</dc:creator>
      <dc:date>2021-04-09T11:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732472#M38507</link>
      <description>&lt;P&gt;CONTENTS does not wrap the names in the output:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options validvarname=any;

data have;
"CONTROL CABLE SIZE (Sq.mm)"n = "1234567890123";
run;

proc contents data=have;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See this result I copy/pasted directly into a window opened with the &amp;lt;/&amp;gt; button:&lt;/P&gt;
&lt;PRE&gt;Alphabetische Liste der Variablen und Attribute
#	Variable	Typ	Länge
1	CONTROL CABLE SIZE (Sq.mm)	Char	13
&lt;/PRE&gt;
&lt;P&gt;It is important to see the exact number of blanks (and possibly other characters) in the names. You might even have to rerun CONTENTS with an OUT= option, and later convert the name to a HEX string so you can see any funny characters (like UTF characters that &lt;EM&gt;look&lt;/EM&gt; similar to the single-byte characters you type, but aren't).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I &lt;STRONG&gt;STRONGLY&lt;/STRONG&gt; suggest that you rerun the import with VALIDVARNAME=V7 and let SAS make proper names out of those strings. Valid SAS names are MUCH easier to handle in code than the "name literal" crap.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:25:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732472#M38507</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-09T11:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732473#M38508</link>
      <description>&lt;P&gt;So you show us part of PROC CONTENTS, but not all of it. How do we know this is the same data set LCS_I that you were using in your code? Show us &lt;STRONG&gt;ALL&lt;/STRONG&gt; of PROC CONTENTS so we can see what data set the results are for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, as I said, if you run your original code TWICE, you will get that error even if the variable was present originally. Are you running that code twice?????&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:34:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732473#M38508</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-04-09T11:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732474#M38509</link>
      <description>&lt;P&gt;Hi Kurt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I changed options valivarname=any to v7 as per your said,&lt;/P&gt;
&lt;P&gt;Now&amp;nbsp;'CONTROL CABLE SIZE (Sq.mm)'n is showing VAR13 &amp;amp;&lt;BR /&gt;&amp;nbsp;'STATUS P / F'n is showing&amp;nbsp;STATUS_P___F.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for giving me a best solution. Now, It's working fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Nirav Chaudhari&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:34:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732474#M38509</guid>
      <dc:creator>NiravC</dc:creator>
      <dc:date>2021-04-09T11:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732475#M38510</link>
      <description>&lt;P&gt;Look at the LABELs of those variables, they should still contain the original strings, which can be used for display in reports.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:35:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732475#M38510</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-09T11:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732476#M38511</link>
      <description>&lt;P&gt;Yes, you are right. Label is showing original content.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732476#M38511</guid>
      <dc:creator>NiravC</dc:creator>
      <dc:date>2021-04-09T11:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732477#M38512</link>
      <description>&lt;P&gt;My personal preference, especially for processes that must be repeatable, is this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;save Excel files CSV files&lt;/LI&gt;
&lt;LI&gt;write a data step to read the data, defining my own names&lt;/LI&gt;
&lt;LI&gt;if necessary, take the contents of the header line as labels&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For instance, I would use cont_cbl_size as the variable name; long enough to be descriptive, but short enough to reduce typing errors and the sheer number of keyboard hits while coding.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:42:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732477#M38512</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-09T11:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732536#M38513</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/279720"&gt;@NiravC&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hii Kurt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for answering, But I tried this thing :&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;Data LCS_i_new;
set LCS_i;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It's not working.&lt;/P&gt;
&lt;P&gt;And I run&amp;nbsp; the Proc Contents, Both the variable available with same name which is available in my early post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thnks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;"Not working" is awful vague.&lt;BR /&gt;&lt;BR /&gt;Are there errors in the log?: Post the code and log in a code box opened with the "&amp;lt;&amp;gt;" to maintain formatting of error messages.&lt;BR /&gt;&lt;BR /&gt;No output? Post any log in a code box.&lt;BR /&gt;&lt;BR /&gt;Unexpected output? Provide input data in the form of data step code pasted into a code box, the actual results and the expected results. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the "&amp;lt;&amp;gt;" icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 16:07:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/732536#M38513</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-04-09T16:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/789634#M40128</link>
      <description>&lt;P&gt;Hi Kurt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again I am facing this issue with other data and I follow this solution but options validvarname=v7 is not supported for columns. So, I can't able to see proc contents things.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me out in this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanx,&lt;/P&gt;
&lt;P&gt;Nirav&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 04:29:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/789634#M40128</guid>
      <dc:creator>NiravC</dc:creator>
      <dc:date>2022-01-12T04:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: The variable X in the DROP, KEEP, or RENAME list has never been referenced.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/789646#M40129</link>
      <description>&lt;P&gt;The VALIDVARNAME option is supported in ALL SAS environments, and can be set anytime. Please post your complete log, from OPTIONS VALIDVARNAME=V7 to the data step with which you read the data.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 07:43:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/WARNING-The-variable-X-in-the-DROP-KEEP-or-RENAME-list-has-never/m-p/789646#M40129</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-01-12T07:43:59Z</dc:date>
    </item>
  </channel>
</rss>

