473,698 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem when migrating DB from v7 to v8

Dear all,

I am using DB2 for AIX, I have the following problem when migrating my DB
from DB2 v7.2 to v8.1

I orginally have a table with a CLOB field with logged and not compact
properties. We I use db2look to obtain the structure, the following is the
output:

CREATE TABLE "TEST"."TES T1" (
"ID" CHAR(4) NOT NULL ,
"TRACE" CLOB(4096) LOGGED NOT COMPACT );

When I migrated this DB to DB2 v8.1, when I run the db2look again, the CLOB
field changed to " NOT LOGGED NOT COMPACT" ie.

CREATE TABLE "TEST"."TES T1" (
"ID" CHAR(4) NOT NULL ,
"TRACE" CLOB(4096) NOT LOGGED NOT COMPACT );

However, when I select the table structure from the syscat.columns view in
DB2 v8.1, the LOGGED field is turned ON. ie:

db2 "select substr(TABNAME, 1,20), substr(COLNAME, 1,20), LOGGED, compact from
syscat.columns

1 2 LOGGED COMPACT
-------------------- -------------------- ------ -------
TEST ID
TEST TRACE Y N
Does anyone knows why there is such a difference?

Thank you !

Deacon
Nov 12 '05 #1
3 2774
ssg
Hi Deacon,

I am the db2look owner. I couldn't reproduce this problem on my
machine, both NT and AIX. Could you please try to create a new table
with CLOB column and run db2look again? Please let me know if you can
recreate the problem.

Thanks.

"Deacon" <de****@hkem.co m> wrote in message news:<bv******* ***@imsp212.net vigator.com>...
Dear all,

I am using DB2 for AIX, I have the following problem when migrating my DB
from DB2 v7.2 to v8.1

I orginally have a table with a CLOB field with logged and not compact
properties. We I use db2look to obtain the structure, the following is the
output:

CREATE TABLE "TEST"."TES T1" (
"ID" CHAR(4) NOT NULL ,
"TRACE" CLOB(4096) LOGGED NOT COMPACT );

When I migrated this DB to DB2 v8.1, when I run the db2look again, the CLOB
field changed to " NOT LOGGED NOT COMPACT" ie.

CREATE TABLE "TEST"."TES T1" (
"ID" CHAR(4) NOT NULL ,
"TRACE" CLOB(4096) NOT LOGGED NOT COMPACT );

However, when I select the table structure from the syscat.columns view in
DB2 v8.1, the LOGGED field is turned ON. ie:

db2 "select substr(TABNAME, 1,20), substr(COLNAME, 1,20), LOGGED, compact from
syscat.columns

1 2 LOGGED COMPACT
-------------------- -------------------- ------ -------
TEST ID
TEST TRACE Y N
Does anyone knows why there is such a difference?

Thank you !

Deacon

Nov 12 '05 #2
Has been reproduced by others. Please open an APAR if you want a fix.

Cheers
Serge
Nov 12 '05 #3
If i remember correctly ...there is an open APAR with IBM regarding
this issue. In some platforms(SOLAR IS)...db2look will not give good
DB2LOOK output while creating USER TEMPORARY TABLESPACE.

Please check with IBM regarding this...This is a DB2LOOK problem..
they may give you an APAR or a FIXPACK..

cheers...
Shashi Mannepalli
"Deacon" <de****@hkem.co m> wrote in message news:<bv******* ***@imsp212.net vigator.com>...
Dear all,

I am using DB2 for AIX, I have the following problem when migrating my DB
from DB2 v7.2 to v8.1

I orginally have a table with a CLOB field with logged and not compact
properties. We I use db2look to obtain the structure, the following is the
output:

CREATE TABLE "TEST"."TES T1" (
"ID" CHAR(4) NOT NULL ,
"TRACE" CLOB(4096) LOGGED NOT COMPACT );

When I migrated this DB to DB2 v8.1, when I run the db2look again, the CLOB
field changed to " NOT LOGGED NOT COMPACT" ie.

