![]() | ![]() | ![]() | ![]() |
An SQL procedure query might result in a SQLPLAN error when you attempt to subset a view based on a variable that has previously been defined with a column modifier.
The error might look similar to the following:
This issue has been identified in the following three scenarios. However, there are likely more scenarios where this issue might occur.
Scenario 1:
Scenario 2:
Scenario 3:
You can use one of the following workarounds for this issue:
Click 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 | Microsoft Windows Server 2016 | 9.4 TS1M8 | |
| Microsoft Windows Server 2012 Std | 9.4 TS1M8 | |||
| Microsoft Windows Server 2008 for x64 | 9.4 TS1M8 | |||
| Microsoft Windows Server 2008 R2 | 9.4 TS1M8 | |||
| Microsoft Windows Server 2008 | 9.4 TS1M8 | |||
| Microsoft Windows Server 2003 for x64 | ||||
| Microsoft Windows Server 2003 Standard Edition | ||||
| Microsoft Windows Server 2003 Enterprise Edition | ||||
| Microsoft Windows Server 2003 Datacenter Edition | ||||
| Microsoft Windows NT Workstation | ||||
| Microsoft Windows 2000 Professional | ||||
| Microsoft Windows 2000 Advanced Server | ||||
| Microsoft Windows 95/98 | ||||
| Microsoft Windows 11 | 9.4 TS1M8 | |||
| Microsoft Windows 10 | 9.4 TS1M8 | |||
| Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M8 | |||
| Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M8 | |||
| Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M8 | |||
| Microsoft Windows 8 Pro x64 | 9.4 TS1M8 | |||
| Microsoft Windows 8 Pro 32-bit | 9.4 TS1M8 | |||
| Microsoft Windows 8 Enterprise x64 | 9.4 TS1M8 | |||
| Microsoft Windows 8 Enterprise 32-bit | 9.4 TS1M8 | |||
| Macintosh | 9.4 TS1M8 | |||
| z/OS 64-bit | 9.4 TS1M8 | |||
| Microsoft Windows Server 2012 R2 Std | 9.4 TS1M8 | |||
| Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M8 | |||
| Microsoft Windows Server 2012 Datacenter | 9.4 TS1M8 | |||
| Microsoft Windows 2000 Server | ||||
| Microsoft Windows 2000 Datacenter Server | ||||
| Microsoft Windows 8.1 Pro x64 | 9.4 TS1M8 | |||
| OS/2 | ||||
| Microsoft® Windows® for x64 | 9.4 TS1M8 | |||
| Microsoft Windows XP 64-bit Edition | ||||
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | ||||
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | ||||
| Microsoft® Windows® for 64-Bit Itanium-based Systems | ||||
| z/OS | 9.4 TS1M8 | |||
| Microsoft Windows Server 2019 | 9.4 TS1M8 | |||
| Microsoft Windows Server 2022 | 9.4 TS1M8 | |||
| Microsoft Windows XP Professional | ||||
| Windows 7 Enterprise 32 bit | 9.4 TS1M8 | |||
| Windows 7 Enterprise x64 | 9.4 TS1M8 | |||
| Windows 7 Home Premium 32 bit | 9.4 TS1M8 | |||
| Windows 7 Home Premium x64 | 9.4 TS1M8 | |||
| Windows 7 Professional 32 bit | 9.4 TS1M8 | |||
| Windows 7 Professional x64 | 9.4 TS1M8 | |||
| Windows 7 Ultimate 32 bit | 9.4 TS1M8 | |||
| Windows 7 Ultimate x64 | 9.4 TS1M8 | |||
| Windows Millennium Edition (Me) | ||||
| Windows Vista | ||||
| Windows Vista for x64 | ||||
| 64-bit Enabled AIX | 9.4 TS1M8 | |||
| 64-bit Enabled HP-UX | 9.4 TS1M8 | |||
| 64-bit Enabled Solaris | 9.4 TS1M8 | |||
| ABI+ for Intel Architecture | 9.4 TS1M8 | |||
| AIX | 9.4 TS1M8 | |||
| HP-UX | 9.4 TS1M8 | |||
| HP-UX IPF | 9.4 TS1M8 | |||
| IRIX | 9.4 TS1M8 | |||
| Linux | 9.4 TS1M8 | |||
| Linux for x64 | 9.4 TS1M8 | |||
| Linux on Itanium | 9.4 TS1M8 | |||
| OpenVMS Alpha | 9.4 TS1M8 | |||
| OpenVMS on HP Integrity | 9.4 TS1M8 | |||
| Solaris | 9.4 TS1M8 | |||
| Solaris for x64 | 9.4 TS1M8 | |||
| Tru64 UNIX | 9.4 TS1M8 | |||
A fix for this issue for Base SAS 9.4_M7 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/I9R.html#69802| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2023-01-20 09:22:16 |
| Date Created: | 2023-01-12 12:02:58 |



