IBM Books

What's New


Appendix A. How the DB2 Library Is Structured

  • Completing Tasks with SmartGuides
  • Accessing Online Help
  • DB2 Information - Hardcopy and Online
  • Viewing Online Information
  • Accessing Information with the Information Center
  • Setting Up a Document Server
  • Searching Online Information
  • Printing the PostScript Books
  • Ordering the Printed Books
  • The DB2 Universal Database library consists of SmartGuides, online help, books and sample programs in HTML format. This section describes the information that is provided, and how to access it.

    To access product information online, you can use the Information Center. You can view task information, DB2 books, troubleshooting information, sample programs, and DB2 information on the Web. See Accessing Information with the Information Center for details.


    Completing Tasks with SmartGuides

    SmartGuides help you complete some administration tasks by taking you through each task one step at a time. SmartGuides are available through the Control Center and the Client Configuration Assistant. The following table lists the SmartGuides.
    Note:Create Database, Index, and Configure Multisite Update SmartGuide are available for the partitioned database environment.

    SmartGuide Helps You to... How to Access...
    Add Database Catalog a database on a client workstation. From the Client Configuration Assistant, click Add.
    Back up Database Determine, create, and schedule a backup plan. From the Control Center, click with the right mouse button on the database you want to back up and select Backup->Database using SmartGuide.
    Configure Multisite Update SmartGuide Perform a multi-site update, a distributed transaction, or a two-phase commit. From the Control Center, click with the right mouse button on the Database icon and select Multisite Update.
    Create Database Create a database, and perform some basic configuration tasks.

    From the Control Center, click with the right mouse button on the Databases icon and select Create->Database using SmartGuide.

    Create Table Select basic data types, and create a primary key for the table. From the Control Center, click with the right mouse button on the Tables icon and select Create->Table using SmartGuide.
    Create Table Space Create a new table space. From the Control Center, click with the right mouse button on the Table spaces icon and select Create->Table space using SmartGuide.
    Index Advise which indexes to create and drop for all your queries. From the Control Center, click with the right mouse button on the Index icon and select Create->Index using SmartGuide.
    Performance Configuration Tune the performance of a database by updating configuration parameters to match your business requirements. From the Control Center, click with the right mouse button on the database you want to tune and select Configure using SmartGuide.
    Restore Database Recover a database after a failure. It helps you understand which backup to use, and which logs to replay. From the Control Center, click with the right mouse button on the database you want to restore and select Restore->Database using SmartGuide.


    Accessing Online Help

    Online help is available with all DB2 components. The following table describes the various types of help. You can also access DB2 information through the Information Center. For information see Accessing Information with the Information Center.
    Type of Help Contents How to Access...
    Command Help Explains the syntax of commands in the command line processor. From the command line processor in interactive mode, enter:

    ? command

    where command is a keyword or the entire command.

    For example, ? catalog displays help for all the CATALOG commands, while ? catalog database displays help for the CATALOG DATABASE command.

    Control Center Help

    Client Configuration Assistant Help

    Event Analyzer Help

    Command Center Help

    Explains the tasks you can perform in a window or notebook. The help includes prerequisite information you need to know, and describes how to use the window or notebook controls. From a window or notebook, click the Help push button or press the F1 key.
    Message Help Describes the cause of a message, and any action you should take. From the command line processor in interactive mode, enter:

    ? XXXnnnnn

    where XXXnnnnn is a valid message identifier.

    For example, ? SQL30081 displays help about the SQL30081 message.

    To view message help one screen at a time, enter:

    ? XXXnnnnn | more

    To save message help in a file, enter:

    ? XXXnnnnn > filename.ext

    where filename.ext is the file where you want to save the message help.

    SQL Help Explains the syntax of SQL statements. From the command line processor in interactive mode, enter:

    help statement

    where statement is an SQL statement.

    For example, help SELECT displays help about the SELECT statement.
    Note:SQL help is not available on UNIX-based platforms.

    SQLSTATE Help Explains SQL states and class codes. From the command line processor in interactive mode, enter:

    ? sqlstate or ? class-code

    where sqlstate is a valid five-digit SQL state and class-code is the first two digits of the SQL state.

    For example, ? 08003 displays help for the 08003 SQL state, while ? 08 displays help for the 08 class code.


    DB2 Information - Hardcopy and Online

    The table in this section lists the DB2 books. They are divided into two groups:

    Cross-platform books
    These books contain the common DB2 information for all platforms.

    Platform-specific books
    These books are for DB2 on a specific platform. For example, there are separate Quick Beginnings books for DB2 on OS/2, on Windows NT, and on the UNIX-based platforms.

    Cross-platform sample programs in HTML
    These samples are the HTML version of the sample programs that are installed with the SDK. They are for informational purposes and do not replace the actual programs.

    Most books are available in HTML and PostScript format, or you can choose to order a hardcopy from IBM. The exceptions are noted in the table.

    On OS/2 and Windows platforms, HTML documentation files can be installed under the doc\html subdirectory. Depending on the language of your system, some files may be in that language, and the remainder are in English.

    On UNIX platforms, you can install multiple language versions of the HTML documentation files under the doc/%L/html subdirectories. Any documentation that is not available in a national language is shown in English.

    You can obtain DB2 books and access information in a variety of different ways:

    View
    See Viewing Online Information.

    Search
    See Searching Online Information.

    Print
    See Printing the PostScript Books.

    Order
    See Ordering the Printed Books.

    Name Description Form Number

    File Name for Online Book

    HTML Directory
    Cross-Platform Books
    Administration Guide Administration Guide, Design and Implementation contains information required to design, implement, and maintain a database. It also describes database access using the Control Center(whether local or in a client/server environment), auditing, database recovery, distributed database support, and high availability.

    Administration Guide, Performance contains information that focuses on the database environment, such as application performance evaluation and tuning.

    You can order both volumes of the Administration Guide in the English language in North America using the form number SBOF-8922.

    Volume 1 SC09-2839
    db2d1x60

    Volume 2 SC09-2840
    db2d2x60

    db2d0
    Administrative API Reference Describes the DB2 application programming interfaces (APIs) and data structures you can use to manage your databases. Explains how to call APIs from your applications. SC09-2841

    db2b0x60

    db2b0
    Application Building Guide Provides environment setup information and step-by-step instructions about how to compile, link, and run DB2 applications on Windows, OS/2, and UNIX-based platforms.

    This book combines the Building Applications books for the OS/2, Windows, and UNIX-based environments.

    SC09-2842

    db2axx60

    db2ax
    APPC, CPI-C and SNA Sense Codes Provides general information about APPC, CPI-C, and SNA sense codes that you may encounter when using DB2 Universal Database products.
    Note:Available in HTML format only.
    No form number

    db2apx60

    db2ap
    Application Development Guide Explains how to develop applications that access DB2 databases using embedded SQL or JDBC, how to write stored procedures, user-defined types, user-defined functions, and how to use triggers. It also discusses programming techniques and performance considerations.

    This book was formerly known as the Embedded SQL Programming Guide.

    SC09-2845

    db2a0x60

    db2a0
    CLI Guide and Reference Explains how to develop applications that access DB2 databases using the DB2 Call Level Interface, a callable SQL interface that is compatible with the Microsoft ODBC specification. SC09-2843

    db2l0x60

    db2l0
    Command Reference Explains how to use the command line processor, and describes the DB2 commands you can use to manage your database. SC09-2844

    db2n0x60

    db2n0
    Data Movement Utilities Guide and Reference Explains how to use the Load, Import, Export, Autoloader, and Data Propogation utilities to work with the data in the database. SC09-2858

    db2dmx60

    db2dm
    DB2 Connect Personal Edition Quick Beginnings Provides planning, installing, and configuring information for DB2 Connect Personal Edition. GC09-2830

    db2c1x60

    db2c1
    DB2 Connect User's Guide Provides concepts, programming and general usage information about the DB2 Connect products. SC09-2838

    db2c0x60

    db2c0
    Connectivity Supplement Provides setup and reference information on how to use DB2 for AS/400, DB2 for OS/390, DB2 for MVS, or DB2 for VM as DRDA application requesters with DB2 Universal Database servers, and on how to use DRDA application servers with DB2 Connect application requesters.
    Note:Available in HTML and PostScript formats only.
    No form number

    db2h1x60

    db2h1
    Glossary Provides a comprehensive list of all DB2 terms and definitions.
    Note:Available in HTML format only.
    No form number

    db2t0x50

    db2t0
    Installation and Configuration Supplement Guides you through the planning, installation, and set up of platform-specific DB2 clients. This supplement contains information on binding, setting up client and server communications, DB2 GUI tools, DRDA AS, distributed installation, and the configuration of distributed requests and access methods to heterogeneous data sources. GC09-2857

    db2iyx60

    db2iy
    Message Reference Lists messages and codes issued by DB2, and describes the actions you should take. GC09-2846

    db2m0x60

    db2m0
    Replication Guide and Reference Provides planning, configuration, administration, and usage information for the IBM Replication tools supplied with DB2. SC26-9642

    db2e0x60

    db2e0
    SQL Getting Started Introduces SQL concepts, and provides examples for many constructs and tasks. SC09-2856

    db2y0x60

    db2y0
    SQL Reference, Volume 1 and Volume 2 Describes SQL syntax, semantics, and the rules of the language. Also includes information about release-to-release incompatibilities, product limits, and catalog views.

    You can order both volumes of the SQL Reference in the English language in North America with the form number SBOF-8923.

    SBOF-8923

    Volume 1 db2s1x60

    Volume 2 db2s2x60

    db2s0
    System Monitor Guide and Reference Describes how to collect different kinds of information about databases and the database manager. Explains how to use the information to understand database activity, improve performance, and determine the cause of problems. SC09-2849

    db2f0x60

    db2f0
    Troubleshooting Guide Helps you determine the source of errors, recover from problems, and use diagnostic tools in consultation with DB2 Customer Service. S10J-8169 db2p0
    What's New Describes the new features, functions, and enhancements in DB2 Universal Database, Version 6.0, including information about Java-based tools. SC09-2851

    db2q0x60

    db2q0
    Platform-Specific Books
    Administering Satellites Guide and Reference Provides planning, configuration, administration, and usage information for satellites. GC09-2821

    db2dsx60

    db2ds
    DB2 Personal Edition Quick Beginnings Provides planning, installation, migration, and configuration information for DB2 Universal Database Personal Edition on the OS/2, Windows 95, and Windows NT operating systems. GC09-2831

    db2i1x60

    db2i1
    DB2 for OS/2 Quick Beginnings Provides planning, installation, migration, and configuration information for DB2 Universal Database on the OS/2 operating system. Also contains installing and setup information for many supported clients. GC09-2834

    db2i2x60

    db2i2
    DB2 for UNIX Quick Beginnings Provides planning, installation, migration, and configuration information for DB2 Universal Database on UNIX-based platforms. Also contains installing and setup information for many supported clients. GC09-2836

    db2ixx60

    db2ix
    DB2 for Windows NT Quick Beginnings Provides planning, installation, migration, and configuration information for DB2 Universal Database on the Windows NT operating system. Also contains installing and setup information for many supported clients. GC09-2835

    db2i6x60

    db2i6
    DB2 Enterprise - Extended Edition for UNIX Quick Beginnings Provides planning, installation, and configuration information for DB2 Enterprise - Extended Edition for UNIX. Also contains installing and setup information for many supported clients. GC09-2832

    db2v3x60

    db2v3
    DB2 Enterprise - Extended Edition for Windows NT Quick Beginnings Provides planning, installation, and configuration information for DB2 Enterprise - Extended Edition for Windows NT. Also contains installing and setup information for many supported clients. GC09-2833

    db2v6x60

    db2v6
    DB2 Connect Enterprise Edition for OS/2 and Windows NT Quick Beginnings Provides planning, migration, installation, and configuration information for DB2 Connect Enterprise Edition on the OS/2 and Windows NT operating systems. Also contains installation and setup information for many supported clients.

    This book was formerly part of the DB2 Connect Enterprise Edition Quick Beginnings.

    GC09-2828

    db2c6x60

    db2c6
    DB2 Connect Enterprise Edition for UNIX Quick Beginnings Provides planning, migration, installation, configuration, and usage information for DB2 Connect Enterprise Edition in UNIX-based platforms. Also contains installation and setup information for many supported clients.

    This book was formerly part of the DB2 Connect Enterprise Edition Quick Beginnings.

    GC09-2829

    db2cyx60

    db2cy
    DB2 Data Links Manager for AIX Quick Beginnings Provides planning, installation, configuration, and task information for DB2 Data Links Manager for AIX. GC09-2837

    db2z0x60

    db2z0
    DB2 Data Links Manager for Windows NT Quick Beginnings Provides planning, installation, configuration, and task information for DB2 Data Links Manager for Windows NT. GC09-2827

    db2z6x60

    db2z6
    DB2 Query Patroller Administration Guide Provides administration information on DB2 Query Patrol. SC09-2859

    db2dwx60

    db2dw
    DB2 Query Patroller Installation Guide Provides installation information on DB2 Query Patrol. GC09-2860

    db2iwx60

    db2iw
    DB2 Query Patroller User's Guide Describes how to use the tools and functions of the DB2 Query Patrol. SC09-2861

    db2wwx60

    db2ww
    Cross-Platform Sample Programs in HTML
    Sample programs in HTML Provides the sample programs in HTML format for the programming languages on all platforms supported by DB2 for informational purposes (not all samples are available in all languages). Only available when the SDK is installed.

    See Application Building Guide for more information on the actual programs.
    Note:Available in HTML format only.

    No form number
    db2hs/c
    db2hs/cli
    db2hs/clp
    db2hs/cpp
    db2hs/cobol
    db2hs/cobol_mf
    db2hs/fortran
    db2hs/java
    db2hs/rexx

    Notes:

    1. The character in the sixth position of the file name indicates the language of a book. For example, the file name db2d0e60 indicates that the Administration Guide is in English. The following letters are used in the file names to indicate the language of a book:
      Language Identifier

      Brazilian Portuguese b

      Bulgarian u

      Czech x

      Danish d

      Dutch q

      English e

      Finnish y

      French f

      German g

      Greek a

      Hungarian h

      Italian i

      Japanese j

      Korean k

      Norwegian n

      Polish p

      Portuguese v

      Russian r

      Simp. Chinese c

      Slovenian l

      Spanish z

      Swedish s

      Trad. Chinese t

      Turkish m

    2. For late breaking information that could not be included in the DB2 books:


    Viewing Online Information

    The manuals included with this product are in Hypertext Markup Language (HTML) softcopy format. Softcopy format enables you to search or browse the information, and provides hypertext links to related information. It also makes it easier to share the library across your site.

    You can view the online books or sample programs with any browser that conforms to HTML Version 3.2 specifications.

    To view online books or sample programs on all platforms other than SCO UnixWare 7:

    To view online books or sample programs on the SCO UnixWare 7:

    Accessing Information with the Information Center

    The Information Center provides quick access to DB2 product information. The Information Center is available on all platforms on which the DB2 administration tools are available.

    Depending on your system, you can access the Information Center from the:

    The Information Center provides the following kinds of information. Click the appropriate tab to look at the information:

    Tasks
    Lists tasks you can perform using DB2.

    Reference
    Lists DB2 reference information, such as keywords, commands, and APIs.

    Books
    Lists DB2 books.

    Troubleshooting
    Lists categories of error messages and their recovery actions.

    Sample Programs
    Lists sample programs that come with the DB2 Software Developer's Kit. If the Software Developer's Kit is not installed, this tab is not displayed.

    Web
    Lists DB2 information on the World Wide Web. To access this information, you must have a connection to the Web from your system.

    When you select an item in one of the lists, the Information Center launches a viewer to display the information. The viewer might be the system help viewer, an editor, or a Web browser, depending on the kind of information you select.

    The Information Center provides some search capabilities, so you can look for specific topics, and filter capabilities to limit the scope of your searches.

    For a full text search, click the Search button of the Information Center follow the Search DB2 Books link in each HTML file.

    The HTML search server is usually started automatically. If a search in the HTML information does not work, you may have to start the search server by double-clicking its icon on the Windows or OS/2 desktop.

    Refer to the release notes if you experience any other problems when searching the HTML information.
    Note:Search function is not available in the Linux and Silicon Graphics environments.


    Setting Up a Document Server

    By default, the DB2 information is installed on your local system. This means that each person who needs access to the DB2 information must install the same files. To have the DB2 information stored in a single location, use the following instructions:

    1. Copy all files and subdirectories from \sqllib\doc\html on your local system to a Web server. Each book has its own subdirectory containing all the necessary HTML and GIF files that make up the book. Ensure that the directory structure remains the same.

    2. Configure the Web server to look for the files in the new location. For information, see the NetQuestion Appendix in Installation and Configuration Supplement.

    3. If you are using the Java version of the Information Center, you can specify a base URL for all HTML files. You should use the URL for the list of books.

    4. Once you are able to view the book files, you should bookmark commonly viewed topics. Among those, you will probably want to bookmark the following pages:

    For information about setting up a search, see the NetQuestion Appendix in Installation and Configuration Supplement book.


    Searching Online Information

    To search for information in the HTML books, you can do the following:


    Printing the PostScript Books

    If you prefer to have printed copies of the manuals, you can decompress and print PostScript versions. For the file name of each book in the library, see the table in DB2 Information - Hardcopy and Online. Specify the full path name for the file you intend to print.

    On OS/2 and Windows platforms:

    1. Copy the compressed PostScript files to a hard drive on your system. The files have a file extension of .exe and are located in the x:\doc\language\books\ps directory, where x: is the letter representing the CD-ROM drive and language is the two-character country code that represents your language (for example, EN for English).

    2. Decompress the file that corresponds to the book that you want. Each compressed book is a self-extracting executable file. To decompress the book, simply run it as you would run any other executable program. The result from this step is a printable PostScript file with a file extension of .ps.

    3. Ensure that your default printer is a PostScript printer capable of printing Level 1 (or equivalent) files.

    4. Enter the following command from a command line:
         print filename.ps
      

    On UNIX-based platforms:

    1. Mount the CD-ROM. Refer to your Quick Beginnings manual for the procedures to mount the CD-ROM.

    2. Change to /cdrom/doc/%L/ps directory on the CD-ROM, where /cdrom is the mount point of the CD-ROM and %L is the name of the desired locale. The manuals will be installed in the previously-mentioned directory with file names ending with .ps.Z.

    3. Decompress and print the manual you require using the following command:

      where filename is the full path name and extension of the compressed PostScript file and PSprinter_queue is the name of the PostScript printer queue.

      For example, to print the English version of DB2 for UNIX Quick Beginnings on AIX, you can use the following command:

        zcat /cdrom/doc/en/ps/db2ixe60.ps.Z || qprt -P ps1
      

    Ordering the Printed Books

    You can order the printed DB2 manuals either as a set or individually. There are three sets of books available. The form number for the entire set of DB2 books is SBOF-8926-00. The form number for the books listed under the heading "Cross-Platform Books" is SBOF-8924-00.
    Note:These form numbers only apply if you are ordering books that are printed in the English language in North America.

    You can also order books individually by the form number listed in DB2 Information - Hardcopy and Online. To order printed versions, contact your IBM authorized dealer or marketing representative, or phone 1-800-879-2755 in the United States or 1-800-IBM-4YOU in Canada.


    [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

    [ DB2 List of Books | Search the DB2 Books ]