Contents Index The License utility License utility options

ASA Database Administration Guide
  Database Administration Utilities
    The License utility

Managing licenses using the dblic command-line utility


Syntax 

dblic { options } executable-name user-name company-name

Option Description
-l type License type. Allowed values are perseat or concurrent
-o filename Log output messages to a file
-p operating-system Target operating system. Allowed values are NetWare, UNIX, WIN32, WINNT
-q Operate quietly—do not print messages
-u license-number Total number of users for license
Executable-name The executable to be licensed, with path relative to the current directory. Should be either an Adaptive Server Anywhere network database server or a MobiLink synchronization server.
Description 

The License utility adds licensed users to your network database server. You must only use this utility in accordance with your Sybase license agreement to license the number of users to which you are entitled. Running this command does not grant you license. You can also use this utility to view the current license information for a server executable without starting the server.

Repeated running of the dblic command updates the license information.

Exit codes are 0 (success) or non-zero (failure).

On UNIX, the dbsrv and dbmlsrv executables are not writable, and so using the license [dblic] utility with those executables will fail. Make sure the dbsrv and dbmlsrv executables are writable (for example, using chmod +w) before you use the license [dblic] utility.

This utility accepts @filename parameters. For more information, see @filename server option.

Example 

The following command, executed in the same directory as the database server executable, applies a license for 50 concurrent users, in the name of Sys Admin , for company My Co , to a Windows NT network database server. The command must be entered all on one line:

dblic -l concurrent -p WINNT -u 50 dbsrv9.exe "Sys Admin" "My Co"

The following message appears on the screen to indicate the success of the license:

Licensed nodes: 50 User: Sys Admin Company: My Co


License utility options

Contents Index The License utility License utility options