Problem Note 44652: Concatenating catalog filerefs in the SASAUTOS option causes errors
If a FILENAME statement uses the CATALOG engine to point to a catalog containing source code with concatenated filerefs in the SASAUTOS option, only the first catalog is searched.
Subsequent locations including the default SASAUTOS setting are not searched for macros. The following type of error is issued:
ERROR: Entry XXXXX.SOURCE not found in catalog WORK.ZZZZZ.
ERROR: The SAS Macro Facility has encountered an I/O error. Canceling submitted
statements.
Here is an example that might generate this type of error. This is assuming that
the source code for test1 and test2 have been saved in the catalogs testx and testy.
filename testx catalog 'work.testx' ;
filename testy catalog 'work.testy' ;
options sasautos=(testx testy sasautos) ;
%test1
%test2
A possible workaround is to save all the catalog entires as external files, and use
non-CATALOG filerefs.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.3 TS1M0 | 9.4 TS1M0 |
Z64 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft® Windows® for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2008 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows XP Professional | 9.3 TS1M0 | 9.4 TS1M0 |
Windows 7 Enterprise 32 bit | 9.3 TS1M0 | |
Windows 7 Enterprise x64 | 9.3 TS1M0 | |
Windows 7 Home Premium 32 bit | 9.3 TS1M0 | |
Windows 7 Home Premium x64 | 9.3 TS1M0 | |
Windows 7 Professional 32 bit | 9.3 TS1M0 | |
Windows 7 Professional x64 | 9.3 TS1M0 | |
Windows 7 Ultimate 32 bit | 9.3 TS1M0 | |
Windows 7 Ultimate x64 | 9.3 TS1M0 | |
Windows Vista | 9.3 TS1M0 | 9.4 TS1M0 |
Windows Vista for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
64-bit Enabled AIX | 9.3 TS1M0 | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.3 TS1M0 | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.3 TS1M0 | 9.4 TS1M0 |
HP-UX IPF | 9.3 TS1M0 | 9.4 TS1M0 |
Linux | 9.3 TS1M0 | 9.4 TS1M0 |
Linux for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
Solaris for x64 | 9.3 TS1M0 | 9.4 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 in SAS 9.3 if concatenating filerefs within the SASAUTOS option that were created with the CATALOG engine.
Type: | Problem Note |
Priority: | low |
Date Modified: | 2012-03-02 15:01:19 |
Date Created: | 2011-10-14 13:23:59 |