An environment variable can also
be used as a fileref to refer to DISK files. The variable name must
be in all uppercase characters, and the variable value must be the
full pathname of the external file. That is, the filename must begin
with a slash.
Note: If a variable and a fileref
have the same name but refer to different files, SAS uses the fileref.
For example, the %INCLUDE statement below refers to file
/users/myid/this_one
.
filename ABC '/users/myid/this_one';
x setenv ABC /users/myid/that_one;
%include ABC;