You are on page 1of 52

DB2 solution Information Center home

Contents
1. Overview of the DB2 technical information 2. DB2 troubleshooting information 3. DB2 PDF and printed documentation 3.1. Printing topics and subtopics 4. Documentation updates 4.1. Updates available for download 4.2. Updating the DB2 Information Center 4.2.1. Manually updating the Information Center 4.2.1.1. Updating the Workstation version of the DB2 Information Center 4.2.1.2. Mirroring the update site 5. Features of the DB2 Information Center 6. DB2 Information Center installation options 7. Starting the DB2 Information Center 8. Starting and stopping the Workstation version of the DB2 Information Center 9. Navigating in the information center 10. Using the Index view to access topics in the Information Center 11. Searching the Information Center 12. Setting bookmarks in the information center 13. Accessing different versions of the DB2 Information Center 14. Setting the location for accessing the DB2 Information Center 15. Displaying topics in your preferred language 16. Accessibility 16.1. Keyboard shortcuts and accelerators 17. Accessing help from a DB2 tool, window, wizard or advisor 18. Terms and Conditions 19. Tutorials 20. Standards compliance 21. Dotted decimal syntax diagrams 22. Release Notes 23. Notices 24. Contacting IBM 25. Ordering printed DB2 books 26. Invoking SQL state help from the command line

IBM DB2 Database for Linux, UNIX, and Windows Information Center
Welcome to the IBM DB2 Database for Linux, UNIX, and Windows Information Center. Here you can find information describing how to use the DB2 family of products and features, as well as related IBM InfoSphere Information Server products and features. This documentation was last updated 2013-05-23 for Version 9.7.

In this information ...


Getting started Installation requirements Updating a locally installed information center Tell me more... Compress XML data, temporary tables, and indexes Oracle application enablement made easy Partitioned database environments support the pureXML feature Data management and application development tools Provide feedback Send e-mail with documentation feedback Participate in consumability experience survey

Upgrading Upgrading DB2 database systems Upgrading DB2 Connect

General DB2 product documentation Overview of DB2 technical information Accessing different versions of the DB2 Information Center

Help make IBM products easier to install and use.

Using the information center


Features of this information center Accessibility and keyboard shortcuts Navigating Searching Setting bookmarks and printing Viewing information in different languages Updating a locally installed information center Notices

ibm.com and related resources


Best practices Best practices for DB2 Information roadmaps DB2 Information Roadmap Support and assistance DB2 Database for Linux, UNIX, and Windows DB2 Connect InfoSphere Federation Server Communities Information Management forums Information Management user groups International DB2 User Group (IDUG) developerWorks IBM developerWorks for Information Management software Product information DB2 Connect DB2 product family Information Integration Related product documentation IBM Data Studio Information Management Software for z/OS Solutions IBM Information Management books

InfoSphere Replication Server

IBM Redbooks publications IBM Information Management

Training and certification Information Management

Navigating the information center by keyboard

Use the following key combinations to navigate the information center by keyboard: To go to the next link, button, or topic node from inside a pane in the help browser, press Tab. To expand a node in the table of contents, press the Right Arrow. To collapse a node, press the Left Arrow. To move to the next topic node, press the Down Arrow or Tab. To move to the previous topic node, press the Up Arrow or Shift+Tab. To scroll to the top of the table of contents, press Home. To scroll to the bottom, press End. To go back, press Alt+Left Arrow. To go forward, press Alt+Right Arrow. To go to the next pane, press Ctrl+Tab. To move to the previous pane, press Shift+Ctrl+Tab. To print the active pane, press Ctrl+P.

T erms and c onditions for information c enters C opyright I BM C orporation 1 9 9 3 , 2 0 1 3 .

| Feedbac k

