software:db2:quick_tips
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:db2:quick_tips [2013/01/15 12:37] – seela | software:db2:quick_tips [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Quick Tips ====== | ||
- | |||
- | |||
- | ====How to find the version number of Db2==== | ||
- | < | ||
- | |||
- | ON any client host | ||
- | You will have to source the client' | ||
- | |||
- | | ||
- | eg: source ~db2leduc/ | ||
- | |||
- | Issue the following Command | ||
- | |||
- | % db2level | ||
- | |||
- | |||
- | | ||
- | uses " | ||
- | " | ||
- | | ||
- | " | ||
- | | ||
- | |||
- | |||
- | Using client db2c64 | ||
- | |||
- | DB21085I | ||
- | level identifier " | ||
- | | ||
- | " | ||
- | | ||
- | |||
- | </ | ||
- | |||
- | |||
- | ====db2ls==== | ||
- | |||
- | < | ||
- | To list the path where DB2 database products are installed on your system and | ||
- | list the DB2 database product level, enter: | ||
- | |||
- | db2ls | ||
- | This lists the installation path , level, fixpak, special install number , | ||
- | | ||
- | |||
- | db2ls -q -p -b baseInstallDirectory | ||
- | where q is querying a product or feature | ||
- | p specifies that the listing displays products | ||
- | b specifies the installation directory of the product | ||
- | |||
- | </ | ||
- | |||
- | ====db2val==== | ||
- | |||
- | < | ||
- | The db2val tool verifies the core function of a DB2 copy by validating installation files, | ||
- | instances, database creation, connections to that database, and the state of partitioned | ||
- | database environments. This validation can be helpful if you have manually deployed a DB2 | ||
- | copy on Linux and UNIX operating systems using tar.gz files. The db2val command can | ||
- | quickly ensure that all the configuration has been correctly done and ensure that the DB2 | ||
- | copy is what you expect it to be. You can specify instances and databases or you can run | ||
- | | ||
- | path\bin and sqllib/bin directory | ||
- | |||
- | </ | ||
- | |||
- | ====DB2 Tools==== | ||
- | |||
- | * db2icrt | ||
- | * db2iupdt | ||
- | | ||
software/db2/quick_tips.1358271432.txt.gz · Last modified: 2013/01/15 12:37 by seela