Chapter Contents

Previous

Next
SAS Companion for the OS/390 Environment

Specifying Physical Files

Wherever you specify the name of an physical file internally (in a SAS LIBNAME or FILENAME statement, LIBNAME or FILENAME function, in a DATA step, or in a SAS procedure, for example), the name can be in any of these forms:

Here are examples of the INCLUDE command that illustrate the various ways you can specify physical files:

INCLUDE MYPGM
MYPGM is a fileref that was previously associated with the external file.

INCLUDE MYPGM(PGM1)
PGM1 is a member of the partitioned data set that is associated with the fileref MYPGM.

INCLUDE 'USERID.TEST.PGMS'
sequential data set name.

INCLUDE 'USERID.TEST.PGMS(AAA)'
data set name with member specified.

INCLUDE 'HFS:MYPGM'
name of a UNIX System Services file in the hierarchical file system. Alternate syntax of MVS: can be used if the FILESYSTEM= system option (see FILESYSTEM=) is set to HFS.

INCLUDE '/u/userid/test/pgms/aaa'
name of a UNIX System Services file.

INCLUDE '.TEST.MYPGM'
the first part of the name is the value of the SAS system option SYSPREF=, which defaults to the user's system prefix.


Handling of Nonstandard Member Names

You can use the SAS system option FILEEXT= to specify how extensions in member names of partitioned data sets are to be handled. See FILEEXT= for more information.


Chapter Contents

Previous

Next

Top of Page

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.