Any quoted identifier that exceeds the maximum allowed length for a quoted identifier (256 characters) could lead to an "access violation" message in the SAS® log. A common user error that can result in a quoted identifier that exceeds 256 characters is incorrectly using double quotation marks instead of single quotation marks around a constant string value. The following error messages then appear:
The problem can be replicated by declaring a quoted variable that exceeds 256 characters. Here is an example of code that can cause this issue:
Click the Hot Fix tab in this note to access the hot fix for this issue for the SAS® 9.4M7 (TS1M7) release.
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update for SAS® Viya® 3.5.
The fixed release for this issue is SAS® Viya® 2021.2.2.
After you apply the hot fix, the invalid identifier is detected, and compilation is halted. The SAS log example below demonstrates this change:
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | Base SAS | z/OS | 9.4_M7 | 9.4 TS1M7 | ||
z/OS 64-bit | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft® Windows® for x64 | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows 8 Enterprise 32-bit | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows 8 Enterprise x64 | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows 8 Pro 32-bit | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows 8 Pro x64 | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows 8.1 Enterprise 32-bit | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows 8.1 Enterprise x64 | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows 8.1 Pro 32-bit | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows 8.1 Pro x64 | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows 10 | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows Server 2008 | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows Server 2008 R2 | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows Server 2008 for x64 | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows Server 2012 Datacenter | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows Server 2012 R2 Datacenter | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows Server 2012 R2 Std | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows Server 2012 Std | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows Server 2016 | 9.4_M7 | 9.4 TS1M7 | ||||
Microsoft Windows Server 2019 | 9.4_M7 | 9.4 TS1M7 | ||||
Windows 7 Enterprise 32 bit | 9.4_M7 | 9.4 TS1M7 | ||||
Windows 7 Enterprise x64 | 9.4_M7 | 9.4 TS1M7 | ||||
Windows 7 Home Premium 32 bit | 9.4_M7 | 9.4 TS1M7 | ||||
Windows 7 Home Premium x64 | 9.4_M7 | 9.4 TS1M7 | ||||
Windows 7 Professional 32 bit | 9.4_M7 | 9.4 TS1M7 | ||||
Windows 7 Professional x64 | 9.4_M7 | 9.4 TS1M7 | ||||
Windows 7 Ultimate 32 bit | 9.4_M7 | 9.4 TS1M7 | ||||
Windows 7 Ultimate x64 | 9.4_M7 | 9.4 TS1M7 | ||||
64-bit Enabled AIX | 9.4_M7 | 9.4 TS1M7 | ||||
64-bit Enabled Solaris | 9.4_M7 | 9.4 TS1M7 | ||||
HP-UX IPF | 9.4_M7 | 9.4 TS1M7 | ||||
Linux for x64 | 9.4_M7 | 9.4 TS1M7 | ||||
Solaris for x64 | 9.4_M7 | 9.4 TS1M7 | ||||
SAS System | SAS Viya | Microsoft® Windows® for x64 | 3.5 | 2021.2.1 | Viya | Viya |
Microsoft Windows 8 Enterprise 32-bit | 3.5 | Viya | ||||
Microsoft Windows 8 Enterprise x64 | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows 8 Pro 32-bit | 3.5 | Viya | ||||
Microsoft Windows 8 Pro x64 | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows 8.1 Enterprise 32-bit | 3.5 | Viya | ||||
Microsoft Windows 8.1 Enterprise x64 | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows 8.1 Pro 32-bit | 3.5 | Viya | ||||
Microsoft Windows 8.1 Pro x64 | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows 10 | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows 11 | 3.5 | Viya | ||||
Microsoft Windows 95/98 | 3.5 | Viya | ||||
Microsoft Windows 2000 Advanced Server | 3.5 | Viya | ||||
Microsoft Windows 2000 Datacenter Server | 3.5 | Viya | ||||
Microsoft Windows 2000 Server | 3.5 | Viya | ||||
Microsoft Windows 2000 Professional | 3.5 | Viya | ||||
Microsoft Windows NT Workstation | 3.5 | Viya | ||||
Microsoft Windows Server 2003 Datacenter Edition | 3.5 | Viya | ||||
Microsoft Windows Server 2003 Enterprise Edition | 3.5 | Viya | ||||
Microsoft Windows Server 2003 Standard Edition | 3.5 | Viya | ||||
Microsoft Windows Server 2003 for x64 | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows Server 2008 | 3.5 | Viya | ||||
Microsoft Windows Server 2008 R2 | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows Server 2008 for x64 | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows Server 2012 Datacenter | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows Server 2012 R2 Datacenter | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows Server 2012 R2 Std | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows Server 2012 Std | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows Server 2016 | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows Server 2019 | 3.5 | 2021.2.1 | Viya | Viya | ||
Microsoft Windows Server 2022 | 3.5 | Viya | ||||
Microsoft Windows XP Professional | 3.5 | Viya | ||||
Windows 7 Enterprise 32 bit | 3.5 | Viya | ||||
Windows 7 Enterprise x64 | 3.5 | 2021.2.1 | Viya | Viya | ||
Windows 7 Home Premium 32 bit | 3.5 | Viya | ||||
Windows 7 Home Premium x64 | 3.5 | 2021.2.1 | Viya | Viya | ||
Windows 7 Professional 32 bit | 3.5 | Viya | ||||
Windows 7 Professional x64 | 3.5 | 2021.2.1 | Viya | Viya | ||
Windows 7 Ultimate 32 bit | 3.5 | Viya | ||||
Windows 7 Ultimate x64 | 3.5 | 2021.2.1 | Viya | Viya | ||
Windows Millennium Edition (Me) | 3.5 | Viya | ||||
Windows Vista | 3.5 | Viya | ||||
Windows Vista for x64 | 3.5 | 2021.2.1 | Viya | Viya | ||
Linux for x64 | 3.5 | 2021.2.1 | Viya | Viya |
Viya on Linux: An update for this issue is available for SAS Viya 3.5. For instructions on how to access and apply software updates, see the Updating Your SAS Viya software section in the SAS Viya 3.5 for Linux Deployment Guide at
http://documentation.sas.com/?softwareId=administration&softwareVersion=3.5&softwareContextId=softwareUpdatesA fix for this issue for SAS Threaded Kernel DS2 and FedSQL Language Processors 9.41_M5 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/I9H.html#68635Type: | Problem Note |
Priority: | medium |
Topic: | SAS Reference ==> Procedures ==> DS2 |
Date Modified: | 2021-12-22 13:52:34 |
Date Created: | 2021-11-23 09:14:46 |