473,396 Members | 2,002 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,396 software developers and data experts.

Recovering tables from DB2 V2

I have a database instance from DB2 V2 under AIX 3.2.5. I want to dump all the
tables in this database, but don't have a running DB2 V2 instance. Assume I
have access to any number of 'modern' DB2 installations on AIX, and I don't care
about metadata like indexes--I just want to see the contents of the tables.

What is the most direct way to export the database contents?

/ff
Oct 9 '06 #1
1 1404

FearlessFerret schrieb:
I have a database instance from DB2 V2 under AIX 3.2.5. I want to dump all the
tables in this database, but don't have a running DB2 V2 instance. Assume I
have access to any number of 'modern' DB2 installations on AIX, and I don't care
about metadata like indexes--I just want to see the contents of the tables.

What is the most direct way to export the database contents?

/ff
Do you have an offline DB2 backup of your database ? If yes restore it
on a DB2 V5 or V6 system (not sure if V7 would also restore a V2
backup).

If there is no backup then you may want take a look at the db2dart tool
(not 100% sure if it was contained with DB2 V2).
Run "db2dart <dbname/DDEL". Next you'll have to enter tablespace id
and table name/id. db2dart then dumps the table data in DEL format into
a file. Note that LOB and LONG VARCHAR columns are not supported

HTH
Joachim

Oct 12 '06 #2

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

Similar topics

1
by: Ryan | last post by:
Any ideas how I can recover a job that has been deleted (?) from SQL 7.0 ? We had one which was used on a regular basis which has now ceased to exists. I've spoken to the people responsible for the...
44
by: Mariusz Jedrzejewski | last post by:
Hi, I'll be very grateful if somebody can explain me why my Opera 7.23 (runing under linux) doesn't show me inner tables. Using below code I can see only "inner table 1". There is no problem with...
3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
3
by: news.dsl.pipex.com | last post by:
Hi Is it possible to recover a table if it has been deleted and before the mdb file has been compacted? Thanks Regards
11
by: MLH | last post by:
I don't know how it happened. I have hundreds of hours worth of work invested in a file I foolishly named DB9.mdb. I was intending on renaming the file soon. But I neglected to do so before...
3
by: Sheldon | last post by:
Someone here at work was out and her backup, apparently, erased a very important table. While the Help Desk is trying to locate a backup tape, I was wondering if there is a way to get the table...
1
by: TiGeR79 | last post by:
Hello, I've written a webservice which returns a dataset containing just one table with two columns. One colum holds a string while te second holds an image serialized into a byte array. This...
0
by: hopfer | last post by:
Can anyone figure out what can I do? The Db2 container crashed, backup failed and everything I have is a copy of de .DAT made to another folder. I need recover from it or extract the tables to...
3
by: subhbhav | last post by:
Hi, Is there any way to get a db2 9.1 Windows UDB database which is in inconsistent state to start without recovery? We were loading data from a source and the database crashed. The Server...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.