Adaptive Server Enterprise Utility Guide is a guide to the Sybase® Adaptive Server® Enterprise utility programs available for UNIX platforms and Windows NT. Utility programs are commands that you invoke directly from the operating system.
This manual is for anyone using Transact-SQL® and Adaptive Server Enterprise version 12.5. It assumes that you have the basic knowledge to use Adaptive Server and your operating system.
This manual includes the following:
Chapter 1, “Building Servers Using dataserver” – discusses how to use the dataserver utility to build new servers.
Chapter 2, “Using the isql Utility” – discusses how to use the interactive SQL (isql) utility that allows access to SQL from your operating system.
Chapter 3, “Using bcp to Transfer Data to and from Adaptive Server” – discusses, in detail, the bulk copy (bcp) utility which you use to move data between Adaptive Server and an operating system file.
Chapter 4, “Using dsedit” – explains how to use the directory services editor (dsedit) utility to modify the interfaces (sql.ini) file in Windows NT, and in X-Windows to view and edit server entries in the interfaces file in UNIX platforms.
Chapter 5, “Using dscp” – explains how to use the dscp utility to view and edit server entries in the interfaces file in UNIX platforms.
Chapter 6, “Migration Utility” – explains how to use the sybmigrate utility to move data and database schema from pre-12.5 databases into 12.5 databases.
Chapter 7, “Installing the Adaptive Server Plug-in” – describes how to install Adaptive Server Sybase Central plugins.
Chapter 8, “Utility Commands Reference” – lists and describes the utility commands that you use to manage and maintain your databases and Adaptive Server Enterprise.
The examples in this manual are based on the pubs2 sample database. Ask your System Administrator how to access a clean copy of pubs2.
The Sybase® Adaptive Server® Enterprise documentation set consists of the following:
The release bulletin for your platform – contains last-minute information that was too late to be included in the books.
A more recent version of the release bulletin may be available on the World Wide Web. To check for critical product or document information that was added after the release of the product CD, use the Sybase Technical Library.
The Installation Guide for your platform – describes installation, upgrade, and configuration procedures for all Adaptive Server and related Sybase products.
What’s New in Adaptive Server Enterprise? – describes the new features in Adaptive Server version 12.5.1, the system changes added to support those features, and the changes that may affect your existing applications.
ASE Replicator User’s Guide – describes how to use the ASE Replicator feature of Adaptive Server to implement basic replication from a primary server to one or more remote Adaptive Servers.
Component Integration Services User’s Guide – explains how to use the Adaptive Server Component Integration Services feature to connect remote Sybase and non-Sybase databases.
Configuring Adaptive Server Enterprise for your platform – provides instructions for performing specific configuration tasks for Adaptive Server.
EJB Server User’s Guide – explains how to use EJB Server to deploy and execute Enterprise JavaBeans in Adaptive Server.
Error Messages and Troubleshooting Guide – explains how to resolve frequently occurring error messages and describes solutions to system problems frequently encountered by users.
Full-Text Search Specialty Data Store User’s Guide – describes how to use the Full-Text Search feature with Verity to search Adaptive Server Enterprise data.
Glossary – defines technical terms used in the Adaptive Server documentation.
Historical Server User’s Guide – describes how to use Historical Server to obtain performance information for SQL Server® and Adaptive Server.
Java in Adaptive Server Enterprise – describes how to install and use Java classes as data types, functions, and stored procedures in the Adaptive Server database.
Job Scheduler User's Guide – provides instructions on how to install and configure, and create and schedule jobs on a local or remote Adaptive Server using the command line or a graphical user interface (GUI).
Monitor Client Library Programmer’s Guide – describes how to write Monitor Client Library applications that access Adaptive Server performance data.
Monitor Server User’s Guide – describes how to use Monitor Server to obtain performance statistics from SQL Server and Adaptive Server.
Performance and Tuning Guide – is a series of four books that explains how to tune Adaptive Server for maximum performance:
Basics – the basics for understanding and investigating performance questions in Adaptive Server.
Locking – describes how the various locking schemas can be used for improving performance in Adaptive Server.
Optimizer and Abstract Plans – describes how the optimizer processes queries and how abstract plans can be used to change some of the optimizer plans.
Monitoring and Analyzing – explains how statistics are obtained and used for monitoring and optimizing performance.
Quick Reference Guide – provides a comprehensive listing of the names and syntax for commands, functions, system procedures, extended system procedures, datatypes, and utilities in a pocket-sized book.
Reference Manual – is a series of four books that contains the following detailed Transact-SQL® information:
Building Blocks – Transact-SQL datatypes, functions, global variables, expressions, identifiers and wildcards, and reserved words.
Commands – Transact-SQL commands.
Procedures – Transact-SQL system procedures, catalog stored procedures, system extended stored procedures, and dbcc stored procedures.
Tables – Transact-SQL system tables and dbcc tables.
System Administration Guide – provides in-depth information about administering servers and databases. This manual includes instructions and guidelines for managing physical resources, security, user and system databases, and specifying character conversion, international language, and sort order settings.
System Tables Diagram – illustrates system tables and their entity relationships in a poster format. Available only in print version.
Transact-SQL User’s Guide – documents Transact-SQL, Sybase’s enhanced version of the relational database language. This manual serves as a textbook for beginning users of the database management system. This manual also contains descriptions of the pubs2 and pubs3 sample databases.
Using Adaptive Server Distributed Transaction Management Features – explains how to configure, use, and troubleshoot Adaptive Server DTM features in distributed transaction processing environments.
Using Sybase Failover in a High Availability System – provides instructions for using Sybase’s Failover to configure an Adaptive Server as a companion server in a high availability system.
Utility Guide – documents the Adaptive Server utility programs, such as isql and bcp, which are executed at the operating system level.
Web Services User’s Guide – explains how to configure, use, and troubleshoot Web Services for Adaptive Server.
XA Interface Integration Guide for CICS, Encina, and TUXEDO – provides instructions for using the Sybase DTM XA interface with X/Open XA transaction managers.
XML Services in Adaptive Server Enterprise – describes the Sybase native XML processor and the Sybase Java-based XML support, introduces XML in the database, and documents the query and mapping functions that comprise XML Services.
Technical documentation at the Sybase web site is updated frequently.
Finding the latest information on product certifications
Point your web browser to Technical Documents.
Select Products from the navigation bar on the left.
Select a product name from the product list and click Go.
Select the Certification Report filter, specify a time frame, and click Go.
Click a Certification Report title to display the report.
Creating a personalized view of the Sybase web site (including support pages)
Set up a MySybase profile. MySybase is a free service that allows you to create a personalized view of Sybase web pages.
Point your web browser to Technical Documents.
Click MySybase and create a MySybase profile.
Finding the latest information on EBFs and software updates
Point your web browser to the Sybase Support Page.
Select EBFs/Updates. Enter user name and password information, if prompted (for existing web accounts) or create a new account (a free service).
Select a product.
Specify a time frame and click Go.
Click the Info icon to display the EBF/Update report, or click the product description to download the software.
In the regular text of this document, the names of files and directories appear in italics, for example:
In Windows NT: %SYBASE%\bin
In UNIX platforms: $SYBASE
Substitute your Sybase installation drive and directory for $SYBASE in UNIX, and %SYBASE% in Windows NT.
Table 1 details the typographic (font and syntax) conventions as used in this document.
Element |
Example |
---|---|
Command names, command option names, database names, datatypes, utility names, utility flags, and other keywords are Helvetica. |
dsedit |
Variables, or words that stand for values that you fill in, are in italics. |
|
Parentheses must be typed as part of the command. |
|
Curly braces indicate that at least one of the enclosed options is required by the command (see comma). |
Do not type the curly braces. |
Brackets mean that choosing one or more of the enclosed options is optional. |
Do not type the brackets. |
The vertical bar means you may select only one of the options shown. |
Do not type the curly braces. |
The comma means you may choose as many of the options shown as you like; be sure to separate multiple choices in a command with commas. |
Do not type the brackets. |
An ellipsis (...) means that you can repeat the unit that the ellipsis follows as many times as you like. |
|
Syntax statements, which display the utility’s syntax including all its options, appear as shown here, either in san serif font for flags and options (-v), or italics for user-supplied values (username). |
charset [-Ppassword] [-Sserver] [-Iinterface] sort_order | charset |
Examples
that illustrate computer output appear in |
|
Each Sybase installation that has purchased a support contract has one or more designated people who are authorized to contact Sybase Technical Support. If you cannot resolve a problem using the manuals or online help, please have the designated person contact Sybase Technical Support or the Sybase subsidiary in your area.