Professional Documents
Culture Documents
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.
General DB2 product documentation Overview of DB2 technical information Accessing different versions of the DB2 Information Center
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.
| Feedbac k
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
SC27-2438-03
Yes
July, 2012
SC27-2442-03
Yes
July, 2012
Yes Yes No
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
Yes Yes No No No No
August, 2009 July, 2012 July, 2012 August, 2009 August, 2009 September, 2010
Yes Yes No
SC27-2468-02
No
July, 2012
SC27-2470-03
Yes
July, 2012
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
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
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
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
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
Updating the DB2 Information Center installed on your computer or intranet server
A locally installed DB2 Information Center must be updated periodically.
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
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.
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
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
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 "
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
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)
Yes No No
No Yes No
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.
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
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.
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.
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
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
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
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
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)
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.
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.
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
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
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
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
DB2 tutorials
The DB2 tutorials help you learn about various aspects of DB2 products. Lessons provide step-by-step instructions.
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
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
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
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.
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
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
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
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
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