<?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: SAS Entreprise Guide and long variable names in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231355#M16807</link>
    <description>&lt;P&gt;Thank you all for trying to help me with this.&lt;/P&gt;&lt;P&gt;I have found the solution and am so very happy!&lt;/P&gt;&lt;P&gt;All I had to do was add 1 line (options VALIDVARNAME=V7; run;) prior to my sas program.&lt;/P&gt;&lt;P&gt;Perfect results.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Sally&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2015 14:38:34 GMT</pubDate>
    <dc:creator>SallyS</dc:creator>
    <dc:date>2015-10-23T14:38:34Z</dc:date>
    <item>
      <title>SAS Entreprise Guide and long variable names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231019#M16770</link>
      <description>&lt;P&gt;I am having problems trying to schedule a SAS program with EG because of long variable names in a table I have no control over.&lt;/P&gt;&lt;P&gt;This table specifically has 3 variables that have names with the same 32 first characters. The names are up to 40 characters long!&lt;/P&gt;&lt;P&gt;SAS handles this for me but EG does not seem to do that. Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 18:30:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231019#M16770</guid>
      <dc:creator>SallyS</dc:creator>
      <dc:date>2015-10-21T18:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Entreprise Guide and long variable names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231022#M16771</link>
      <description>&lt;P&gt;When you say EG does not handle long variable names what do you mean? Please provide more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When SAS truncates long variable names it will rename them by adding a digit on the end if they are no longer unique. Is this the behaviour you are seeing?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 18:37:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231022#M16771</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-10-21T18:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Entreprise Guide and long variable names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231091#M16781</link>
      <description>&lt;P&gt;Are these three variables stored in an external RDBMS that allows longer column names? If yes, this should be handled when assigning the libanme.&lt;/P&gt;&lt;P&gt;Or are they created as a step in your process flow? Pls. give us an example (code/log).&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 09:34:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231091#M16781</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-10-22T09:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Entreprise Guide and long variable names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231106#M16783</link>
      <description>&lt;P&gt;I am adding the coding I am using to try and access this data (note that I am not including all variables but am including the long named variables).&lt;/P&gt;&lt;P&gt;DATA ACCT_DETAIL; SET MyLibrary.Thedata (rename=(&lt;BR /&gt;AccountingDetailID=acct_id&lt;BR /&gt;AccountingDetail_AccountingNumbe=acct_num&lt;BR /&gt;AccountingDetail_ClaimReceivedDa=claimreceiveddate&lt;BR /&gt;AccountingDetail_ClaimStatus=claimstatus&lt;BR /&gt;&lt;STRONG&gt;AccountingDetail_ExtendedClaimS&lt;/STRONG&gt;t=extclaimstatus_id&lt;BR /&gt;&lt;STRONG&gt;AccountingDetail_ExtendedClaimS0&lt;/STRONG&gt;=extclaimstatus&lt;BR /&gt;&lt;STRONG&gt;AccountingDetail_ExtendedClaimS1&lt;/STRONG&gt;=extclaimstatus_mrp&lt;BR /&gt;LastUpdate=last_update&lt;BR /&gt;)); run;&lt;/P&gt;&lt;P&gt;The variables that are in bold are providing the problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I look at the data through SAS these are the names I see (already truncated and made unique by SAS).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following is from the log:&lt;/P&gt;&lt;P&gt;ERROR: Variable AccountingDetail_ExtendedClaimS0 is not on file &lt;SPAN&gt;MyLibrary&lt;/SPAN&gt;&lt;SPAN&gt;.Thedata&lt;/SPAN&gt;.&lt;BR /&gt;ERROR: Variable AccountingDetail_ExtendedClaimS1 is not on file &lt;SPAN&gt;MyLibrary&lt;/SPAN&gt;&lt;SPAN&gt;.Thedata&lt;/SPAN&gt;.&lt;BR /&gt;ERROR: Invalid DROP, KEEP, or RENAME option on file &lt;SPAN&gt;MyLibrary&lt;/SPAN&gt;&lt;SPAN&gt;.Thedata&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set WORK.ACCT_DETAIL may be incomplete. When this step was stopped there&lt;BR /&gt;were 0 observations and 0 variables.&lt;BR /&gt;WARNING: Data set WORK.ACCT_DETAIL was not replaced because this step was stopped.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 11:04:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231106#M16783</guid>
      <dc:creator>SallyS</dc:creator>
      <dc:date>2015-10-22T11:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Entreprise Guide and long variable names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231108#M16784</link>
      <description>I added my code and the results from the log in my response to message 3. I have no control over the table itself. If I did I would not have created such long names!!</description>
      <pubDate>Thu, 22 Oct 2015 11:07:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231108#M16784</guid>
      <dc:creator>SallyS</dc:creator>
      <dc:date>2015-10-22T11:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Entreprise Guide and long variable names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231235#M16797</link>
      <description>&lt;P&gt;If you view the table properties in the EG server list for this table what does it report for the long column names?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 18:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231235#M16797</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-10-22T18:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Entreprise Guide and long variable names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231330#M16804</link>
      <description>&lt;P&gt;The results from the 'table properties' is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;10 AccountingDetail_ExtendedClaimSt Num 8 11. 11. AccountingDetail_ExtendedClaimStatusID&lt;BR /&gt;11 AccountingDetail_ExtendedClaimSt Char 255 $255. $255. AccountingDetail_ExtendedClaimStatus&lt;BR /&gt;12 AccountingDetail_ExtendedClaimSt Char 50 $50. $50. AccountingDetail_ExtendedClaimStatusMrp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Showing that EG truncates the names but does not do the adjustment (i.e., truncate to 31 and add a number) to make them unique.&lt;/P&gt;&lt;P&gt;I am truly at a loss so appreciate any help.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SallyS&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 12:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231330#M16804</guid>
      <dc:creator>SallyS</dc:creator>
      <dc:date>2015-10-23T12:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Entreprise Guide and long variable names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231355#M16807</link>
      <description>&lt;P&gt;Thank you all for trying to help me with this.&lt;/P&gt;&lt;P&gt;I have found the solution and am so very happy!&lt;/P&gt;&lt;P&gt;All I had to do was add 1 line (options VALIDVARNAME=V7; run;) prior to my sas program.&lt;/P&gt;&lt;P&gt;Perfect results.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Sally&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 14:38:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231355#M16807</guid>
      <dc:creator>SallyS</dc:creator>
      <dc:date>2015-10-23T14:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Entreprise Guide and long variable names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231458#M16819</link>
      <description>&lt;P&gt;Great! That was going to be the next thing I was going to suggest. VALIDVARNAME = ANY is set as default in EG which is not the default if you use SAS outside of EG. For compatibility it is good to set VALIDVARNAME = V7 for all EG use unless you need to maintain non-standard column names for some purpose.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 21:25:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Entreprise-Guide-and-long-variable-names/m-p/231458#M16819</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-10-23T21:25:28Z</dc:date>
    </item>
  </channel>
</rss>

