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.
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. |
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.
| ||
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. |
The table in this section lists the DB2 books. They are divided into two groups:
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:
Notes:
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 |
|
|
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:
file:/INSTHOME/sqllib/doc/%L/html/index.htm
where %L is the locale name.
sqllib\doc\html\index.htm
The path is located on the drive where DB2 is installed.
If you have not installed the Information Center, you can open the page by double-clicking on the DB2 Online Books icon. Depending on the system you are using, the icon is in the main product folder or the Windows Start menu.
To view online books or sample programs on the SCO UnixWare 7:
For more information on SCOhelp, refer to the Installation and Configuration Supplement.
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:
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. |
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:
For information about setting up a search, see the NetQuestion Appendix in Installation and Configuration Supplement book.
To search for information in the HTML books, you can do the following:
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:
print filename.ps
On UNIX-based platforms:
zcat filename | qprt -P PSPrinter_queue
zcat filename | lp -d PSPrinter_queue
zcat filename | lpr -P PSPrinter_queue
zcat < filename | lp -d PSPrinter_queue
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
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.