Problem Note 19522: The FILENAME function for an HFS pathSAS argument generates incorrect
results
If you use a hierarchical file system (HFS) path name as an argument in
the FILENAME function, SAS® adds spaces to the pathname.
This condition will result in an unsuccessful allocation of the file.
An example of code which produces this error is as follows:
rc2=FILENAME('TEST',fpath);
In this statement, fpath is an HFS path.
A short-term solution is to nest the COMPRESS function inside the
FILENAME function as follows:
rc2=FILENAME('TEST',COMPRESS(fpath));
Select the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.1 TS1M3 | 9.2 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.
Type: | Problem Note |
Priority: | high |
Topic: | Data Management ==> Access ==> External I/O
|
Date Modified: | 2007-04-30 15:29:12 |
Date Created: | 2007-02-09 12:22:13 |