Previous Page | Next Page

System Options under z/OS

APPEND= System Option: z/OS



Used when SAS starts, appends the specified value to the existing value at the end of the specified system option.
Default: none
Valid in: configuration file, SAS invocation
Category: Environment Control: ENVFILES
PROC OPTIONS GROUP= ENVFILES
z/OS specifics: all

Syntax
Details
See Also

Syntax

APPEND=(system-option=new-option-value)

system-option

can be CMPLIB, FMTSEARCH, HELPLOC, MAPS, MSG, SASAUTOS, SASHELP, or SASSCRIPT

new-option-value

is the new value that you want to append to the current value of system-option.


Details

If you specify the CMPLIB, FMTSEARCH, HELPLOC, MAPS, MSG, SASAUTOS, SASHELP, or SASSCRIPT system options more than once, then the last specification of each option is the one that SAS uses. If you want to add additional values to the end of the value that is already specified by one of these options, then you must use the APPEND system option to add the new value. For example, if your config file contains the following option specification:

sasautos='prefix.prod.sasautos'

and you enter the following SASRX command,

sasrx -sasautos 'prefix.more.sasautos'

then the only location where SAS will look for autocall macros is 'prefix.more.sasautos' The output of PROC OPTIONS will show 'prefix.more.sasautos' as the value of the SASAUTOS option.

If you want SAS to look in both locations for autocall macros, then you must use the following APPEND option:

sasrx -append=(sasautos='prefix.more.sasautos')

PROC OPTIONS then shows the following value for the SASAUTOS option:

('prefix.prod.sasautos' 'prefix.more.sasautos')

If the original value of system-option or new-option-value is enclosed in parentheses, then the resulting option value is merged into one pair of parentheses. For example,

SASAUTOS=(.a.sasautos .b.sasautos) 
APPEND=(sasautos=(.c.sasautos .d.sasautos))

sets the value of the SASAUTOS option to

(.a.sasautos .b.sasautos .c.sasautos .d.sasautos)


See Also

Previous Page | Next Page | Top of Page