To create a SAS Service
INI file by using any Unicode-capable text editor, such as Notepad,
create a new file in the editor and assign a valid value to each of
the settings in the following table. Type only one setting per line:
SAS Service INI File Settings and Default Values
|
|
|
|
|
|
|
|
The SAS Service name
registered to Windows.
|
Can contain up to 32
characters (/ and \ are not valid). The name is not case sensitive
and it must be contained in quotation marks.
|
|
|
|
|
The name of the service
that is displayed to user-interface applications.
|
Can contain up to 256
characters, is not case sensitive, and must be contained in quotation
marks.
|
|
|
|
|
Contains the directory
path in which the SAS Service INI file is installed, followed by the
SAS command to start the service.
|
The pathname must be
contained in both brackets and quotation marks.
|
[" SAS installation path\sas.exe -noterminal"]
|
|
|
|
Specifies whether the
SAS Service is to start manually or automatically.
|
|
|
|
|
|
Specifies Windows services
that must be started before this service is started.
|
One or more Windows
service names, separated by the pipe (|) character. Enclose dependences
in quotation marks.
|
|
|
|
|
A description of the
service
|
The description can
contain alphanumeric characters and must be enclosed in quotation
marks.
|
|
|
|
|
The directory used by
applications to store files created and used by the SAS Service.
|
The path to the working
directory must be contained in quotation marks.
|
"Under Windows Vista,
Windows 7, and Windows Server 2008- c:\Users\ user
ID" or Under Windows XP and 2003 - "c:\Documents
and Settings\ user ID"
|
|
|
|
Determines the error
severity if the SAS Service fails to start.
|
|
|
|
|
|
Specifies whether the
service allows a user to interact with the SAS desktop.
|
|
|
|
|
|
Modifies the SAS Service
configuration.
|
|
|
|
|
|
Requests that the SAS
Service immediately update its current status.
|
|
|
|
|
|
Pauses and resumes the
SAS Service.
|
|
|
|
|
|
Makes queries about
the SAS Service configuration.
|
|
|
|
|
|
Queries Windows about
the status of the SAS Service.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Specifies a user-defined
control code.
|
|
|
|
|
|
The Windows user account
with proper user rights to run the SAS Service.
|
LocalSystem or Windows
account name
|
|
|
|
|
The Windows account
password.
|
|
|
|
When you create an
.INI file by using a text editor and you want to specify ServiceStartName
for a specific user, the Windows account name must be of the format
domainname\username and you must include an encrypted
password in the PASSWORD setting name. You can use the PWENCODE procedure
to create an encrypted password. For example, the following PWENCODE
procedure specifies
mypw
as the input
password:
proc pwencode in='mypw';
run;
The SAS log displays the encrypted password
{sas001}bXlwdw==
. You then specify
{sas001}bXlwdw==
as the value for the Password= setting
in your .INI file. An encrypted password is necessary only if you
specify Password= in an .INI file. In comparison, when you create
an .INI file by using the SAS SCU, you specify a text password. The
SAS SCU encrypts the password for you.
For more information
about the PWENCODE procedure, see
Base SAS Procedures Guide.