Chapter Contents |
Previous |
Next |
SAS Companion for the CMS Environment |
Creating a User Configuration File |
To create a user configuration file, follow these steps:
NODATE NOCENTER LINESIZE=68 PAGESIZE=60
Note: Comment lines must start
with an asterisk in column 1. Embedded comments may be enclosed with /* ...
*/.
Specifying a User Configuration File |
To specify a different user configuration file, use the CONFIG= system option in the SAS command. For example, the following SAS command invokes SAS and tells it to use the configuration file named MYCONFIG:
sas (config=myconfig
The CONFIG filetype is assumed. If your configuration file has a different filetype, then you must specify the filetype, and you must enclose the file specification in quotation marks. For example, the following SAS command specifies the configuration file named CFG1 CFGFILES.
sas (config='cfg1 cfgfiles'
SAS searches your minidisks and accessed SFS directories in standard CMS search order. When it finds the user configuration file, SAS concatenates the file to the SASV8SYS CONFIG file.
Note: You may include either the filemode or the SFS
directory in the CONFIG= option. Otherwise, the standard filemode search order
is used.
You can have multiple configuration files, but you can use only one configuration file per SAS session.
Displaying the Contents of Configuration Files |
For example, suppose your system configuration file contains the following system options:
LINESIZE=80 PAGESIZE=60
Suppose that you have also created your own configuration file, MYCONFIG SAS, and that it contains the following option:
FULLSTIMER
Now suppose that you use the following command to invoke SAS:
SAS (CONFIG=MYCONFIG VERBOSE
The contents of both the system configuration file and MYCONFIG SAS are written to your terminal.
Note: Alternatively, you may use the OPLIST system option
instead of the VERBOSE option when invoking SAS. The difference is that the
OPLIST option directs output to the SAS log.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.