T his information c enter is powered by E c lips e tec hnology. (http://www.eclipse.org)

1. DB2 Version 9.7 for Linux, UNIX, and Windows

Overview of the DB2 technical information


DB2 technical information is available through the following tools and methods: DB2 Information Center Topics (Task, concept and reference topics) Help for DB2 tools Sample programs Tutorials DB2 books PDF files (downloadable) PDF files (from the DB2 PDF DVD) printed books Command line help Command help Message help Note: The DB2 Information Center topics are updated more frequently than either the PDF or the hardcopy books. To get the most current information, install the documentation updates as they become available, or refer to the DB2 Information Center at ibm.com. You can access additional DB2 technical information such as technotes, white papers, and IBM Redbooks publications online at ibm.com. Access the DB2 Information Management software library site at http://www.ibm.com/software/data/sw-library/.

Documentation feedback
We value your feedback on the DB2 documentation. If you have suggestions for how to improve the DB2 documentation, send an email to db2docs@ca.ibm.com. The DB2 documentation team reads all of your feedback, but cannot respond to you directly. Provide specific examples wherever possible so that we can better understand your concerns. If you are providing feedback on a specific topic or help file, include the topic title and URL. Do not use this e-mail address to contact DB2 Customer Support. If you have a DB2 technical issue that the documentation does not resolve, contact your local IBM service center for assistance. Related concepts: Documentation updates Features of the DB2 Information Center Related tasks: Invoking command help from the command line processor Invoking message help from the command line processor Manually updating the DB2 Information Center installed on your computer or intranet server Related reference : DB2 technical library in hardcopy or PDF format

2. DB2 Version 9.7 for Linux, UNIX, and Windows

DB2 troubleshooting information


A wide variety of troubleshooting and problem determination information is available to assist you with using DB2 database products. DB2 documentation Troubleshooting information can be found in the Troubleshooting and Tuning Database Performance or the Database fundamentals section of the DB2 Information Center. The troubleshooting information contains topics that can help you isolate and identify problems with DB2 diagnostic tools and utilities. There are also solutions to some of the most common problems and advice on how to solve problems you might encounter with your DB2 database products. IBM Support Portal See the IBM Support Portal if you are experiencing problems and want help finding possible causes and solutions. The Technical Support site has links to the latest DB2 publications, TechNotes, Authorized Program Analysis Reports (APARs or bug fixes), fix packs, and other resources. You can search through this knowledge base to find possible solutions to your problems. Access the IBM Support Portal at http://www.ibm.com/support/entry/portal/Overview/Software/Information_Management/DB2_for_Linux,_UNIX_and_Windows. Related concepts: Overview of the DB2 technical information Troubleshooting a problem

3. DB2 Version 9.7 for Linux, UNIX, and Windows

DB2 technical library in hardcopy or PDF format


The following tables describe the DB2 library available from the IBM Publications Center at www.ibm.com/ebusiness/linkweb/publications/servlet/pbi.wss. English Version 9.7 manuals in PDF format can be downloaded from www.ibm.com/support/docview.wss?uid=swg27015148 and translated DB2 manuals in PDF format can be downloaded from www.ibm.com/support/docview.wss?uid=swg27015149. Although the tables identify books available in print, the books might not be available in your country or region. The form number increases each time a manual is updated. Ensure that you are reading the most recent version of the manuals, as listed below. Note: The DB2 Information Center is updated more frequently than either the PDF or the hard-copy books. Table 1. DB2 technical information Name Form Number Administrative API Reference Administrative Routines and Views Call Level Interface Guide and Reference, Volume 1 Call Level Interface Guide and Reference, Volume 2 Command Reference Data Movement Utilities Guide and Reference Data Recovery and High Availability Guide and Reference Database Administration Concepts and Configuration Reference Database Monitoring Guide and Reference Database Security Guide DB2 Text Search Guide Developing ADO.NET and OLE DB Applications Developing Embedded SQL Applications Developing Java Applications Developing Perl, PHP, Python, and Ruby on Rails Applications Developing User-defined Routines (SQL and External) SC27-2435-03 SC27-2436-03 SC27-2437-03 Available in print Yes No Yes Last updated July, 2012 July, 2012 July, 2012

SC27-2438-03

Yes

July, 2012

SC27-2439-03 SC27-2440-01 SC27-2441-03

Yes Yes Yes

July, 2012 July, 2012 July, 2012

SC27-2442-03

Yes

July, 2012

SC27-2458-03 SC27-2443-02 SC27-2459-03 SC27-2444-02

Yes Yes Yes Yes

July, 2012 July, 2012 July, 2012 July, 2012

SC27-2445-02 SC27-2446-03 SC27-2447-02

Yes Yes No

July, 2012 July, 2012 July, 2012

SC27-2448-02

Yes

July, 2012

Getting Started with Database Application Development Getting Started with DB2 Installation and Administration on Linux and Windows Globalization Guide Installing DB2 Servers Installing IBM Data Server Clients Message Reference Volume 1 Message Reference Volume 2 Net Search Extender Administration and User's Guide Partitioning and Clustering Guide pureXML Guide Query Patroller Administration and User's Guide Spatial Extender and Geodetic Data Management Feature User's Guide and Reference SQL Procedural Languages: Application Enablement and Support SQL Reference, Volume 1 SQL Reference, Volume 2 Troubleshooting and Tuning Database Performance Upgrading to DB2 Version 9.7 Visual Explain Tutorial What's New for DB2 Version 9.7 Work load Manager Guide and Reference XQuery Reference

GI11-9410-02

Yes

July, 2012

GI11-9411-00

Yes

August, 2009

SC27-2449-00 GC27-2455-03 GC27-2454-02 SC27-2450-01 SC27-2451-01 SC27-2469-02

Yes Yes No No No No

August, 2009 July, 2012 July, 2012 August, 2009 August, 2009 September, 2010

SC27-2453-02 SC27-2465-02 SC27-2467-00

Yes Yes No

July, 2012 July, 2012 August, 2009

SC27-2468-02

No

July, 2012

SC27-2470-03

Yes

July, 2012

SC27-2456-03 SC27-2457-03 SC27-2461-03

Yes Yes Yes

July, 2012 July, 2012 July, 2012

SC27-2452-03 SC27-2462-00 SC27-2463-03 SC27-2464-03 SC27-2466-01

Yes No Yes Yes No

July, 2012 August, 2009 July, 2012 July, 2012 November, 2009

Table 2. DB2 Connect-specific technical information Name Form Number Installing and Configuring DB2 Connect Personal SC27-2432-03

Available in print Yes

Last updated July, 2012

Edition Installing and Configuring DB2 Connect Servers DB2 Connect User's Guide SC27-2433-03 Yes July, 2012

SC27-2434-02

Yes

September, 2010

Table 3. Information Integration technical information Name Form Number Information Integration: Administration Guide for Federated Systems Information Integration: ASNCLP Program Reference for Replication and Event Publishing Information Integration: Configuration Guide for Federated Data Sources Information Integration: SQL Replication Guide and Reference Information Integration: Introduction to Replication and Event Publishing SC19-1020-02

Available in print Yes

Last updated August, 2009

SC19-1018-04

Yes

August, 2009

SC19-1034-02

No

August, 2009

SC19-1030-02

Yes

August, 2009

GC19-1028-02

Yes

August, 2009

Printing topics and subtopics You can use the Open Quick Menu option to print all topics within a branch of the Navigation view. Related concepts: Overview of the DB2 technical information Release Notes for DB2 Version 9.7 for Linux , UNIX and Windows

3.1. DB2 Version 9.7 for Linux, UNIX, and Windows

Printing topics and subtopics


You can use the Open Quick Menu option to print all topics within a branch of the Navigation view.

Procedure
To print a single topic, or a specific topic and all its subtopics, from the DB2 Information Center Navigation view: 1. In the Navigation view, move your cursor over the first topic you want to print. The Open Quick Menu icon ( displayed to the right of the topic. 2. Click the Open Quick Menu icon to display a menu. 3. Click one of the following options: Print this topic to print just the topic selected (without subtopics, if any). Print this topic and subtopics to print the topic selected and its subtopics. A maximum of 100 topics can be printed. A browser window with a preview of the topic or topics is displayed. 4. Select the print option on the browser window to print the preview content. Parent topic: DB2 technical library in hardcopy or PDF format ) is

4. DB2 Version 9.7 for Linux, UNIX, and Windows

Documentation updates
The online version of the DB2 Version 9.7 Information Center is updated periodically. The online version of the DB2 Version 9.7 Information Center at ibm.com might be updated to coincide with product fix packs, or even more frequently, in between fix packs. Updates made between fix packs are available only in English, in the online information center. English and translated versions of these updates will be made available online and for download in the next product fix pack. For details on the latest documentation updates available for download, see the related links. Documentation updates available for download Updating the DB2 Information Center installed on your computer or intranet server A locally installed DB2 Information Center must be updated periodically. Related tasks: Accessing different versions of the DB2 Information Center Manually updating the DB2 Information Center installed on your computer or intranet server Related reference : Documentation updates available for download

4.1. DB2 Version 9.7 for Linux, UNIX, and Windows

Documentation updates available for download


Locally installed version of the information center If the 'DB2 Information Center home' page of your locally installed information center has a last updated date earlier than '2010-05-28', consider installing the new documentation updates. See Updating the DB2 Information Center installed on your computer or intranet server for details. Web version of the information center The most up to date DB2 for Linux, UNIX, and Windows Information Center is available at http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp Parent topic: Documentation updates Related concepts: DB2 Version 9.7 documentation updates Related tasks: Manually updating the DB2 Information Center installed on your computer or intranet server

4.2. DB2 Version 9.7 for Linux, UNIX, and Windows

Updating the DB2 Information Center installed on your computer or intranet server
A locally installed DB2 Information Center must be updated periodically.

About this task


An existing DB2 Information Center can be updated automatically or manually: Automatic updates - updates existing Information Center features and languages. An additional benefit of automatic updates is that the Information Center is unavailable for a minimal period of time during the update. In addition, automatic updates can be set to run as part of other batch jobs that run periodically. Manual updates - should be used when you want to add features or languages during the update process. For example, a local Information Center was originally installed with both English and French languages, and now you want to also install the German language; a manual update will install German, as well as, update the existing Information Center features and languages. However, a manual update requires you to manually stop, update, and restart the Information Center. The Information Center is unavailable during the entire update process. This topic details the process for automatic updates. For manual update instructions, see the "Manually updating the DB2 Information Center installed on your computer or intranet server" topic.

Before you begin


A DB2 Version 9.7 Information Center must already be installed. For details, see the "Installing the DB2 Information Center using the DB2 Setup wizard" topic. All prerequisites and restrictions that applied to installing the Information Center also apply to updating the Information Center.

Procedure
To automatically update the DB2 Information Center installed on your computer or intranet server: 1. On Linux operating systems, a. Navigate to the path where the Information Center is installed. By default, the DB2 Information Center is installed in the / o p t / i b m / d b 2 i c / V 9 . 7directory. b. Navigate from the installation directory to the d o c / b i ndirectory. c. Run the u p d a t e i cscript:
u p d a t e i c

2. On Windows operating systems, a. Open a command window. b. Navigate to the path where the Information Center is installed. By default, the DB2 Information Center is installed in the < P r o g r a mF i l e s > \ I B M \ D B 2I n f o r m a t i o nC e n t e r \ V e r s i o n9 . 7directory, where < P r o g r a mF i l e s >represents the location of the Program Files directory. c. Navigate from the installation directory to the d o c \ b i ndirectory. d. Run the u p d a t e i c . b a tfile:
u p d a t e i c . b a t

Results
The DB2 Information Center restarts automatically. If updates were available, the Information Center displays the new and updated topics. If Information Center updates were not available, a message is added to the log. The log file is located in d o c \ e c l i p s e \ c o n f i g u r a t i o ndirectory. The log file name is a randomly generated number. For example, 1 2 3 9 0 5 3 4 4 0 7 8 5 . l o g .

Manually updating the DB2 Information Center installed on your computer or intranet server If you have installed the DB2 Information Center locally, you can obtain and install documentation updates from IBM. Parent topic: Documentation updates Related tasks: Installing the DB2 Information Center using the DB2 Setup wizard ( Linux) Installing the DB2 Information Center using the DB2 Setup wizard ( Windows) Manually updating the DB2 Information Center installed on your computer or intranet server

4.2.1. DB2 Version 9.7 for Linux, UNIX, and Windows

Manually updating the DB2 Information Center installed on your computer or intranet server
If you have installed the DB2 Information Center locally, you can obtain and install documentation updates from IBM.

About this task


Updating your locally-installed DB2 Information Center manually requires that you: 1. Stop the DB2 Information Center on your computer, and restart the Information Center in stand-alone mode. Running the Information Center in stand-alone mode prevents other users on your network from accessing the Information Center, and allows you to apply updates. The Workstation version of the DB2 Information Center always runs in stand-alone mode. Refer to Updating the Workstation version of the DB2 Information Centers. 2. Use the Update feature to see what updates are available. If there are updates that you must install, you can use the Update feature to obtain and install them Note: If your environment requires installing the DB2 Information Center updates on a machine that is not connected to the internet, mirror the update site to a local file system using a machine that is connected to the internet and has the DB2 Information Center installed. If many users on your network will be installing the documentation updates, you can reduce the time required for individuals to perform the updates by also mirroring the update site locally and creating a proxy for the update site. If update packages are available, use the Update feature to get the packages. However, the Update feature is only available in stand-alone mode. 3. Stop the stand-alone Information Center, and restart the DB2 Information Center on your computer. Note: On Windows 2008, Windows Vista (and higher), the commands listed later in this section must be run as an administrator. To open a command prompt or graphical tool with full administrator privileges, right-click the shortcut and then select Run as administrator.

Procedure
To update the DB2 Information Center installed on your computer or intranet server: 1. Stop the DB2 Information Center. On Windows, click Start > Control Panel > Administrative Tools > Services. Then right-click DB2 Information Center service and select Stop. On Linux, enter the following command:
/ e t c / i n i t . d / d b 2 i c d v 9 7s t o p

2. Start the Information Center in stand-alone mode. On Windows: a. Open a command window. b. Navigate to the path where the Information Center is installed. By default, the DB2 Information Center is installed in the P r o g r a m _ F i l e s \ I B M \ D B 2I n f o r m a t i o nC e n t e r \ V e r s i o n9 . 7 directory, where P r o g r a m _ F i l e srepresents the location of the P r o g r a mF i l e sdirectory. c. Navigate from the installation directory to the d o c \ b i ndirectory. d. Run the h e l p _ s t a r t . b a tfile:
h e l p _ s t a r t . b a t

On Linux: a. Navigate to the path where the Information Center is installed. By default, the DB2 Information Center is installed in the / o p t / i b m / d b 2 i c / V 9 . 7directory. b. Navigate from the installation directory to the d o c / b i ndirectory. c. Run the h e l p _ s t a r tscript:

h e l p _ s t a r t

The systems default Web browser opens to display the stand-alone Information Center. 3. Click the Update button ( ). (JavaScript must be enabled in your browser.) On the right panel of the Information Center, click Find Updates. A list of updates for existing documentation displays. 4. To initiate the installation process, check the selections you want to install, then click Install Updates. 5. After the installation process has completed, click Finish. 6. Stop the stand-alone Information Center: On Windows, navigate to the installation directory's d o c \ b i ndirectory, and run the h e l p _ e n d . b a tfile:
h e l p _ e n d . b a t

Note: The h e l p _ e n dbatch file contains the commands required to safely stop the processes that were started with the h e l p _ s t a r tbatch file. Do not use C t r l Cor any other method to stop h e l p _ s t a r t . b a t . On Linux, navigate to the installation directory's d o c / b i ndirectory, and run the h e l p _ e n dscript:
h e l p _ e n d

Note: The h e l p _ e n dscript contains the commands required to safely stop the processes that were started with the h e l p _ s t a r tscript. Do not use any other method to stop the h e l p _ s t a r tscript. 7. Restart the DB2 Information Center. On Windows, click Start > Control Panel > Administrative Tools > Services. Then right-click DB2 Information Center service and select Start. On Linux, enter the following command:
/ e t c / i n i t . d / d b 2 i c d v 9 7s t a r t

Results
The updated DB2 Information Center displays the new and updated topics. Updating the Workstation version of the DB2 Information Centers If you have installed a Workstation version of the DB2 Information Center, you can obtain and install documentation updates from IBM. Mirroring the DB2 Information Center update site If the computer hosting the DB2 Information Center does not have access to the Internet, you can install documentation updates by mirroring the update site on a Linux or Windows system that has the DB2 Information Center installed and has access to the Internet. Parent topic: Updating the DB2 Information Center installed on your computer or intranet server Related concepts: DB2 Information Center installation options Related tasks: Installing the DB2 Information Center using the DB2 Setup wizard ( Linux) Installing the DB2 Information Center using the DB2 Setup wizard ( Windows) Mirroring the DB2 Information Center update site Related reference : Documentation updates available for download

4.2.1.1. DB2 Version 9.7 for Linux, UNIX, and Windows

Updating the Workstation version of the DB2 Information Centers


If you have installed a Workstation version of the DB2 Information Center, you can obtain and install documentation updates from IBM.

About this task


A Workstation version of the DB2 Information Center is available for you to use on your personal workstation. This version of the DB2 Information Center does not require administrative or root user authority.

Procedure
To update the DB2 Information Center installed on your computer: 1. Start the Information Center. The system's default Web browser launches to display the Information Center. 2. Click the Update button ( ). 3. Click Find Updates in the right panel of the Information Center. A list of updates for existing documentation displays. 4. To initiate the installation process, check the selections you want to install, then click Install Updates. 5. After the installation process has completed, click Finish.

Results
The updated DB2 Information Center displays the new and updated topics. Parent topic: Manually updating the DB2 Information Center installed on your computer or intranet server

4.2.1.2. DB2 Version 9.7 for Linux, UNIX, and Windows

Mirroring the DB2 Information Center update site


If the computer hosting the DB2 Information Center does not have access to the Internet, you can install documentation updates by mirroring the update site on a Linux or Windows system that has the DB2 Information Center installed and has access to the Internet.

About this task


Note: On Linux operating systems, you can also mirror the update site from a system that does not have the DB2 Information Center installed. Create a new directory, then run the following command from that directory:
w g e trn pNn Hc u t d i r s = 2om i r r o r U p d a t e S i t e . l o g h t t p : / / d o w n l o a d . b o u l d e r . i b m . c o m / i b m d l / p u b / s o f t w a r e / d a t a / d b 2 / l u w / i n f o / v 9 r 7 / i c u p d a t e s /

Procedure
To mirror the update site from a system that has the DB2 Information Center installed: 1. Navigate to the eclipse directory in the path where the Information Center is installed. 2. Determine whether you want to mirror a specific language, documentation feature or the entire update site. To get a list of the available documentation features, issue the following command:
j a v ac ps t a r t u p . j a ro r g . e c l i p s e . c o r e . l a u n c h e r . M a i n a p p l i c a t i o no r g . e c l i p s e . u p d a t e . c o r e . s t a n d a l o n e U p d a t e c o m m a n ds e a r c h f r o m h t t p : / / d o w n l o a d . b o u l d e r . i b m . c o m / i b m d l / p u b / s o f t w a r e / d a t a / d b 2 / l u w / i n f o / v 9 r 7 / i c u p d a t e s / s i t e . x m l

3. Issue one of the following commands: To mirror the entire update site:
j a v ac ps t a r t u p . j a ro r g . e c l i p s e . c o r e . l a u n c h e r . M a i n a p p l i c a t i o no r g . e c l i p s e . u p d a t e . c o r e . s t a n d a l o n e U p d a t e c o m m a n dm i r r o r f r o m h t t p : / / d o w n l o a d . b o u l d e r . i b m . c o m / i b m d l / p u b / s o f t w a r e / d a t a / d b 2 / l u w / i n f o / v 9 r 7 / i c u p d a t e s / s i t e . x m l t o" f i l e : / d : / t e m p / m i r r o r U p d a t e S i t e "

To mirror only a specific language or individual documentation feature:


j a v ac ps t a r t u p . j a ro r g . e c l i p s e . c o r e . l a u n c h e r . M a i n a p p l i c a t i o no r g . e c l i p s e . u p d a t e . c o r e . s t a n d a l o n e U p d a t e c o m m a n dm i r r o r f r o m h t t p : / / d o w n l o a d . b o u l d e r . i b m . c o m / i b m d l / p u b / s o f t w a r e / d a t a / d b 2 / l u w / i n f o / v 9 r 7 / i c u p d a t e s / s i t e . x m l t o" f i l e : / d : / t e m p / m i r r o r U p d a t e S i t e " f e a t u r e I df e a t u r e _ I d v e r s i o nv e r s i o n _ I d

where f e a t u r e _ I dis the documentation feature that you want to install. For example, com.ibm.db2.luw.doc.fr v e r s i o n _ I dis the version of the documentation feature that you want to install. 4. Make the mirror image available to the system that cannot directly access the Web. For example, copy it to a CD. 5. Follow the instructions for installing a DB2 Information Center update from a CD.

Parent topic: Manually updating the DB2 Information Center installed on your computer or intranet server

5. DB2 Version 9.7 for Linux, UNIX, and Windows

Features of the DB2 Information Center


The DB2 Information Center gives you access to all of the information you need to take full advantage of DB2 products. The DB2 Information Center also contains information for major DB2 features and components including replication, and the DB2 extenders. The following features help you find and work with the information you need. Note that some features require support for JavaScript be enabled. Flexible options for accessing documentation You can choose to view the DB2 documentation using the option that best meets your needs: To view the most up-to-date information, you can access the DB2 Information Center from the ibm.com Web site at http://publib.boulder.ibm.com/infocenter/db2luw/v9r7 To keep network traffic inside your intranet, you can install the DB2 Information Center on a single server on your intranet To reduce your dependence on network connections, you can install the documentation on your own computers. You can choose between a Network version and a Workstation version of the DB2 Information Center to install on your local computer. The Workstation version of the DB2 Information Center is suitable for personal use, does not require administrative or root authority, and does not run as a service. Search You can search all of the topics in the DB2 Information Center by entering a search term in the Search text field. You can retrieve exact matches by enclosing terms in quotation marks ("), and you can refine your search with wildcard operators (*, ?) and Boolean operators (AND, NOT, OR). The search results are displayed on a tab in the left pane, and can be returned to without having to rerun the query. Table of contents You can locate topics in the DB2 Information Center from the table of contents tab in the left pane. The table of contents is organized primarily by the kind of tasks you can perform, but also includes entries for product overviews, goals, reference information, and a glossary. Product overviews describe the relationship between the available products in the DB2 family, the features offered by each of those products, and up to date release information for each of these products. Goal categories such as installing, administering, and developing include topics that enable you to quickly complete tasks and develop a deeper understanding of the background information for completing those tasks. Reference topics provide detailed information about a subject, including statement and command syntax, message help, and configuration parameters. The glossary provides definitions of terms used in the DB2 documentation. The glossary is organized in alphabetical order by glossary term. Alphabetized index The index provides an index of keywords that direct the user to specific help topics, similar to indexes found at the back of a book. As you type in the text field, the best match will automatically be highlighted in the list of keywords. Pressing enter or clicking on a keyword will display the given topic. Integrated multi-language support The DB2 Information Center displays information in the preferred language set in your browser preferences. If a topic is not available in your preferred language, the DB2 Information Center displays the English version of that topic. For local or intranet installations, only the languages installed can be displayed. Multiple versions of the DB2 Information Center When installing the DB2 Version 9.7 Information Center, consider the following information: If you have a DB2 Information Center Version 8 or Version 9.1 copy, it remains untouched when installing a DB2 Information Center Version 9.5 (or higher) copy. If the existing DB2 Information Center Version 8 or Version 9.1 copy is installed in the default directory, you must specify a different location and port number when you install the Version 9.5 (or higher) Information Center. If you are installing the Information Center using the DB2 setup wizard, the DB2 setup wizard prompts you for an alternative location and provides the next available port number. If you want to install a DB2 Information Center Version 9.5 (or higher) copy in the same location as a previous version of the DB2 Information Center or if you no longer need it, you must uninstall the pre-Version 9.5 copy.

Restrictions The following restrictions apply to the DB2 Information Center: The DB2 Information Center cannot coexist in the same installation path of a previous version of the DB2 Information Center on the same system. You can only install one copy of the DB2 Version 9.5 (or higher) Information Center on a computer. For example, you can install a copy of the DB2 Information Center Version 9.1 and DB2 Information Center Version 9.5 (or higher) on the same computer, but you cannot install two copies of the DB2 Information Center at the same level. If you install the DB2 Information Center on a system with a firewall, and you plan to allow other systems to access the DB2 Information Center, you must open the port in your firewall setting. The DB2 Information Center can be viewed in Firefox 1.0 and higher, Mozilla-based browsers 1.7 and higher, Safari 3.0, or Microsoft Internet Explorer 6.0 and higher. Related concepts: DB2 Information Center installation options Related tasks: Installing the DB2 Information Center using the DB2 Setup wizard ( Linux) Installing the DB2 Information Center using the DB2 Setup wizard ( Windows)

6. DB2 Version 9.7 for Linux, UNIX, and Windows

DB2 Information Center installation options


The DB2 Information Center can be accessed from: the IBM Web site a server on your organization's network a copy installed on your computer By default, DB2 products access the DB2 Information Center at the IBM Web site: http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/. However, if you want to access the DB2 Information Center on an intranet server or on your own computer, you must install the DB2 Information Center. The following types of DB2 Information Centers are available: The regular DB2 Information Center This is the same DB2 Information Center that is distributed with DB2 database products. It comes with an installer and other programs that let you install the Information Center on your computer. The install program requires that you have administrative authority on your computer to complete the installation. A Workstation version of the DB2 Information Center These packages allow you to run the DB2 Information Center on your computer if you do not have administrator or root authority. The Workstation version of the DB2 Information Center run in "stand-alone" mode; it cannot be accessed by other clients on your network. There are no services or daemons associated with this type of DB2 Information Center, therefore you must start and stop it manually. It also differs from the regular DB2 Information Center because it determines the locale from the computer's system locale, not from the browser. You can install either of the DB2 Information Centers using the DB2 Information Center DVD found in your product Media Pack. Alternatively, you can download the DB2 Information Center installation image from https://www.ibm.com/services/forms/preLogin.do?lang=en_US&source=swg-dm-db297info. The following table provides recommendations on possible options for accessing DB2 product documentation in the DB2 Information Center based on your work environment. Internet access Yes Intranet access Yes Recommendation Access the DB2 Information Center at the IBM Web site, or access the DB2 Information Center installed on an intranet server. Access the DB2 Information Center at the IBM Web site. Access the DB2 Information Center installed on an intranet server. Access the DB2 Information Center on a local computer, or access the stand-alone Workstation version of the DB2 Information Center..

Yes No No

No Yes No

Accessing the DB2 Information Center at the IBM Web site


The DB2 Information Center can be found on the Internet at http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp. If you configure your local DB2 installation to use this version of the DB2 Information Center, you will always be accessing the most up-to-date information about the DB2 product. On Windows platforms, use the db2set command to configure the registry variables on your computer to access the DB2 Information Center from either the IBM Web site or from your computer. You can also change these variables through the DB2 GUI tools, if you have installed the DB2 GUI tools on your system.

Accessing the DB2 Information Center on your computer


After installing your DB2 product, you need to install the DB2 Information Center if you want to access DB2

documentation on this computer. Use the DB2 Information Center DVD in the media pack or the files that you downloaded from https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?lang=en_US&source=swg-dmdb297info to install the DB2 Information Center.

Accessing the DB2 Information Center on an intranet server


You may also choose to install a copy of the DB2 Information Center on an intranet server so that everyone on the intranet can have access to DB2 documentation without having to install the documentation on every machine. Using a response file for product installation, you can configure every IBM data server client to access the documentation on the intranet server. The response file should contain the configuration information necessary to access the DB2 Information Center using the host name and the port number of the DB2 Information Center on the intranet server. This configuration can also be done using the db2setup command and choosing a custom installation from any of the DB2 server or IBM data server client products. You can also change the settings for already-installed IBM Data Server Client to use the DB2 Information Center hosted on your Intranet. To change the DB2 Information Center registry variables on each computer, use either of the following methods: The db2set command The Tools Settings notebook from any DB2 GUI tool DB2_DOCHOST is the registry variable used for the host name, and DB2_DOCPORT is the registry variable used for the port number. These values must match those set on the intranet server where the DB2 Information Center is installed. Related concepts: Features of the DB2 Information Center Related tasks: Manually updating the DB2 Information Center installed on your computer or intranet server Setting the location for accessing the DB2 Information Center Setting up access to DB2 contextual help and documentation Related reference : db2set - DB2 profile registry command

7. DB2 Version 9.7 for Linux, UNIX, and Windows

Starting the DB2 Information Center


About this task
When you are working on a computer on which there is no IBM data server client, DB2 server, or DB2 Information Center installed, you can only view an Information Center that is installed on another computer using a Web browser.

Before you begin


The DB2 Information Center gives you access to the information that you need to use DB2 products for Linux, UNIX, and Windows operating systems. You can access the DB2 Information Center from one of the following locations: The IBM website at http://publib.boulder.ibm.com/infocenter/db2luw/v9r7 An intranet server or local computer on which the DB2 Information Center is installed Computers on which a IBM data server client or DB2 server is installed, if one of the following is true: you have access to the internet and you did not modify the default location of the Information Center when you were installing the product, or you have installed the Information Center on an intranet server or on the same computer on which the product is installed, and, you modified the default location of the Information Center during the installation of the IBM data server client or DB2 server to point to that location. Before you view the DB2 Information Center: Optional: Displaying topics in your preferred language. Optional: Setting up access to DB2 contextual help and documentation.

Procedure
To open the DB2 Information Center in a Web browser: Open the Web page at http://<host-name>:<port-number>/help/, where <host-name> represents the host name and <port-number> represents the port number on which the DB2 Information Center is available. Open the Web page at http://publib.boulder.ibm.com/infocenter/db2luw/v9r7 To start the DB2 Information Center on a computer on which the DB2 Information Center is installed: 1. On a Windows operating system, from the Start Menu click Start - Programs - IBM DB2 - Information - Information Center V9.7 2. Open the Web page at http://<host-name>:<port-number>/help/, where <host-name> represents the host name and <port-number> represents the port number on which the DB2 Information Center is installed. To start the DB2 Information Center on a computer on which a IBM data server client or DB2 server is installed: 1. On a Windows operating system, from the Start Menu click Start - Programs - IBM DB2- <DB2 copy name> - Information - Information Center V9.7 2. From the command line prompt for any operating system on which the DB2 product is installed, issue the db2icdocs command.

Results
Note: 1. The DB2 Information Center choice is added to the Windows Start Menu as part of a IBM data server client or DB2 server installation only if the GUI tools are also installed. If the GUI tools have not been installed as part of a IBM data server client or DB2 server installation, you need to use the db2icdocs command to open the DB2 Information Center or point your Web browser to a location where the Information Center is available. 2. When using either of the above methods for starting the DB2 Information Center, the IBM data server client or DB2 server must be configured to point to a location where the Information Center is installed. Related concepts: DB2 Information Center installation options

Related tasks: Invoking command help from the command line processor Related reference : HELP command

8. DB2 Version 9.7 for Linux, UNIX, and Windows

Starting and stopping the Workstation version of the DB2 Information Center
The Workstation version DB2 Information Center runs in "stand-alone" mode. This lets you use the update functionality that comes with the Information Center to update the content to the latest version available.

Before you begin


If you are starting the Workstation version of the DB2 Information Center for the first time, you must first set up the Information Center on your computer. Extract the files contained in the . Z I Por . T A R . G Zarchive to a directory your computer. On Linux operating systems, you must have read, write and execute privileges for this directory. You must also configure a browser and ensure that it appears in the PATH environment variable on Linux.

Procedure
To start the Information Center: On Windows: 1. Open a command window. 2. Navigate to the directory to which you unzipped the contents of the Workstation version of the DB2 Information Center package. 3. Run the i c w r k s t n s t a r t . b a tfile: i c w r k s t n s t a r t . b a t On Linux: 1. Navigate to the directory to which you extracted the contents of the Workstation version of the DB2 Information Center package. 2. Run the i c w r k s t n s t a r tscript: i c w r k s t n s t a r t The system's default Web browser launches to display the Information Center. To stop the Information Center: On Windows: 1. Open a command window. 2. Navigate to the directory to which you unzipped the contents of the Workstation version of the DB2 Information Center package. 3. Run the i c w r k s t n e n d . b a tfile: i c w r k s t n e n d . b a t Note: The i c w r k s t n e n dbatch file contains the commands required to safely terminate the processes that were started with the i c w r k s t n s t a r tbatch file. Do not use Ctrl-C or any other method to terminate i c w r k s t n s t a r t . b a t . On Linux: 1. Navigate to the directory to which you extracted the contents of the Workstation version of the DB2 Information Center package. 2. Run the i c w r k s t n e n dscript: i c w r k s t n e n d Note: The i c w r k s t n e n dscript contains the commands required to safely terminate the processes that were started with the i c w r k s t n s t a r tscript. Do not use any other method to terminate the i c w r k s t n s t a r tscript.

9. DB2 Version 9.7 for Linux, UNIX, and Windows

Navigating in the Information Center


The Information Center expands the capabilities of your Web browser with features to help you browse documentation. The Navigation pane on the left side of the window displays the titles of topics in the documentation. Select a topic title in the Navigation pane to display the topic content in the pane on the right side. Three navigation views are available: The Contents view ( ) shows the titles of all topics in a table of contents or navigation tree structure. The Index view ( ) shows all documentation in an alphabetized and grouped listing. The Search Results view ( ) shows the titles of all topics returned by an information search. When you search for information, the Navigation pane automatically updates to display the search results. The most recent search results remain displayed on this tab. You can switch back to this tab to explore other search results without having to rerun the search each time. To switch between views, click the tabs at the bottom of the Navigation pane. Use the Back ( ) and Forward ( ) buttons to navigate within the history of viewed topics.

The space devoted to the right and left panes can be modified by dragging the separator with your mouse. You can maximize the content frame while reading topics, then reduce its size while finding other topics using the left pane. Click Home ( ) to open Home page. ) on the Navigation tool bar.

