You can concatenate
files in your autoexec file by using the following system options
with the AUTOEXEC system option:
INSERT System Option: UNIX and
APPEND System Option: UNIX. The autoexec file is always a UNIX file. If your filename
contains embedded blanks or special characters, you must enclose the
filename in quotation marks. Otherwise, quotation marks are optional
when one or more filenames are specified.
You can use the following
syntax to concatenate autoexec files:
-autoexec "(/path1/autoexec.sas /path2/autoexec.sas /path3/autoexec.sas)"
You can use the following
syntax with the INSERT system option:
-insert autoexec "a.sas" –insert autoexec "b.sas"
You can use the following
syntax with the APPEND system option:
-append autoexec "a.sas" –append autoexec "b.sas"
If any file in a concatenated
autoexec list does not exist or cannot be opened (for example, if
you are not authorized for Read access), SAS issues error messages
to the log. SAS terminates without executing any of the files in the
list. The final SAS exit code is 103, which indicates system start-up
failure.