473,799 Members | 3,267 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Import Problem Urgent

hi, i have a problem in importing data from .ixf files the dump was got
from AIX box and this dump is to be imported to win2003 box with
db2v7.2 fixpack8. i have just created a new db in the win2003 and this
dump is to be imported to the new db. IS the db2look.sql necessary for
doing this???or is there any other method of doing this. kindly help me
in this issue.
thanks
lakshmanan

Mar 1 '06 #1
10 2367
1.)If the database created in the Windows machine has the same DDl's as
the one in the AIX , then you need not worry.

Else, you need to create the DDL using db2look.

2.) Now the Dump will have data which is not readable and in IXF format

You need to use db2move to import the data.

db2move <database name> IMPORT -io INSERT

Mar 1 '06 #2
hi with the ref to your reply i would like to tell you that we do not
have the ddl in the windows box its is new and does not have any data
only the dump is to be imported. and it is in ixf format i tried
db2move <database name> IMPORT -io replace_create.

or is the ddl file necessary for the import action.

lakshmanan

Mar 1 '06 #3
"lakshmanan l" <la************ @gmail.com> wrote in message
news:11******** **************@ t39g2000cwt.goo glegroups.com.. .
hi with the ref to your reply i would like to tell you that we do not
have the ddl in the windows box its is new and does not have any data
only the dump is to be imported. and it is in ixf format i tried
db2move <database name> IMPORT -io replace_create.

or is the ddl file necessary for the import action.

lakshmanan


You should use db2look to get all the DDL, since the IXF file will only
create the table and primary key.
Mar 1 '06 #4
Hi lakshman,

You have said that "i have just created a new db in the win2003 and
this
dump is to be imported to the new db."
After creating the DB, you need to create the tables to hold the data
from the AIX box right.
Since you have to create an exact replica of the AIX box,for creating
tables and other keys you need to issue the db2look command at the AIX,
which will create a file say db2look.sql and you need to ftp it to the
windows machine or get hold of it some how.

Now, you need to run that script(db2look. sql) in the windows machine
which will create the DDL.

After that, you need to issue the db2move command which does the
import.

db2look -- > creates the necessary ddl
db2move --> Imports data.

Hope this helps!!

Mar 1 '06 #5
hi, this is actually a dump from the client side and they have not sent
the db2look.sql file in the dump so how can we proceed further is there
a way for doing the import using the .ixf files. Or can we ask them to
send the db2look.sql file.

lakshmanan

Mar 1 '06 #6
hi can you guide me with the syntax for creating the table with the ixf
file in the db.

lakshmanan

Mar 1 '06 #7
In article <11************ **********@i39g 2000cwa.googleg roups.com>,
lakshmananl (la************ @gmail.com) says...
hi can you guide me with the syntax for creating the table with the ixf
file in the db.

lakshmanan


db2 import from <ixffile> of ixf create into <tablename>

Read the docs at http://tinyurl.com/jhh9z
Mar 1 '06 #8
Maybe just add a bit more to this
db2 import from <ixffile> of ixf create into <tablename> in <tbspacename>

By the way this import will create and populate the table, all user defined
indexes (not system created).
So if the unique index for a PK was created separately, it will be there but
not the PK definition.
alter <tablename> primary key .....

HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Gert van der Kooij" <ge**@invalid.n l> a écrit dans le message de news:
MP************* ***********@new s.xs4all.nl...
In article <11************ **********@i39g 2000cwa.googleg roups.com>,
lakshmananl (la************ @gmail.com) says...
hi can you guide me with the syntax for creating the table with the ixf
file in the db.

lakshmanan


db2 import from <ixffile> of ixf create into <tablename>

Read the docs at http://tinyurl.com/jhh9z


Mar 1 '06 #9
lakshmananl wrote:
hi, i have a problem in importing data from .ixf files the dump was got
from AIX box and this dump is to be imported to win2003 box with
db2v7.2 fixpack8. i have just created a new db in the win2003 and this
dump is to be imported to the new db. IS the db2look.sql necessary for
doing this???or is there any other method of doing this. kindly help me
in this issue.


IXF files include the table definition (columns, data types, etc.) So you
can simply import the IXF file and tell DB2 in the import command that it
shall create the table. That's all.

Now, Version 7 is out of service for more than a year. So I would recommend
that you move to Version 8 or at least to the latest FixPak of V7.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Mar 3 '06 #10

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

Similar topics

1
2639
by: B.Desai | last post by:
Hello Experts, Can you please help me out? I am very frustrated! I am trying to update import specification, and it does not let me do that. I have saved specification and now I need to add one extra field at the end of the file (importing txt file). I open the saved specification than add new name of the field and its specification, go through the entire process, and at least it reconginse that I have made changes to the spec, so...
3
6478
by: N. Spiker | last post by:
I am attempting to receive a single TCP packet with some text ending with carriage return and line feed characters. When the text is send and the packet has the urgent flag set, the text read from the socket is missing the last character (line feed). When the same text is sent without the urgent flag set, all of the characters are read. I'm reading the data using the blocking read call of the network stream class. The .NET...
0
1139
by: ramyanet | last post by:
Dear All, I have to enable feature of users to import thier excel file in my web application.I have used the Asp.net with Vb. when they click import button file open dialog must appear,then the users must be able to select the excel file from any location After they selected i have to check whether it is a excel file,if it is a excel file i have to store it in a default location. pls kindly help me out. it very...
3
1137
by: Dhananjay | last post by:
hello everyone i have got a problem i have to import client from sql server DB to a website. I am not able to do it, plz tell me the concept if anyone knows about this. if it is posible let me know step by step how to achieve this.its urgent dear plz send me the resources. Thanks inadvance
4
1631
by: rajaaryan44 | last post by:
i m using access2003 database for my Project. now i have to import data from another access database with the same table name. can any one please tell me how to import data from another access file using codes.please its urgent
0
1705
by: tarachandmishra | last post by:
dear all my self tarachand ..iam develping an application in vb with mysql database but iam unable to import the .sql file in to mysql database. i can do it from command window.by passing the command mysql -u -p < .sql file
17
8327
ashsa
by: ashsa | last post by:
Hi, I am using this statement exactly in my JSP page. <%@ page import="java.util.*, java.lang.*" %> But when i view the equivalent servlet generated, it is like this : import java.util.*; // import java.lang.*; //
6
1044
by: phanimadhav | last post by:
Hello Every Body.i Am New One Of This Asp.net Especially Xml. How To Convert The Xml Values To Database In Asp.net.if U Have Any Code Please Send Me Or If U Know Any Related Articles Please Send The Relatedlinks.thank U.i Am Waiting For Ur Reply.its Urgent.please Send Ur Valueble Suggestions And Ideas As Early As Possible Thank U.
3
3712
by: Ratan | last post by:
hi everybody, i want d code for d procedure to import data from excel sheet to db2 table. can anybody plz help me? its quite urgent. my mail id is ratan.nitrkl@gmail.com, yahoo chat id: ratan_nitrkl@yahoo.com
0
10490
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10260
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10243
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,...
0
10030
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9078
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4146
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
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
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.