Problem Note 14252: FORMAT= column modifier in a PROC SQL view can cause errors
The following error is produced using the code below in SAS 9.1, but
does not occur using the same code in SAS 8.2:
ERROR: Column <COLUMNNAME> could not be found in the table/view
identified with the correlation name <ALIAS>.
The problem occurs when referencing a view which has a FORMAT= column
modifier specified on a column.
proc sql;
create view work.view1 as
select fname, employees.lastname format=$18.
from employees;
create table table2 as
select view1.lastname
from view1;
Removing the FORMAT= column modifier specification from the view will
allow the code to execute without error.
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#014252
For customers running SAS with Asian Language Support (DBCS), this
fix should be downloaded from:
http://www.sas.com/techsup/download/hotfix/e9_dbcs_prod_list.html#014252
Operating System and Release Information
| SAS System | Base SAS | Linux | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| Microsoft Windows NT Workstation | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| Microsoft Windows XP Professional | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| Microsoft Windows 2000 Server | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| Microsoft Windows 2000 Professional | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| 64-bit Enabled Solaris | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| z/OS | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| 64-bit Enabled AIX | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| OpenVMS Alpha | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| 64-bit Enabled HP-UX | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| HP-UX IPF | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| Linux on Itanium | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
| Tru64 UNIX | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
*
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.
| Type: | Problem Note |
| Priority: | high |
| Topic: | SAS Reference ==> Procedures ==> SQL SAS Reference ==> SQL
|
| Date Modified: | 2005-04-08 15:14:00 |
| Date Created: | 2005-01-20 11:16:16 |