Utility Commands Reference

Reference pages for the Adaptive Server® utility program commands.

In UNIX, you enter a utility program command at the system prompt in a UNIX shell.

In Windows, if a utility:

Place characters with special meaning to the shell (the command prompt in Windows), such as the backslash (\), asterisk (*), slash (/), and spaces, in quotes. Precede some special characters with the backslash (\) to “escape” them to prevent the shell (command prompt) from interpreting the special characters.

The utility programs available with Adaptive Server are:
UtilityDescription
backupserver

An executable form of the Backup Server program.

bcp

Copies rows in a database table to or from an operating system file in a user-specified format.

buildmaster
See dataserver.
certauth

Converts a server-certificate request into a certificate authority-signed certificate.

certpk12

Exports or imports a PKCS#12 file.

certreq

Creates a server certificate request and corresponding private key in two ways:

charset

Loads the character sets and sort order files.

cobpre

A precompiler for COBOL.

cpre

A precompiler for C.

dataserver

An executable form of the Adaptive Server program.

ddlgen

Generates data definition language for server- and database-level objects in ASE.

defncopy

Copies definitions for specified views, rules, defaults, triggers, procedures, or reports from a database to an operating system file or from an operating system file to a database.

dscp

Allows you to view and edit server entries in the interfaces file in command-line mode.

dsedit

Allows you to view and edit server entries in the interfaces file using a graphical user interface.

extractjava

Copies a retained JAR from an Adaptive Server to a client file.

installjava

Installs a JAR from a client file into an Adaptive Server.

isql

Interactive SQL parser to Adaptive Server.

langinstall

Installs a new language on the Adaptive Server.

optdiag

Displays optimizer statistics or loads updated statistics into system tables.

preupgrade

Performs tests on an installation or database to determine its readiness for upgrade.

pwdcrypt

Creates and prints an encrypted LDAP password in the libtcl.cfg file.

qrmutil

(Cluster Edition only) allows you to back up, restore, and reconfigure the quorum device.

qptune

Enables you to fix missing statistics and identify the best query plan, optimization goal, or other configuration settings, and apply them at the query or server level.

showserver

Shows Adaptive Servers and Backup Servers that are currently running on the local machine.

sqldbgr

Debugs stored procedures and triggers.

sqlloc

Installs and modifies languages, character sets, and sort order defaults for Adaptive Server in GUI mode.

sqllocres

Installs and modifies languages, character sets, and sort order defaults for Adaptive Server in command-line mode.

sqlsrvr

An executable form of the Adaptive Server program.

sqlupgrade

Upgrades your currently installed release of Adaptive Server to the newest release in GUI mode.

sqlupgraderes

Upgrades your currently installed release of Adaptive Server to the newest release in command-line mode.

srvbuild

Creates a new Adaptive Server, Backup Server, or XP Server in GUI mode with default or user-specified values for key configuration attributes.

srvbuildres

Creates a new Adaptive Server, Backup Server, or XP Server in command-line mode with default or user-specified values for key configuration attributes.

startserver

Starts an Adaptive Server or a Backup Server.

sybcluster

Manages a shared-disk cluster.

sybdiag

Collects comprehensive configuration and environment data for Adaptive Server.

sybmigrate

Enables you to migrate database from a server using 2K logical pages to a server using 4, 8, or 16K logical pages.

sybrestore

Enables you restore an Adaptive Server database to the time of failure from the most current full database backup dump files.

sybtsmpasswd

Records or changes the user password and creates the Tivoli Storage Manager (TSM) encrypted password file, TSM.PWD, on the TSM client machine.

updatease
Reinstalls scripts and updates system stored procedures and messages after a minor upgrade.
xpserver

Starts XP Server manually.

Note: These utility programs may allow you to use a -P parameter to enter your password. If security is an issue, do not use -P to specify your password; another user may have an opportunity to see it. Instead, log in as usual without the -P parameter, and let Adaptive Server prompt you for your password.