SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 59383: PROC IMPORT returns "ERROR: Stack overflow detected DATASTEP" when the NLNUMw. informat is assigned to a variable

DetailsHotfixAboutRate It

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 RunRecall 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

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft® Windows® for x649.4 TS1M3
Microsoft Windows 8 Enterprise 32-bit9.4 TS1M39.4 TS1M5
Microsoft Windows 8 Enterprise x649.4 TS1M39.4 TS1M5
Microsoft Windows 8 Pro 32-bit9.4 TS1M39.4 TS1M5
Microsoft Windows 8 Pro x649.4 TS1M39.4 TS1M5
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M39.4 TS1M5
Microsoft Windows 8.1 Enterprise x649.4 TS1M39.4 TS1M5
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M39.4 TS1M5
Microsoft Windows 8.1 Pro x649.4 TS1M39.4 TS1M5
Microsoft Windows 109.4 TS1M39.4 TS1M5
Microsoft Windows Server 20089.4 TS1M3
Microsoft Windows Server 2008 R29.4 TS1M3
Microsoft Windows Server 2008 for x649.4 TS1M3
Microsoft Windows Server 2012 Datacenter9.4 TS1M39.4 TS1M5
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M39.4 TS1M5
Microsoft Windows Server 2012 R2 Std9.4 TS1M39.4 TS1M5
Microsoft Windows Server 2012 Std9.4 TS1M39.4 TS1M5
Windows 7 Enterprise 32 bit9.4 TS1M39.4 TS1M5
Windows 7 Enterprise x649.4 TS1M39.4 TS1M5
Windows 7 Home Premium 32 bit9.4 TS1M39.4 TS1M5
Windows 7 Home Premium x649.4 TS1M39.4 TS1M5
Windows 7 Professional 32 bit9.4 TS1M39.4 TS1M5
Windows 7 Professional x649.4 TS1M39.4 TS1M5
Windows 7 Ultimate 32 bit9.4 TS1M39.4 TS1M5
Windows 7 Ultimate x649.4 TS1M39.4 TS1M5
64-bit Enabled AIX9.4 TS1M39.4 TS1M5
64-bit Enabled Solaris9.4 TS1M39.4 TS1M5
HP-UX IPF9.4 TS1M39.4 TS1M5
Linux for x649.4 TS1M39.4 TS1M5
Solaris for x649.4 TS1M39.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.