Sybase Adaptive Server Anywhere Reference page 145

Table of Contents

Advertisement

Switches
Examples
Account name (-a)
All services run under a Windows NT account. If you
run under an account you've created, you must name the account with the -a
switch and supply a password with the -p switch.
Use local system account (-as)
account. Using the -as switch, the service will run under a Windows NT
account. No password is required.
Delete a service (-d)
If you supply -y, any service is deleted without confirmation.
Allow service to interact with desktop (-i)
can double-click on to display the server window.
Get details of a service (-g)
including the password.
List all ASA services (-l)
services.
Password for account (-p)
the password for the account the service runs under.
Do not print banner (-q)
switch can be used with any of the -d, -g, -l, or -w switches.
Startup option (-s)
Sets startup behavior for Adaptive Server Anywhere
services. You can set startup behavior to Automatic, Manual or disabled.
Type of service (-t)
Specifies whether the service is network or
standalone.
Create service (-w)
Creates a new service, or overwrites one if one of the
same name exists. If you supply -y, any existing service is overwritten
without confirmation.
Delete or overwrite service without confirmation (-y)
carries out the action without prompting for confirmation. This switch can be
used with the -w or -d switches.
Create a personal server service called myserv, which starts the specified
engine with the specified parameters. The engine runs as the LocalSystem
user:
dbsvc -as -w myserv E:\asa70\win32\dbeng7 -n graeme -c
8m e:\asa70\sample.db
Create a network server service called myserv. The server runs as the sybase
user (password asa), and starts automatically when the machine is booted:
Chapter 4 Database Administration Utilities
All services run under a Windows NT
Removes the server name from the list of services.
Displays an icon that you
Lists the definition of the service, not
Lists the available Adaptive Server Anywhere
Use this switch with the -a switch to specify
Suppress the informational banner. The -q
Automatically
127

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Adaptive Server Anywhere and is the answer not in the manual?

Questions and answers

Table of Contents