![]() | ![]() | ![]() | ![]() | ![]() |
In Base SAS® software, SQLPLAN internal errors might occur when you select columns from an SQL view or from an in-line view if one or more of the following conditions are true:
The following code illustrates syntax that can produce the SQLPLAN internal errors. Note that this code is intended to be run as a stand-alone piece of code, but it illustrates the incorrect syntax.
proc sql;
create view view1 as
select distinct
comm_level_1 as clevel
,comm_level_1
,sum(curr_inv) as base_curr_inv
from libref.table
group by clevel, comm_level_1;
create table test1 as
select count(*) as rowcount,
clevel,
comm_level1 as comm_level_2,
base_curr_inv as ordercol
from view1
order by ordercol desc;
quit;
|
Select the Hot Fix tab in this note to access the hot fix for this issue.
| Product Family | Product | System | SAS Release | |
| Reported | Fixed | |||
| SAS System | Base SAS | z/OS | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Microsoft® Windows® for x64 | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 | ||
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| 64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| 64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| 64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Linux | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
| Tru64 UNIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
proc sql ;
create view view1 as
select distinct
comm_level_1 as clevel
,comm_level_1
,sum(curr_inv) as base_curr_inv
from libref.table
group by clevel, comm_level_1;
create table test1 as
select count(*) as rowcount,
clevel,
comm_level1 as comm_level_2,
base_curr_inv as ordercol
from view1
order by ordercol desc ;
quit;
A fix for SAS 9.1.3 (9.1 TS1M3) for this issue is available at:
http://www.sas.com/techsup/download/hotfix/e9_sbcs_prod_list.html#031122A fix for SAS 9.1.3 (9.1 TS1M3) with Asian Language Support (DBCS) for this issue is available at:
http://www.sas.com/techsup/download/hotfix/e9_dbcs_prod_list.html#031122| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2008-02-19 16:25:09 |
| Date Created: | 2008-02-06 14:27:16 |





