Problem Note 62602: ATTRIB and LENGTH statements in PROC DS2 code generate a "Segmentation Violation" error
The DS2 language does not support the DATA step statements ATTRIB, FORMAT, INFORMAT, LABEL, LENGTH, and others. Variable attributes should be defined with the DECLARE statement and HAVING clause.
Error messages like the following are generated when ATTRIB or LENGTH statements are specified within PROC DS2 code:
ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
The SAS task name is [DS2 (2) ]
Segmentation Violation
Including FORMAT, INFORMAT, or LABEL statements generates syntax errors instead. These keywords are used with the HAVING clause in a DECLARE statement.
This issue is fixed in Rev. 940_18w30.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.4 TS1M0 | 9.4 TS1M5 |
z/OS 64-bit | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft® Windows® for x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 8 Pro x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 10 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows Server 2008 R2 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Std | 9.4 TS1M0 | 9.4 TS1M5 |
Windows 7 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Windows 7 Professional x64 | 9.4 TS1M0 | 9.4 TS1M5 |
64-bit Enabled AIX | 9.4 TS1M0 | 9.4 TS1M5 |
64-bit Enabled Solaris | 9.4 TS1M0 | 9.4 TS1M5 |
HP-UX IPF | 9.4 TS1M0 | 9.4 TS1M5 |
Linux for x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Solaris for x64 | 9.4 TS1M0 | 9.4 TS1M5 |
*
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 ==> DS2
|
Date Modified: | 2018-07-12 13:59:53 |
Date Created: | 2018-07-11 13:59:54 |