Usage Note 15046: The error "A component of directory-name is not a directory" might occur when you use certain ODS statements
The error messages below might be written to the SAS® log when you use certain ODS statements, including the ODS HTML statement and the ODS TAGSETS.EXCELXP statement:
Error: A component of c:\users\userid\appdata\local\temp\C:\temp\sastest.html is not a directory.
Error: No body file. HTML output will not be created.
The errors occur when additional directory information is incorrectly appended by SAS in front of the directory path that you specify in your code. For example, the errors above might occur with the following ODS HTML statement:
ods html file='c:\temp\sastest.html';
To circumvent the problem, modify the syntax of the ODS statement to use both the PATH and FILE options instead of using only the FILE option. For example, the ODS HTML statement above should now look like this:
ods html path='c:\temp' (url=none) file='sastest.html';
Make sure that the PATH option points to the directory to which you want to write the ODS output and that the FILE option specifies only the name of the HTML file that you want to create.
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows XP Professional | 9.1 TS1M3 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | |
Linux | 9.1 TS1M3 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | |
64-bit Enabled Solaris | 9.1 TS1M3 | |
z/OS | 9.1 TS1M3 | |
Linux on Itanium | 9.1 TS1M3 | |
HP-UX IPF | 9.1 TS1M3 | |
64-bit Enabled HP-UX | 9.1 TS1M3 | |
OpenVMS Alpha | 9.1 TS1M3 | |
64-bit Enabled AIX | 9.1 TS1M3 | |
Tru64 UNIX | 9.1 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.
Type: | Usage Note |
Priority: | medium |
Topic: | SAS Reference ==> ODS (Output Delivery System)
|
Date Modified: | 2015-09-23 15:25:33 |
Date Created: | 2005-04-19 16:43:10 |