Wherever
you specify the name of a physical file internally (for example, in
a SAS LIBNAME or FILENAME statement, in a LIBNAME or FILENAME function,
in a DATA step, or in a SAS procedure), the name can be in any of
these forms:
-
a fully qualified data set name
such as 'SAS.SAS9.AUTOEXEC'. A PDS member name, such as 'MY.PDS(MEMBER)',
might also be specified, although not for a LIBNAME statement or function.
-
a partially qualified data set
name such as''.CNTL'. SAS inserts the value of the SYSPREF= system
option (which is usually
user ID by
default) in front of the period. For more information, see
SYSPREF= System Option: z/OS. In the following example, an OPTIONS
statement is used to assign a value of USER12.SAS9 to the SYSPREF=
system option. When SAS executes the FILENAME statement, it interprets
'.RAW.DATAX' as 'USER12.SAS9.RAW.DATAX'.
options syspref=user12.sas9;
filename raw2 '.raw.datax' disp=old;
-
a temporary data set name such
as '&MYTEMP'.
-
a UFS path. It can be a full path
that begins with a slash (/) or a tilde (~), as the following examples
indicate:
filename fullpath '~/subdir/filename.sas';
filename relative 'subdir/filename.sas';
-
a concatenated series of names
or a wildcard name consisting of multiple UNIX File System (UFS) files
or members of a partitioned data set (PDS, PDSE). For more information,
see
Concatenating External Files. However, note that the LIBNAME statement
and LIBNAME function does not support the wildcard syntax for members
of partitioned data sets. It is possible to concatenate SAS libraries.
For more information, see
LIBNAME Statement: z/OS.
Note: Names of physical files should
be enclosed in quotation marks.