The CONFIG system option specifies the location of
the configuration file. You can include SAS system options as part
of the SAS command that is used to start a SAS session. The configuration
file that is supplied with Version 9 is called SASV9.CFG. Here are
two examples, one for a PC environment and the other for UNIX operating
environments:
sas -config c:\myApp\myConfigFile.cfg
sas -config /u/myApp/myConfigFile.cfg
Note: Your configuration file does not have to be named
SASV9.CFG. If you use a generic name for your configuration file,
start with a copy of the one that is supplied by SAS and then rename
it. If you do not specify a configuration file in the SAS command,
the first file named SASV9.CFG in a predefined search path is used.
For details about host-specific system options and configuration files,
see the SAS Companion for your operating environment.
To create a configuration
file, you can
-
Make a copy of the default
configuration file.
-
Modify the copy by adding
or changing SAS system options.
You can also specify
additional windowing environment options in a custom configuration
file. For example, consider this configuration file for an application
on a Windows PC:
-AWSCONTROL TITLE NOSYSTEMMENU MINMAX
-AWSTITLE 'Corporate Reporting'
-NOAWSMENUMERGE
-SASCONTROL NOSYSTEMMENU NOMINMAX
-NOSPLASH
-SET corprept F:\apps
-HELPLOC ('!sasroot\core\help' 'F:\apps\help')
-SPLASHLOC F:\apps\images
-INITCMD "AF C=corprept.APP.MAINMENU.FRAME PMENU=YES"where
AWSCONTROL
-
TITLE indicates whether the AWS includes a title bar.
-
SYSTEMMENU indicates whether the AWS menu appears.
-
MINMAX indicates whether the minimize
and maximize controls appear.
AWSTITLE
specifies the title for the AWS window if the AWSCONTROL TITLE option is set.
AWSMENUMERGE/NOAWSMENUMERGE
specifies whether the AWS menu items Options, Window, and Help appear.
SASCONTROL
specifies application
window features. Precede a feature with NO to disable it.
-
SYSTEMMENU indicates whether the AWS menu appears.
-
MINMAX indicates whether the minimize
and maximize controls appear.
SPLASH/NOSPLASH
specifies whether the
SAS software splash screen appears while your application is starting.
You can substitute your own bitmap image for the SAS software splash
screen. For more information, see the SAS Companion for
the Microsoft Windows Environment.
SET
creates an environment variable. An environment variable that contains a pathname
can be used as a SAS libref. For networked applications, ensure that all SAS files
in this path have a read-only
attribute.
HELPLOC
specifies the location
of online Help files.
SPLASHLOC
specifies the location
of a custom splash screen image to display when SAS starts.