473,394 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Is there any command or tool for doing DB2 Catalogs reorg/check?

Hi there,

Is there any command or tool for doing DB2 Catalogs reorg/check to
keep the contents are correct?

If the contents within catalogs are incorrect due to unexpected
situations, is there a way to re-build them?
Thanks in advance,

Laurence

Jul 11 '07 #1
3 2764
try the db2cfexp and db2cfimp commands

Knokmans
"Laurence" <wo**********@gmail.comwrote in message
news:11*********************@n60g2000hse.googlegro ups.com...
Hi there,

Is there any command or tool for doing DB2 Catalogs reorg/check to
keep the contents are correct?

If the contents within catalogs are incorrect due to unexpected
situations, is there a way to re-build them?
Thanks in advance,

Laurence

Jul 11 '07 #2
On 7 11 , 6 50 , "Knokmans" <knokm...@nospam.comwrote:
try the db2cfexp and db2cfimp commands

Knokmans

"Laurence" <worldwide...@gmail.comwrote in message

news:11*********************@n60g2000hse.googlegro ups.com...
Hi there,
Is there any command or tool for doing DB2 Catalogs reorg/check to
keep the contents are correct?
If the contents within catalogs are incorrect due to unexpected
situations, is there a way to re-build them?
Thanks in advance,
Laurence
It is my fault. I didn't describe that clearly.

Tthese commands only export/import the following info:

* Database information (including DCS and ODBC information)
* Node information
* Protocol information
* database manager configuration settings
* UDB registry settings
* Common ODBC/CLI settings.

It contains without contents of catalog tables/views.

Is it possible to reorg/check the contents of catalog tables/views?

Jul 12 '07 #3
Laurence wrote:
On 7 11 , 6 50 , "Knokmans" <knokm...@nospam.comwrote:
>try the db2cfexp and db2cfimp commands

Knokmans

"Laurence" <worldwide...@gmail.comwrote in message

news:11*********************@n60g2000hse.googlegr oups.com...
Hi there,
Is there any command or tool for doing DB2 Catalogs reorg/check to
keep the contents are correct?
If the contents within catalogs are incorrect due to unexpected
situations, is there a way to re-build them?
Thanks in advance,
Laurence

It is my fault. I didn't describe that clearly.

Tthese commands only export/import the following info:

* Database information (including DCS and ODBC information)
* Node information
* Protocol information
* database manager configuration settings
* UDB registry settings
* Common ODBC/CLI settings.

It contains without contents of catalog tables/views.

Is it possible to reorg/check the contents of catalog tables/views?
You can use the EXPORT command to export the content of the DB2 catalog.
And you may want to use the "db2look" utility if you would like to have
different representations or a SQL script to create the respective database
objects.

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Jul 12 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Steve Whitlatch | last post by:
It may be me, or it may be the Linux implementation of XML Catalogs on slackware. Whichever, please shed some light on this XML Catalog problem. When using the --catalogs option, xmllint resolves...
27
by: Raquel | last post by:
This question if for UDB on LUW. Suppose I take regular database backups of my database Monday: database backup <ts1> Tuesday: Tablespace reorged and imagecopied <ts2> Friday: database...
7
by: DB_2 | last post by:
Hello, I was trying to load a comma-separated text file to a DB2 table. I believe I have the syntax rigt for the LOAD command. My first question is, how do you actually run it? It is not a...
9
by: Lara | last post by:
Hello freaks, we have many problems with our online reorg and no idea how to resolve it. We had to do an online reorg beacause of 24 h online business. We start the reorg-statements (table by...
1
by: Bruce Pullen | last post by:
db27.2 (fp13) on AIX 5.2. The following error is generated when attempting a reorg or, more precisely, when the file associated with the reorg tablespace reaches 1Gb. SQL2216N SQL error...
3
by: andy.standley | last post by:
Hi, I posted something a while ago about not being able to setup online reorgs - the db2 control center only offers online runstats. So I started adding tasks to reorg each table. This works fine,...
0
pbmods
by: pbmods | last post by:
FIXING NETINFO ERRORS ON THE COMMAND LINE LEVEL: ADVANCED PREREQS: TERMINAL / COMMAND LINE, USERS AND GROUPS Intro Today, while performing routine maintenance, I noticed that I was no...
2
by: Okonita | last post by:
Hi all, How can I implement using REORGCHK to tell REORG what DB2 UDB v8 tables, etc to perform REORG on? Any example script will be highly appreciated. Okonita
3
by: jane | last post by:
Hi, Just wondering, is there any way to do the online reorg to use temporary tablespace instead of tablespace table existed. since that is really a waste to have some space allocated aside...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.