SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55062: The INTNX function sets the DATA step variable _ERROR_ to 1 if a missing value is used as an argument in SAS® 9.4

DetailsCodeHotfixAboutRate It

If you use a missing value as an argument to the INTNX function in SAS 9.4, the automatic DATA step variable _ERROR_ is set to 1. A message like the following is also issued in the SAS® log:

NOTE: Argument 2 to function INTNX('day',.,1) at line 2373 column 4 is
      invalid.
date=. y=. _ERROR_=1 _N_=1

In earlier releases of SAS®, only the following note is issued if a missing value is used as an argument to the INTNX function:

NOTE: Mathematical operations could not be performed at the following
      places. The results of the operations have been set to missing
      values.

This note is also written to the SAS log in SAS 9.4.

The sample code on the Full Code tab provides a circumvention for this issue.

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 8.1 Pro9.4 TS1M09.4 TS1M3
Microsoft Windows 8.1 Enterprise x649.4 TS1M09.4 TS1M3
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M09.4 TS1M3
Microsoft Windows 8 Pro x649.4 TS1M09.4 TS1M3
Microsoft Windows 8 Enterprise x649.4 TS1M09.4 TS1M3
Microsoft® Windows® for x649.4 TS1M09.4 TS1M3
z/OS9.4 TS1M09.4 TS1M3
Solaris for x649.4 TS1M09.4 TS1M3
HP-UX IPF9.4 TS1M09.4 TS1M3
64-bit Enabled Solaris9.4 TS1M09.4 TS1M3
64-bit Enabled HP-UX9.4 TS1M09.4 TS1M3
64-bit Enabled AIX9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2012 Std9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2012 R2 Std9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2012 Datacenter9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2008 for x649.4 TS1M09.4 TS1M3
Microsoft Windows Server 2008 R29.4 TS1M09.4 TS1M3
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M09.4 TS1M3
Microsoft® Windows® for 64-Bit Itanium-based Systems9.4 TS1M0
Z649.4 TS1M09.4 TS1M3
Windows 7 Professional x649.4 TS1M09.4 TS1M3
Windows 7 Enterprise x649.4 TS1M09.4 TS1M3
Linux for x649.4 TS1M09.4 TS1M3
* 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.