SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 33084: An SQLPLAN internal error might occur when reference a variable from an in-line view that created the variable from a constant

DetailsHotfixAboutRate It

In Base SAS® software, an SQLPLAN internal error might occur when you reference a variable from an in-line view that created this new variable from a constant.

The following code illustrates one case that can produce the SQLPLAN internal errors:

proc sql; select b.geoname,sum(a.permits) as permits from(select statename as geoname, permits from PLACE) a, (select 'North Carolina' as geoname from tbltmplt) b where a.geoname=b.geoname; quit;

In this case, the following error message is generated:

ERROR: sqlplan internal error: Cannot find symbol geoname,
var=3, tag=0002. This message can be caused by attempting to
make correlated references between two different items on a 
single FROM clause.

Select the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft Windows Server 2003 Standard Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows 2000 Server9.1 TS1M3 SP4
Microsoft Windows 2000 Professional9.1 TS1M3 SP4
Microsoft Windows NT Workstation9.1 TS1M3 SP4
z/OS9.1 TS1M3 SP49.2 TS2M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft® Windows® for x649.1 TS1M3 SP49.2 TS2M2
Microsoft Windows 2000 Advanced Server9.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server9.1 TS1M3 SP4
Microsoft Windows XP Professional9.1 TS1M3 SP49.2 TS2M2
Windows Vista9.1 TS1M3 SP49.2 TS2M2
64-bit Enabled AIX9.1 TS1M3 SP49.2 TS2M2
64-bit Enabled HP-UX9.1 TS1M3 SP49.2 TS2M2
64-bit Enabled Solaris9.1 TS1M3 SP49.2 TS2M2
HP-UX IPF9.1 TS1M3 SP49.2 TS2M2
Linux9.1 TS1M3 SP49.2 TS2M2
Linux on Itanium9.1 TS1M3 SP49.2 TS2M2
OpenVMS Alpha9.1 TS1M3 SP49.2 TS2M2
Solaris for x649.1 TS1M3 SP49.2 TS2M2
Tru64 UNIX9.1 TS1M3 SP49.2 TS2M2
Linux for x649.2 TS1M09.2 TS2M2
OpenVMS on HP Integrity9.2 TS1M09.2 TS2M2
* 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.