Problem Note 41863: DATA step does not run completely when you use the PIPE engine in Vista, Windows 7, and Windows 2003 and 2008 server operating environments
When you use the PIPE filename engine in a Vista, Windows 7, or Windows 2003 or 2008 server operating environment, the DATA step does not run completely, and an error message might appear. Here is an example:
1 filename DIR pipe "dir /B /A-D c:\";
2
3 data directoryDataSet_C_Drive;
4 length line $ 1024;
5 infile DIR;
6 input;
7 line = _infile_;
8 run;
NOTE: The infile DIR is:
Unnamed Pipe Access Device,
PROCESS=dir /B /A-D c:\,RECFM=V,LRECL=256
Stderr output:
There is not enough space on the disk.
NOTE: 0 records were read from the infile DIR.
-or-
Stderr output:
stdout: Bad file descriptor
NOTE: 0 records were read from the infile DIR.
The error message occurs if you invoke SAS through the standard shortcut, a desktop shortcut, or directly from the sas.exe in Windows Explorer.
Workaround
To work around this issue, do one of the following:
(Notice the change in quoting from the original command.)
Operating System and Release Information
SAS System | Base SAS | Microsoft® Windows® for x64 | 9.21_M3 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 for x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2008 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Enterprise 32 bit | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Enterprise x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Home Premium 32 bit | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Home Premium x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Professional 32 bit | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Professional x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Ultimate 32 bit | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Ultimate x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows Vista | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows Vista for x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |
*
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.
An error occurs when you use the PIPE engine.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2011-02-02 13:24:23 |
Date Created: | 2010-12-15 11:23:14 |