Problem Note 1883: Lowercase UNIX Environment Variables Are Not Recognized in the SAS
System for UNIX in Version 8 Using the FILENAME Statement
If SAS users have created lowercase UNIX environment variables to be
present in the UNIX shell that the SAS System for UNIX is running in and
they attempt to use these UNIX environment variables within the FILENAME
statement, these environment variables will not be recognized.
For example, a UNIX SAS user creates an environment variable called
"$envvar" and attempts to use this $envvar in SAS with the filename
statement like the following:
===================================================================
filename envtest '/tmp/$envvar';
the output of the SAS log will be the following:
1 filename envtest '/tmp/$envvar';
2
3 data one;
4 file envtest;
5 do i = 1 to 100; put i=; end;
6 run;
NOTE: The file ENVTEST is:
File Name=/tmp/$vansql1,
Owner Name=unixuser,Group Name=unixgrp,
Access Permission=rw-r--r--
===================================================================
When these UNIX environment variables are defined in uppercase,
the SAS job behaves as expected.
This behavior is fixed under SAS Version 8.1.
Operating System and Release Information
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | Base SAS | 64-bit Enabled Solaris | 8 TS M0 | 8.1 TS1M0 |
| Solaris | 8 TS M0 | 8.1 TS1M0 |
| ABI+ for Intel Architecture | 8 TS M0 | 8.1 TS1M0 |
| IRIX | 8 TS M0 | 8.1 TS1M0 |
| 64-bit Enabled AIX | 8 TS M0 | 8.1 TS1M0 |
| 64-bit Enabled HP-UX | 8 TS M0 | 8.1 TS1M0 |
| HP-UX | 8 TS M0 | 8.1 TS1M0 |
| AIX | 8 TS M0 | 8.1 TS1M0 |
| Tru64 UNIX | 8 TS M0 | 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.
| Type: | Problem Note |
| Priority: | |
| Topic: | Data Management ==> Access ==> SAS I/O
|
| Date Modified: | 2000-04-27 17:28:53 |
| Date Created: | 2000-03-23 15:54:49 |