Problem Note 64169: A segmentation violation occurs when you use the NOFMTERR option with the $CHARw. or undefined format for a numeric variable
When the system option NOFMTERR is specified and a numeric variable is formatted with either the $CHARw. format or an undefined format in a DATA step, the following information and error message appear in the SAS® log:
WARNING: Variable x has already been defined as numeric.
NOTE 484-185: Format CHAR was not found or could not be loaded.
ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
The SAS task name is [DATASTEP]
Segmentation Violation
The following syntax demonstrates that creating Y or Z can cause this error.
options nofmterr;
data a;
x=100;
y=put(x,$char4.);
z=put(x,abc4.);
run;
The workaround is to remove the NOFMTERR option, to use a different format than $CHAR., or to create the custom format ABC with PROC FORMAT prior to its use.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
z/OS 64-bit | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft® Windows® for x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 8 Enterprise x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 8 Pro x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 8.1 Pro x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 10 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows Server 2008 R2 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Datacenter | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows Server 2012 R2 Std | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows Server 2012 Std | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Windows 7 Enterprise x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Windows 7 Professional x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
64-bit Enabled AIX | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
64-bit Enabled Solaris | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
HP-UX IPF | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Linux for x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Solaris for x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
*
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 ==> System Options ==> FMTERR
|
Date Modified: | 2019-05-13 10:12:19 |
Date Created: | 2019-05-08 11:19:23 |