Problem Note 59383: PROC IMPORT returns "ERROR: Stack overflow detected DATASTEP" when the NLNUMw. informat is assigned to a variable
PROC IMPORT returns errors like the following in the third maintenance release of SAS® 9.4 (TS1M3) when the NLNUMw. informat is assigned to a variable:
ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
The SAS task name is [DATASTEP]
ERROR: Stack overflow detected DATASTEP
The NLNUMw. informat is assigned to a variable when the data is scanned and variable attributes (informats, formats, type, and length) are assigned to variables.
To circumvent the problem, do one of the following:
-
Recall the generated DATA step code from the SAS log if you are in a SAS windowing environment. Modify the INFORMAT and FORMAT statements for the variable to which the NLNUMw. informat had been assigned by changing the informat and format to $CHARw. in both statements. Also add a $ sign after the variable name in the INPUT statement. You can recall the generated DATA step code after running PROC IMPORT by selecting Run ► Recall Last Submit from the SAS menu bar.
-
Use a DATA step with INFILE and INPUT statements to read the external file instead of using the IMPORT procedure.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | Base SAS | Microsoft® Windows® for x64 | 9.4 TS1M3 | |
Microsoft Windows 8 Enterprise 32-bit | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8 Pro 32-bit | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8 Pro x64 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 10 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2008 | 9.4 TS1M3 | |
Microsoft Windows Server 2008 R2 | 9.4 TS1M3 | |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M3 | |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Std | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Enterprise 32 bit | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Enterprise x64 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Home Premium 32 bit | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Home Premium x64 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Professional 32 bit | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Professional x64 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Ultimate 32 bit | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Ultimate x64 | 9.4 TS1M3 | 9.4 TS1M5 |
64-bit Enabled AIX | 9.4 TS1M3 | 9.4 TS1M5 |
64-bit Enabled Solaris | 9.4 TS1M3 | 9.4 TS1M5 |
HP-UX IPF | 9.4 TS1M3 | 9.4 TS1M5 |
Linux for x64 | 9.4 TS1M3 | 9.4 TS1M5 |
Solaris for x64 | 9.4 TS1M3 | 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 ==> IMPORT Common Programming Tasks ==> Reading and Writing External Data ==> with PROC IMPORT SAS Reference ==> Informats ==> Numeric ==> NLNUM
|
Date Modified: | 2016-11-29 15:39:39 |
Date Created: | 2016-11-18 14:27:26 |