Problem Note 39839: FILENAME FTP, URL and SOCKET access methods may fail to function correctly in some circumstances
In some cases, a FILENAME statement using the FTP, URL or SOCKET access method may fail to function correctly. There will often be no error generated, but no data will be sent.
The problem is due to an incorrect pointer, which results in a incorrect write.
See the Full Code tab for a sample program
that replicates the behavior on Linux in SAS® 9.2
using the FILENAME SOCKET access method.
This behavior has so far been observed only on 32-bit and 64-bit versions of SAS 9.2 for Linux, but all platforms are susceptible.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft® Windows® for x64 | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 for x64 | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Windows Vista | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Windows Vista for x64 | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
HP-UX IPF | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Linux | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Linux for x64 | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
OpenVMS on HP Integrity | 9.21 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Solaris for x64 | 9.21 | 9.3 | 9.2 TS2M0 | 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.
In order for the sample to function correctly, you will need to supply the correct IP address of a HP JetDirect printer. The default port for the JetDirect card is 9100.
filename prtsas socket 'xxx.xxx.xxx.xxx:9100';
ods printer file=prtsas ;
%let host=%sysget(HOSTNAME);
data _NULL_ ;
file prtsas ;
put "Hello from SAS" ;
put "this is SAS &sysvlong" ;
put "running on &host" ;
run ;
filename _ALL_ clear ;
A FILENAME statement using the FTP, URL or SOCKET engine may fail to function correctly in some cases, even though no error is generated. SAS on Linux (both LNX and LAX) seem most affected.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2010-06-07 18:53:56 |
Date Created: | 2010-06-01 09:21:15 |