CREATE TABLE "TEST"."TES T1" (
"ID" CHAR(4) NOT NULL ,
"TRACE" CLOB(4096) NOT LOGGED NOT COMPACT );

However, when I select the table structure from the syscat.columns view in
DB2 v8.1, the LOGGED field is turned ON. ie:

db2 "select substr(TABNAME, 1,20), substr(COLNAME, 1,20), LOGGED, compact from
syscat.columns

1 2 LOGGED COMPACT
-------------------- -------------------- ------ -------
TEST ID
TEST TRACE Y N
Does anyone knows why there is such a difference?

Thank you !

Deacon

Nov 12 '05 #4

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

Similar topics

0
1842
by: Atul Kshirsagar | last post by:
I am embedding python in my C++ application. I am using Python *2.3.2* with a C++ extention DLL in multi-threaded environment. I am using SWIG-1.3.19 to generate C++ to Python interface. Now to explain it in details, 1. Python initialization and finalization is done in the *main* thread. 2. For each new thread I create a separate sub-interpreter . 3. Using PyRun_String("import myModule"...) before execution of python
8
2139
by: Alban Hertroys | last post by:
Hello, I'm using psycopg to insert records in a number of threads. After the threads finish, another thread runs to collect the inserted data. Now, my problem is that psycopg let's my threads end before the inserts actually took place, resulting in my collecting thread finding no records... They are inserted after it checks. Is there a way to tell psycopg or python to wait until the insert took place?
0
1777
by: steve | last post by:
I am having huge problems migrating large db’s from one server to another. I use phpmyadmin to dump the data into a file, and then migrate it to my production server. Then I try to use this: mysql dbname < filename but if the tables are too large, it simply does not work. So I tried the following two work-arounds, which work but are tedious. Is there a nicer way to do it: Solution A: Create a dump file with subset of all the...
6
2765
by: Shai Levi | last post by:
Hi, I'm trying to migrate native c++ class to managed c++ class. The native class header definition looks as: class NativeClass { public: typedef void (CbFunc1)(int n,void* p);
1
1457
by: JM | last post by:
Hi, Just recently one of my box went down due to filestsystem corruption.. Luckily I was able to recover my /var/lib/pgsql directory... now my problem lies on how to recover this data... all my boxes runs on rh9 and compiling the source and rebuilding the source rpm is not helping out either.. is there a way on how to migrate my old data?
3
1672
by: comzy | last post by:
Hi all, I have a peculiar problem. After migrating my existing asp.net 2003 project to 2005 my project works fine without any problem. The moment i thought of debugging it i came to face this peculiar problem which is as follows. when i run the project by typing the URL dirctly in the browser i can see the following line in the view source: <script src="/aspnet_client/system_web/2_0_50727/WebUIValidation.js"
1
2695
by: tom.eeraerts | last post by:
Hello, I have a problem migrating an application from v5r2 to v5r3. The problem is with the prepared statements. To see what the problem is, i extracted a small piece of code and debugged the application while running it on my local window machine (IBM WSAD) but still connecting to the AS400. For the local debugging I use "com.ibm.as400.access.AS400JDBCDriver"
3
4545
by: Gert van der Kooij | last post by:
Hi, Our SQL Replication is between DB2 databases on Windows servers. I'm searching for the document which tells me how to migrate our SQL Replication environment from V8 to V9 (we also need to migrate from V7 to V8 but that's fully described so that's no problem). The PDF 'Migrating to Replication Version 9' doesn't contain a description about migrating SQL Replication, only Q replication. I found some links to PDF manuals which should...
1
1457
by: John Dalberg | last post by:
I am migrating a web site project to a web application project as indicated at this page: http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx However when I try to compile, I get a lot of type 'xxxxxxxxx' is not defined errors. It seems classes in the project are not getting compiled in the project even when they are present in the solution explorer. When I inspected the vbproj file, I noticed that many .vb files are in an...
0
8674
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8604
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8895
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3046
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2330
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.