To collapse all the topics in the Navigation view, click Collapse All ( The Highlight button (

) will not be shown until you click any of the search results in the search result view. ) sets a bookmark for the topic

If you are using a Microsoft Internet Explorer browser, the Bookmark document ( currently in the topic pane

You can keep track of topic location within the help system by breadcrumb trails automatically generated when you

select the topic:

Synchronizing the table of contents


When you follow a link within a topic or navigate to a topic from the index, the Contents view does not automatically change to display and highlight the new topic. To see where the new topic fits in the table of contents and synchronize the two views, click Link with Contents ( ) or the Show in Table of Contents button ( currently displayed topic is highlighted in the Contents view on the left. ). The topic title for the

Navigating using the keyboard


For information about using the keyboard to navigate the Information Center, see the information about keyboard input and navigation in the Accessibility topic. Related concepts: Features of the DB2 Information Center Using the Index view to access topics in the Information Center Related tasks: Searching the Information Center

10. DB2 Version 9.7 for Linux, UNIX, and Windows

Using the Index view to access topics in the Information Center


This topic describes how to use the Index view to find topics in the Information Center. To use the Index view to find the information that you need, perform the following steps: 1. To display the Index view, click the Index tab ( ). The Index icon is found at the bottom of the navigation pane. 2. In the input field, type a word or words for the information you are searching for. As you type, the best match will automatically be highlighted in the list of index entries. Note: Index terms can be in a hierarchical structure, but only the first-level keywords can be located when you type an entry in the input field. 3. To display the topic, click the index entry.

Notes
If there is more than one topic associated with a keyword, when you select the keyword to see the associated topic, a window displays the titles of the associated topics. Any filters that you might have set do not apply to the index. Searches of the index are not case-sensitive. To toggle between the Contents view and the Index view, click the Contents tab ( ) or the Index tab ( ) which are found at the bottom of the navigation pane. You can also synchronize the Index view with the Contents view. After finding a topic in the index, clicking the Link with Contents( ) or the Show in Table of Contents button ( highlight the currently displayed topic in the Contents view. Related concepts: Features of the DB2 Information Center Navigating in the Information Center ) will also

11. DB2 Version 9.7 for Linux, UNIX, and Windows

Searching the Information Center


About this task
You can search the Information Center for exact words or phrases, portions of a string of text, using wildcard characters, topics that contain at least one of the words you type in, or, topics that do not contain any of the words you type in, using Boolean operators.

Procedure
To search topics in the Information Center: 1. Enter a query in the Search field and click Go. The Search Results view in the navigation panel of the interface displays the top 500 ranked results. 2. Select a search result to display that topic in the right side of the Information Center. The words from your query are highlighted in the displayed topic. 3. To toggle between the Contents view and the Search Results list, click the Contents tab ( ) or the Search Results tab ( ) at the bottom of the Navigation pane on the left side of the Information Center. Searching for exact words or phrase You can identify a search phrase as an exact string by enclosing it in double quotation marks. For example, "log file" searches for the string log file, not the separate words log and file. Without the quotation marks, the search term is interpreted to find instances of both the word log and the word file in the topics. In English and German only, the search engine "stems" other forms of a single search word. For example, a search for the word challenge will also find the word challenging. Surround the terms you enter in the search field with double quotation marks when you do not want your search results to include such variations of the terms. Strings that are a mix of numbers and letters, such as a message number, will return search hits only if you type the exact string as it appears in topic text. In this case, the use of quotation marks is not required. Searching with wildcard characters Wildcard characters cannot be used in the first character position of a search term. You can use the following wildcard characters: Asterisk (*) represents multiple unknown or variable characters in the term. For example, the search term par* returns partly, participate, partial, and other words beginning with par. Question mark (?) represents a single unknown or variable character. For example, the search term par? returns part but not partial or partly. Searching with Boolean operators (AND, OR, NOT) You can insert the binary operators AND, OR, and NOT in your search term. For example: database AND "log file" Narrows the search to return topics that contain both of the terms "database" and "log file" anywhere in the topic. database OR "log file" Widens the search to return topics that contain either the term "database" or the phrase "log file" anywhere in the topic. database NOT "log file" Searches for topics that contain "database" but that do not contain the phrase "log file". database OR "data base" NOT "log file" Searches for topics that contain the term "database" or the phrase "data base" but do not contain the phrase "log file" anywhere. Narrowing your search scope

By default, all topics shown in the Contents view are searched. You can, however, narrow your searches to a particular set of topics, called a search list and save search lists to use again later. To create a search list: 1. Click the Search scope link next to the Search field. The Select Search Scope window opens. 2. Select Search only the following topics and click New . The New Search List window opens. 3. In the Topics to search list, select the navigation categories that you want to include in your search. You can expand categories to select only certain subcategories. Note: In some browsers (for example Konqueror and Safari), the ability to save search lists is not provided. The search list that is currently active is always shown at the top of the Information Center, next to the Search scope link. The search list that you used most recently persists across sessions. Remember to reset the Search scope link back to Search all topics when you are finished with a specific search scope. Otherwise, you will find your search results limited. Displaying the search results If the topics in the documentation set are tagged with different criteria, such as version, product name, platform, or category, you can group the topics in the search results accordingly. 1. Click the Search Results tab ( ). You will see the search results grouped by none as default.

2. Click Group search result ( ) on the toolbar. 3. Choose a grouping criterion in the menu. GroupByNone With this default selection, you display the search results unorganized. GroupByVersion GroupByProdname GroupByPlatform Show result categories It groups the search results according to their book names. 4. And you will get the search results listed according to the selected criterion. Note : To add or remove the result descriptions in the view of search results, click Show result descriptions ( Removing search highlighting The search highlighting feature highlights the occurrences of your search terms in a topic you selected from the search results list. When many occurrences of your search terms exist in a topic, the search highlighting feature can disrupt your reading. To remove the highlighting from a topic, click the Turn Highlighting Off tab ( content area, with the highlighting removed. ). The topic is reloaded into the ).

Results
Searches are not case-sensitive. Related concepts: Features of the DB2 Information Center

12. DB2 Version 9.7 for Linux, UNIX, and Windows

Setting bookmarks in the DB2 Information Center


About this task
You can set bookmarks to topics so that you can find them later. If you are using a Microsoft Internet Explorer browser, to set a bookmark for the topic currently in the Topic pane, click the Bookmark icon ( ) above the right side of the Information Center. If you are viewing a remote Information Center in Microsoft Internet Explorer, the Favorites window will open and you can save the topic in one of your Favorites folders. The bookmarks are saved to your Microsoft Internet Explorer Favorites menu. If you are using another browser, to set a bookmark for the topic currently in the Topic pane: In a Firefox browser, put your mouse on the topic in the Topic pane, then right-click and select This Frame Bookmark This Frame. In any other browser, put your mouse on the topic in the Topic pane, then right-click and select Bookmark this link. Related concepts: Navigating in the Information Center

13. DB2 Version 9.7 for Linux, UNIX, and Windows

Accessing different versions of the DB2 Information Center


About this task
For DB2 Version 10.1 topics, the DB2 Information Center URL is http://publib.boulder.ibm.com/infocenter/db2luw/v10r1 For DB2 Version 9.8 topics, the DB2 Information Center URL is http://publib.boulder.ibm.com/infocenter/db2luw/v9r8/. For DB2 Version 9.7 topics, the DB2 Information Center URL is http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/. For DB2 Version 9.5 topics, the DB2 Information Center URL is http://publib.boulder.ibm.com/infocenter/db2luw/v9r5. For DB2 Version 9.1 topics, the DB2 Information Center URL is http://publib.boulder.ibm.com/infocenter/db2luw/v9/. For DB2 Version 8 topics, go to the DB2 Information Center URL at: http://publib.boulder.ibm.com/infocenter/db2luw/v8/. Related concepts: Overview of the DB2 technical information Related tasks: Setting up access to DB2 contextual help and documentation

14. DB2 Version 9.7 for Linux, UNIX, and Windows

Setting the location for accessing the DB2 Information Center


About this task
If you want to change the location from which the DB2 documentation in the DB2 Information Center is accessed, you must change the values for the DB2_DOCHOST and DB2_DOCPORT variables. The DB2 Information Center can be accessed from the IBM Web site (default location), an intranet server, or locally, from your own computer.

Before you begin


To access the DB2 Information Center from an intranet server, or from you own computer, you must have installed the DB2 Information Center on the appropriate computer. To modify global-level and instance level variables: For Windows operating systems, you must have system administration (SYSADM) authority. For root installations on Linux and UNIX operating systems, you must have SYSADM authority to change registry values for an instance and root authority to change parameters in global-level registries. For nonroot installations, you must be logged in as the non-root instance owner.

Procedure
1. Determine the appropriate values for the DB2_DOCHOST and DB2_DOCPORT variables. The values are determined by whether you want to access the DB2 Information Center from the IBM website, an intranet server, or from your own computer. Access location IBM Web site (default location) Intranet server Values for DB2_DOCHOST and DB2_DOCPORT DB2_DOCHOST: Use the value publib.boulder.ibm.com/infocenter/db2luw/v9r7 DB2_DOCPORT: Not applicable. DB2_DOCHOST: Use the host name of the intranet server. For example, c o m p a n y s e r v e r . c o m p a n y n a m e . c o m DB2_DOCPORT: Use the port number of intranet server. For example, 51000 Network Information Center DB2_DOCHOST: Use the host name of the local computer or the value "localhost". DB2_DOCPORT: Use the port number of the local computer. For example, 51000 Workstation version of the DB2 Information Center DB2_DOCHOST: Use the host name of the local computer or the value "localhost". DB2_DOCPORT: Use the port number of the local computer. For example, 51097 2. Update the DB2_DOCHOST and DB2_DOCPORT variables. You can change the values for these variables for all instances (globally), for a particular instance, or for an individual user profile at the operating-system or environment level. The order of precedence in which the values for these variables are used from the least to the greatest is as follows: global, instance, and environment. This order of precedence means that setting the variables at the environment level overrides any global level and instance level settings for the variables. During installation, these variables are set at the global level only. Set the location for accessing the DB2 Information Center at the environment level On Windows operating systems:

Local computer

Click Start > Settings > Control Panel > System . From the System Properties dialog, click the Advanced tab. To open the Environment Variables window, click the Environment Variables push button. To add or update the current values of the DB2_DOCHOST and DB2_DOCPORT variables, click the New or Edit push buttons. For Linux and UNIX operating systems, use the export command or add the variables to the user's profile file. Set the location for accessing the DB2 Information Center at the instance level using the Tools Settings notebook a. To open the Tools Settings notebook, click on the DB2 toolbar, and then click the Documentation tab. b. In the Documentation location fields, specify for this instance where to access the DB2 Information Center. c. To have the Documentation location values take effect, including resetting the default values, click Set and restart the center in which you are working. Set the location for accessing the DB2 Information Center at the global level, use the Configuration Assistant or the db2set command. For example:
d b 2 s e tD B 2 _ D O C H O S T=c o m p a n y s e r v e r . c o m p a n y n a m e . c o m d b 2 s e tD B 2 _ D O C P O R T=5 1 0 0 0

a. b. c. d.

3. Confirm the current values of the DB2_DOCHOST and DB2_DOCPORT variables. Issue the command db2set -all without parameters in the command line processor. The characters [g], [i], or [e] next to the output values indicate that the values are set at the global, instance, or environment levels respectively. Related tasks: Setting up access to DB2 contextual help and documentation

15. DB2 Version 9.7 for Linux, UNIX, and Windows

Displaying topics in your preferred language in the DB2 Information Center


About this task
The DB2 Information Center attempts to display topics in the language specified in your browser preferences. If a topic has not been translated into your preferred language, the DB2 Information Center displays the topic in English.

Procedure
To display topics in your preferred language in the Internet Explorer browser: 1. In Internet Explorer, click the Tools -> Internet Options -> Languages... button. The Language Preferences window opens. 2. Ensure your preferred language is specified as the first entry in the list of languages. To add a new language to the list, click the Add... button. Note: Adding a language does not guarantee that the computer has the fonts required to display the topics in the preferred language. To move a language to the top of the list, select the language and click the Move Up button until the language is first in the list of languages. 3. Refresh the page to display the DB2 Information Center in your preferred language. To display topics in your preferred language in a Firefox or Mozilla browser: 1. Select the button in the Languages section of the Tools -> Options -> Advanced dialog. The Languages panel is displayed in the Preferences window. 2. Ensure your preferred language is specified as the first entry in the list of languages. To add a new language to the list, click the Add... button to select a language from the Add Languages window. To move a language to the top of the list, select the language and click the Move Up button until the language is first in the list of languages. 3. Refresh the page to display the DB2 Information Center in your preferred language.

Results
On some browser and operating system combinations, you must also change the regional settings of your operating system to the locale and language of your choice. Related concepts: Overview of the DB2 technical information Related tasks: Installing the DB2 Information Center using the DB2 Setup wizard ( Linux) Installing the DB2 Information Center using the DB2 Setup wizard ( Windows)

16. DB2 Version 9.7 for Linux, UNIX, and Windows

Accessibility
Accessibility features help users with physical disabilities, such as restricted mobility or limited vision, to use software products successfully. The following list specifies the major accessibility features: All DB2 functionality is available using the keyboard for navigation instead of the mouse. You can customize the size and color of the fonts on DB2 user interfaces. DB2 products support accessibility applications that use the Java Accessibility API. DB2 documentation is provided in an accessible format.

Keyboard input and navigation


Keyboard input You can operate the DB2 tools using only the keyboard. You can use keys or key combinations to perform operations that can also be done using a mouse. Standard operating system keystrokes are used for standard operating system operations. For more information about using keys or key combinations to perform operations, see the related links. Keyboard navigation You can navigate the DB2 tools user interface using keys or key combinations. For more information about using keys or key combinations to navigate the DB2 tools, see the related links. Keyboard focus In Linux and UNIX operating systems, the area of the active window where your keystrokes will have an effect is highlighted.

Accessible display
The DB2 tools have features that improve accessibility for users with low vision or other visual impairments. These accessibility enhancements include support for customizable font properties. Font settings You can select the color, size, and font for the text in menus and dialog windows, using the Tools Settings notebook. For more information about specifying font settings, see the related links. Non-dependence on color You do not need to distinguish between colors to use any of the functions in this product.

Compatibility with assistive technologies


The DB2 tools interfaces support the Java Accessibility API, which enables you to use screen readers and other assistive technologies with DB2 products.

Accessible documentation
Documentation for DB2 products is provided in XHTML 1.0 format, which is viewable in most Web browsers. XHTML allows you to view documentation according to the display preferences set in your browser. It also allows you to use screen readers and other assistive technologies. Syntax diagrams are provided in dotted decimal format. This format is available only if you are accessing the online documentation using a screen-reader. Keyboard shortcuts and accelerators

Related tasks: Changing the fonts for menus and text

16.1. DB2 Version 9.7 for Linux, UNIX, and Windows

Keyboard shortcuts and accelerators


You can use keys or key combinations to perform operations that can also be done using a mouse.

About this task


You can initiate menu actions from the keyboard in the following ways: Press F10 to activate the keyboard; then press the arrow keys to access specific options, or press the same letter as the one that is underlined in the name of the menu option you want to select. For example, to select the Help Index , press F10 to activate the main menu; then use the arrow keys to select Help>Help Index . Press and hold the Alt key; then press the same letter as the one that is underlined in the name of the main menu option that you want to select. For example, to select the General Help menu option, press Alt+H; then press G. Note: On some UNIX systems, you might need to press Ctrl instead of Alt. To exit the main menu without selecting an option, press Esc. Some menu items have accelerators, which allow you to invoke the menu option without expanding the menu. For example, you can enter CTRL+F for find, when the focus is on the details view. Often the directions for how to access a window or wizard instruct you to right-click an object and select an object from the pop-up menu. To open the pop-up menu using keyboard shortcuts, first select the object then press Shift+F10. To access a specific menu option on the pop-up menu, press the same letter as the one that is underlined in the name of the menu option you want to select. Table 1. General k eyboard shortcuts and accelerators Action Access the menu bar Go to the next menu item Go to the next field in a window Go back to the previous field in a window Go to the next frame Find Find Next Table 2. Keyboard shortcuts for table actions Action Edit the current cell, if it is editable Move to the cell above or below Move to the cell to the left or right Give the next component focus Give the previous component focus Table 3. Tree navigation Action Navigate out forward Navigate out backward Expand entry Collapse entry Toggle expand/collapse for entry Move up/down one entry Shortcut Alt or F10 arrow keys, or the underlined letter in the menu option Tab Shift+Tab F6 Ctrl+F Ctrl+N

Shortcut F2 up or down arrows left or right arrows Tab Shift+Tab

Shortcut Tab Shift+Tab Right Left Enter up or down arrows

Move to first entry Move to last visible entry Table 4. Editing actions Action Copy Cut Paste Select All Undo Accessing custom controls

Home End

Shortcut Ctrl+C Ctrl+X Ctrl+V Ctrl+A Ctrl+Z

The following two controls are unique to DB2. Here is how you access them using the keyboard:

To access the ellipsis push button using the keyboard, press the Tab key until the push button is selected; then press the Space bar. The date entry field To access the date entry field using the keyboard, press the Tab key until the entry field is selected; then type the date in the entry field. Information center navigation The major accessibility features in the information center enable users to do the following: Use assistive technologies, such as screen-reader software and digital speech synthesizers, to hear what is displayed on the screen. In this information center, all information is provided in HTML format. Consult the product documentation of the assistive technology for details on using assistive technologies with HTML-based information. Operate specific or equivalent features using only the keyboard. Magnify what is displayed on the screen. In addition, all images are provided with alternative text so that users with vision impairments can understand the contents of the images. The following table gives instructions for how to navigate the information center by using the keyboard. Table 5. Keyboard shortcuts in the information center Action Go to the next link, button or topic branch from inside a frame (page) Expand or collapse a topic branch Move to the next topic branch Move to the previous topic branch Scroll to the top Scroll to the bottom Go back Go forward Next frame Previous frame Print the current page or active frame Related concepts Accessibility Shortcut Tab Right and Left arrow keys Down arrow or Tab Up arrow or Shift+ Tab Home End Alt+Left arrow Alt+Right arrow Ctrl+ Tab Shift+ Ctrl+ Tab Ctrl+ P

17. DB2 Version 9.7 for Linux, UNIX, and Windows

Accessing help from a DB2 tool, window, wizard or advisor


About this task
Contextual help provides information about the tasks or controls that are associated with a particular window, notebook, wizard, or advisor. There are two types of contextual help: Help accessed through the Help button that is located on each window or notebook Infopops accessed when you place the cursor over a field or control, or if you select a field or control and click F1. Infopops are pop-up windows containing information for a specific field or control. The Help button gives you access to information needed to work with a window or notebook. Infopops describe a window or notebook's individual fields and controls. To display contextual help:

Procedure
From a window or notebooks, click the Help button at the bottom corner of the window or notebook. Within wizards and advisors, click the Task Overview link on the first page to view contextual help. For specific controls in a window or notebook, select the control, then click F1. Pop-up information containing details about the control is displayed in a yellow window. Note: To have infopops displayed automatically when you pause the mouse pointer over a field or control, open the Tool Settings notebook, click the Documentation page, and select the Automatically display infopops check box.

Results
Related tasks: Displaying SQL state help from the command line processor Invoking command help from the command line processor Invoking message help from the command line processor

18. DB2 Version 9.7 for Linux, UNIX, and Windows

Terms and Conditions


Permissions for the use of these publications is granted subject to the following terms and conditions. Personal use: You may reproduce these Publications for your personal, non commercial use provided that all proprietary notices are preserved. You may not distribute, display or make derivative work of these Publications, or any portion thereof, without the express consent of IBM. Commercial use: You may reproduce, distribute and display these Publications solely within your enterprise provided that all proprietary notices are preserved. You may not make derivative works of these Publications, or reproduce, distribute or display these Publications or any portion thereof outside your enterprise, without the express consent of IBM. Except as expressly granted in this permission, no other permissions, licenses or rights are granted, either express or implied, to the Publications or any information, data, software or other intellectual property contained therein. IBM reserves the right to withdraw the permissions granted herein whenever, in its discretion, the use of the Publications is detrimental to its interest or, as determined by IBM, the above instructions are not being properly followed. You may not download, export or re-export this information except in full compliance with all applicable laws and regulations, including all United States export laws and regulations. IBM MAKES NO GUARANTEE ABOUT THE CONTENT OF THESE PUBLICATIONS. THE PUBLICATIONS ARE PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE. Related concepts: Overview of the DB2 technical information

19. DB2 Version 9.7 for Linux, UNIX, and Windows

DB2 tutorials
The DB2 tutorials help you learn about various aspects of DB2 products. Lessons provide step-by-step instructions.

Before you begin


Some lessons use sample data or code. See the tutorial for a description of any prerequisites for its specific tasks.

DB2 tutorials
To view the tutorial, click the title. pureXML Set up a DB2 database to store XML data and to perform basic operations with the native XML data store. Visual Explain Tutorial Analyze, optimize, and tune SQL statements for better performance using Visual Explain. Related concepts: pureXML tutorial Visual Explain Tutorial

20. DB2 Version 9.7 for Linux, UNIX, and Windows

Standards compliance
DB2 Version 9.7 is compliant with the following standards: ANSI/ISO SQL 92 Entry via FIPS 127.2 Entry JDBC Object Management Group (OMG) Common Warehouse Metadata Interchange (CWMI) Open Geospatial Consortium (OGC) ISO SQL/MM part 3: Spatial SQLJ is compliant to ISO/IEC 9075-10:2003. Specification dated 2003/07/25. "Information technology - Database languages - SQL - Part 10: Object Language Bindings (SQL/OLB)" X/OPEN CLI (Call Level Interface) X/Open XA DB2 LUW uses the FIPS 140-2 approved cryptographic provider(s); IBMJCEFIPS (certificate 376) and/or IBMJSSEFIPS (certificate 409) and/or IBM Crypto for C (ICC (certificate 384) for cryptography. The certificates are listed on the NIST web site at http://csrc.nist.gov/cryptval/140-1/1401val2004.htm. Several DB2 products are using encryption modules that are compliant with FIPS 140.2. For more information about FIPS 140.2 compliance, see website http://www.ibm.com/security/standards/st_evaluations.shtml. Related concepts: Overview of the DB2 technical information

21. DB2 Version 9.7 for Linux, UNIX, and Windows

Dotted decimal syntax diagrams


Syntax diagrams are provided in dotted decimal format for users accessing the Information Center using a screen reader. In dotted decimal format, each syntax element is written on a separate line. If two or more syntax elements are always present together (or always absent together), they can display on the same line, because they can be considered as a single compound syntax element. Each line starts with a dotted decimal number; for example, 3 or 3.1 or 3.1.1. To hear these numbers correctly, make sure that your screen reader is set to read out punctuation. All the syntax elements that have the same dotted decimal number (for example, all the syntax elements that have the number 3.1) are mutually exclusive alternatives. If you hear the lines 3.1 USERID and 3.1 SYSTEMID, you know that your syntax can include either USERID or SYSTEMID, but not both. The dotted decimal numbering level denotes the level of nesting. For example, if a syntax element with dotted decimal number 3 is followed by a series of syntax elements with dotted decimal number 3.1, all the syntax elements numbered 3.1 are subordinate to the syntax element numbered 3. Certain words and symbols are used next to the dotted decimal numbers to add information about the syntax elements. Occasionally, these words and symbols might occur at the beginning of the element itself. For ease of identification, if the word or symbol is a part of the syntax element, it is preceded by the backslash (\) character. The * symbol can be used next to a dotted decimal number to indicate that the syntax element repeats. For example, syntax element *FILE with dotted decimal number 3 is given the format 3 \* FILE. Format 3* FILE indicates that syntax element FILE repeats. Format 3* \* FILE indicates that syntax element * FILE repeats. Characters such as commas, which are used to separate a string of syntax elements, are shown in the syntax just before the items they separate. These characters can display on the same line as each item, or on a separate line with the same dotted decimal number as the relevant items. The line can also show another symbol giving information about the syntax elements. For example, the lines 5.1*, 5.1 LASTRUN, and 5.1 DELETE mean that if you use more than one of the LASTRUN and DELETE syntax elements, the elements must be separated by a comma. If no separator is given, assume that you use a blank to separate each syntax element. If a syntax element is preceded by the % symbol, this indicates a reference that is defined elsewhere. The string following the % symbol is the name of a syntax fragment rather than a literal. For example, the line 2.1 %OP1 means that you should refer to separate syntax fragment OP1. The following words and symbols are used next to the dotted decimal numbers: ? means an optional syntax element. A dotted decimal number followed by the ? symbol indicates that all the syntax elements with a corresponding dotted decimal number, and any subordinate syntax elements, are optional. If there is only one syntax element with a dotted decimal number, the ? symbol is displayed on the same line as the syntax element, (for example 5? NOTIFY). If there is more than one syntax element with a dotted decimal number, the ? symbol is displayed on a line by itself, followed by the syntax elements that are optional. For example, if you hear the lines 5 ?, 5 NOTIFY, and 5 UPDATE, you know that syntax elements NOTIFY and UPDATE are optional; that is, you can choose one or none of them. The ? symbol is equivalent to a bypass line in a railroad diagram. ! means a default syntax element. A dotted decimal number followed by the ! symbol and a syntax element indicates that the syntax element is the default option for all syntax elements that share the same dotted decimal number. Only one of the syntax elements that share the same dotted decimal number can specify a ! symbol. For example, if you hear the lines 2? FILE, 2.1! (KEEP), and 2.1 (DELETE), you know that (KEEP) is the default option for the FILE keyword. In this example, if you include the FILE keyword but do not specify an option, default option KEEP will be applied. A default option also applies to the next higher dotted decimal number. In this example, if the FILE keyword is omitted, default FILE(KEEP) is used. However, if you hear the lines 2? FILE, 2.1, 2.1.1! (KEEP), and 2.1.1 (DELETE), the default option KEEP only applies to the next higher dotted decimal number, 2.1 (which does not have an associated keyword), and does not apply to 2? FILE. Nothing is used if the keyword FILE is omitted. * means a syntax element that can be repeated 0 or more times. A dotted decimal number followed by the * symbol indicates that this syntax element can be used zero or more times; that is, it is optional and can be repeated. For example, if you hear the line 5.1* data area, you know that you can include one data area, more than one data area, or no data area. If you hear the lines 3*, 3 HOST, and 3 STATE, you know that you can

include HOST, STATE, both together, or nothing. Note: 1. If a dotted decimal number has an asterisk (*) next to it and there is only one item with that dotted decimal number, you can repeat that same item more than once. 2. If a dotted decimal number has an asterisk next to it and several items have that dotted decimal number, you can use more than one item from the list, but you cannot use the items more than once each. In the previous example, you could write HOST STATE, but you could not write HOST HOST. 3. The * symbol is equivalent to a loop-back line in a railroad syntax diagram. + means a syntax element that must be included one or more times. A dotted decimal number followed by the + symbol indicates that this syntax element must be included one or more times; that is, it must be included at least once and can be repeated. For example, if you hear the line 6.1+ data area, you must include at least one data area. If you hear the lines 2+, 2 HOST, and 2 STATE, you know that you must include HOST, STATE, or both. Similar to the * symbol, the + symbol can only repeat a particular item if it is the only item with that dotted decimal number. The + symbol, similar to the * symbol, is equivalent to a loop-back line in a railroad syntax diagram. Related reference : How to read the syntax diagrams

22. DB2 Version 9.7 for Linux, UNIX, and Windows

Release Notes for DB2 Version 9.7 for Linux, UNIX and Windows
The Release Notes provide a list of useful topics and links for when you install a DB2 database product or fix pack.

Contents
Description Backward compatibility System requirements Installing DB2 database products Known problems

Description
DB2 database products are available in several different editions, each offering different features and functionality. For information about the DB2 database products available for each operating system, refer to DB2 database product and packaging information and DB2 Connect overview. A fix pack is a cumulative collection of APAR fixes. In general, fix packs can be applied on top of any previously shipped maintenance to bring the system up to the current fix pack level.

Backward compatibility
For information about changes in the features and functionality of DB2 database products, refer to: Changed functionality Deprecated functionality Discontinued functionality

System requirements
For information about hardware and software compatibility, refer to Installation requirements for DB2 database products.

Installing DB2 database products


For step-by-step installation instructions, see the following topics in the information center: Installing IBM data server clients (Linux and UNIX) Installing IBM data server clients (Windows) Installing DB2 servers using the DB2 Setup wizard (Linux and UNIX) Installing DB2 servers (Windows DB2 Connect server products: installation and configuration overview Typical steps required to install and configure DB2 Connect Personal Edition For fix pack installation instructions, refer to Applying fix packs. If you are upgrading from an earlier DB2 version, additional information can be found at http://www.ibm.com/support/docview.wss?rs=71&uid=swg21200005.

Known problems
Limitations and known problems for DB2 database products are documented in: The Troubleshooting and support section of the documentation: Troubleshooting DB2 Technotes and APARs on the DB2 for Linux, UNIX and Windows product support website: http://www.ibm.com/software/data/db2/support/db2_9/ As problems are discovered and resolved, those resources are updated. By searching the knowledge base, you can quickly find workarounds or solutions to problems. The following links start customized queries of the technotes and APARs: View all technotes for DB2 Version 9.7 for Linux, UNIX, and Windows View all APARs for DB2 Version 9.7 for Linux, UNIX, and Windows

To create your own query, go to the Advanced search page on the IBM Software Support website: http://www.ibm.com/support/advsrch.wss

23. DB2 Version 9.7 for Linux, UNIX, and Windows

Notices
This information was developed for products and services offered in the U.S.A. Information about non-IBM products is based on information available at the time of first publication of this document and is subject to change. IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information about the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service. IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not grant you any license to these patents. You can send license inquiries, in writing, to: IBM Director of Licensing IBM Corporation North Castle Drive Armonk, NY 10504-1785 U.S.A. For license inquiries regarding double-byte character set (DBCS) information, contact the IBM Intellectual Property Department in your country or send inquiries, in writing, to: Intellectual Property Licensing Legal and Intellectual Property Law IBM Japan, Ltd. 19-21, Nihonbashi-Hakozakicho, Chuo-ku Tokyo 103-8510, Japan The following paragraph does not apply to the United Kingdom or any other country/region where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions; therefore, this statement may not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements, changes, or both in the product(s) and/or the program(s) described in this publication at any time without notice. Any references in this information to non-IBM websites are provided for convenience only and do not in any manner serve as an endorsement of those websites. The materials at those websites are not part of the materials for this IBM product and use of those websites is at your own risk. IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you. Licensees of this program who wish to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs and other programs (including this one) and (ii) the mutual use of the information that has been exchanged, should contact: IBM Canada Limited U59/3600 3600 Steeles Avenue East Markham, Ontario L3R 9Z7 CANADA Such information may be available, subject to appropriate terms and conditions, including, in some cases, payment of a fee.

The licensed program described in this document and all licensed material available for it are provided by IBM under terms of the IBM Customer Agreement, IBM International Program License Agreement, or any equivalent agreement between us. Any performance data contained herein was determined in a controlled environment. Therefore, the results obtained in other operating environments may vary significantly. Some measurements may have been made on development-level systems, and there is no guarantee that these measurements will be the same on generally available systems. Furthermore, some measurements may have been estimated through extrapolation. Actual results may vary. Users of this document should verify the applicable data for their specific environment. Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements, or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility, or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. All statements regarding IBM's future direction or intent are subject to change or withdrawal without notice, and represent goals and objectives only. This information may contain examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. All of these names are fictitious, and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental. COPYRIGHT LICENSE: This information contains sample application programs in source language, which illustrate programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. The sample programs are provided "AS IS", without warranty of any kind. IBM shall not be liable for any damages arising out of your use of the sample programs. Each copy or any portion of these sample programs or any derivative work must include a copyright notice as follows: (your company name) (year). Portions of this code are derived from IBM Corp. Sample Programs. Copyright IBM Corp. _enter the year or years _. All rights reserved.

Trademarks
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol ( or ), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml. The following terms are trademarks or registered trademarks of other companies and have been used in at least one of the documents in the DB2 documentation library: Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle, its affiliates, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.

Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others. Related concepts: Overview of the DB2 technical information

24. DB2 Version 9.7 for Linux, UNIX, and Windows

Contacting IBM
To contact IBM in your country or region, check the IBM Directory of Worldwide Contacts at http://www.ibm.com/planetwide To learn more about DB2 products, go to http://www.ibm.com/software/data/db2/. Related reference : DB2 technical library in hardcopy or PDF format

25. DB2 Version 9.7 for Linux, UNIX, and Windows

Ordering printed DB2 books


About this task
If you require printed DB2 books, you can buy them online in many but not all countries or regions. You can always order printed DB2 books from your local IBM representative. Keep in mind that some softcopy books on the DB2 PDF Documentation DVD are unavailable in print. For example, neither volume of the DB2 Message Reference is available as a printed book. Printed versions of many of the DB2 books available on the DB2 PDF Documentation DVD can be ordered for a fee from IBM. Depending on where you are placing your order from, you may be able to order books online, from the IBM Publications Center. If online ordering is not available in your country or region, you can always order printed DB2 books from your local IBM representative. Note that not all books on the DB2 PDF Documentation DVD are available in print. Note: The most up-to-date and complete DB2 documentation is maintained in the DB2 Information Center at http://publib.boulder.ibm.com/infocenter/db2luw/v9r7. To order printed DB2 books:

Procedure
To find out whether you can order printed DB2 books online in your country or region, check the IBM Publications Center at http://www.ibm.com/shop/publications/order. You must select a country, region, or language to access publication ordering information and then follow the ordering instructions for your location. To order printed DB2 books from your local IBM representative: 1. Locate the contact information for your local representative from one of the following websites: The IBM directory of world wide contacts at www.ibm.com/planetwide The IBM Publications website at http://www.ibm.com/shop/publications/order. You will need to select your country, region, or language to the access appropriate publications home page for your location. From this page, follow the "About this site" link. 2. When you call, specify that you want to order a DB2 publication. 3. Provide your representative with the titles and form numbers of the books that you want to order. For titles and form numbers, see DB2 technical library in hardcopy or PDF format.

Related concepts: Overview of the DB2 technical information Related tasks: Printing topics and subtopics

26. DB2 Version 9.7 for Linux, UNIX, and Windows

Displaying SQL state help from the command line processor


DB2 products return an SQLSTATE value for conditions that can be the result of an SQL statement. SQLSTATE help explains the meanings of SQL states and SQL state class codes.

Procedure
To start SQL state help, open the command line processor and enter:
?s q l s t a t eo r?c l a s sc o d e

where sqlstate represents a valid five-digit SQL state and class code represents the first two digits of the SQL state. For example, ? 0 8 0 0 3displays help for the 08003 SQL state, and ? 0 8displays help for the 08 class code. Related tasks: Invoking command help from the command line processor Invoking message help from the command line processor

You might also like