Previous Page | Next Page

System Options for Macros

SASAUTOS= System Option



Specifies the location of one or more autocall libraries.
Valid in:

Configuration file

OPTIONS window

OPTIONS statement

SAS invocation

Type: System option
PROC OPTIONS GROUP= ENVFILES
MACRO

Syntax
Details

Syntax

SASAUTOS= library-specification |
(library-specification-1 . . . , library-specification-n)

library-specification

identifies a location that contains library members that contain a SAS macro definition. A location can be a SAS fileref or a host-specific location name enclosed in quotation marks. Each member contains a SAS macro definition.

(library-specification-1 . . . , library-specification-n)

identifies two or more locations that contain library members that contain a SAS macro definition. A location can be a SAS fileref or a host-specific location name enclosed in quotation marks. When you specify two or more autocall libraries, enclose the specifications in parentheses and separate them with either a comma or a blank space.


Details

When SAS searches for an autocall macro definition, it opens and searches each location in the same order that it is specified in the SASAUTOS option. If SAS cannot open any specified location, it generates a warning message and sets the NOMAUTOSOURCE system option on. To use the autocall facility again in the same SAS session, you must specify the MAUTOSOURCE option again.

For more information, see Storing and Reusing Macros.

Operating Environment Information:   You specify a source library by using a fileref or by enclosing the host-specific location name in quotation marks. A valid library specification and its syntax are host specific. Although the syntax is generally consistent with the command-line syntax of your operating environment, it might include additional or alternate punctuation. For details, see the SAS documentation for your operating environment.  [cautionend]

Operating Environment Information for z/OS and UNIX Users:   You can use the APPEND or INSERT system options to add additional library-specification. For details, see the documentation for the APPEND and INSERT system options under UNIX and z/OS.  [cautionend]

Previous Page | Next Page | Top of Page