SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 65453: The message "ERROR: Variable not found" occurs when you change the case of a column name using the alterTable CAS action

DetailsHotfixAboutRate It

If you change the case of a column name using the alterTable CAS action, the following error might occur:

ERROR: Variable not found

A workaround is to change the column name in two steps, using an intermediate column name, as shown in the following example:

table.alterTable /
caslib="mycaslib"
columns={
  {name="columnName1",RENAME="c1"},
  {name="c1",RENAME="COLUMNNAME1"}
}
table="mytable";

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS ViyaLinux for x643.4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.