SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 41961: The error "Undetermined I/O failure" occurs when SAS® is used with a DATA step to send e-mail

DetailsAboutRate It

When you send e-mail using a 64-bit version of SAS with a DATA step, make sure that SAS and the MAPI (Messaging Application Programming Interface) e-mail client (such as Microsoft Outlook) are of the same corresponding system type. Otherwise, an error will occur.

Here is an example. Say that you are running a 64-bit version of SAS® 9.2 in a Windows x64 operating environment with Microsoft Outlook 2007 or 2010 or Lotus Notes as the 32-bit MAPI client. You send e-mail with the DATA step, and an "Undetermined I/O failure" error message occurs in the SAS log. You also see a GUI message such as those shown in the following displays:

Microsoft Outlook example
image label

Lotus Notes example
image label

The behavior does not occur with the 32-bit version of SAS 9.2 on a Windows x64 machine with a 32-bit MAPI client such as 32-bit Microsoft Outlook or 32-bit Lotus Notes.

Likewise, the behavior does not occur with 64-bit SAS with a 64-bit MAPI client such as Outlook 2010 64-bit edition. The system type architecture of SAS and the MAPI e-mail client software should match. Otherwise, the error occurs.

To send e-mail using 64-bit SAS with the DATA step on a machine with a 32-bit MAPI client, use SMTP e-mail. Instructions are available in SAS Note 19767: "Using the SAS® System to send SMTP e-mail."

Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASWindows 7 Professional x649.2 TS2M2
Windows 7 Enterprise x649.2 TS2M2
Microsoft Windows Server 2008 for x649.2 TS2M2
Microsoft Windows Server 2003 for x649.2 TS2M2
Microsoft® Windows® for x649.2 TS2M2
Microsoft Windows XP 64-bit Edition9.2 TS2M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS2M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS2M2
Windows 7 Ultimate x649.2 TS2M2
Windows Vista for x649.2 TS2M2
* 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.