Usage Note 46460: Using a long fileref with FILEVAR causes an error
When using the FILEVAR= option on a FILE or INFILE statement, the place-holder fileref is limited to V6 naming rules, 8 characters maximum. Attempting to use a longer fileref results in the following error message:
ERROR: A Physical file reference (i.e. "PHYSICAL FILE REFERENCE" ) or an aggregate file storage
reference (i.e. AGGREGATE(MEMBER) ) reference cannot be used with the FILEVAR= option.
Operating System and Release Information
| SAS System | Base SAS | IRIX | 8.1 TS1M0 | |
| OpenVMS Alpha | 8.1 TS1M0 | |
| Solaris | 8.1 TS1M0 | |
| Tru64 UNIX | 8.1 TS1M0 | |
| Microsoft Windows 2000 Datacenter Server | 8.1 TS1M0 | |
| Microsoft Windows 2000 Server | 8.1 TS1M0 | |
| Microsoft Windows 2000 Professional | 8.1 TS1M0 | |
| Microsoft Windows NT Workstation | 8.1 TS1M0 | |
| Microsoft Windows XP Professional | 8.1 TS1M0 | |
| Windows Millennium Edition (Me) | 8.1 TS1M0 | |
| ABI+ for Intel Architecture | 8.1 TS1M0 | |
| HP-UX | 8.1 TS1M0 | |
| AIX | 8.1 TS1M0 | |
| Microsoft Windows 2000 Advanced Server | 8.1 TS1M0 | |
| Microsoft Windows 95/98 | 8.1 TS1M0 | |
| OS/2 | 8.1 TS1M0 | |
| OpenVMS VAX | 8.1 TS1M0 | |
| z/OS | 8.1 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.
Using a dummy fileref longer than 8 characters causes error when using FILEVAR= option.
| Type: | Usage Note |
| Priority: | |
| Topic: | SAS Reference ==> DATA Step SAS Reference ==> Statements ==> Data Access ==> FILENAME
|
| Date Modified: | 2012-05-01 15:53:16 |
| Date Created: | 2012-05-01 14:47:55 |