473,241 Members | 1,626 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,241 software developers and data experts.

DB2MOVE QUESTIONS

Guys,

Got a DB2 ver. 8.2 on Windows 2003 with four tablespaces (some field size around varchar(2000 on it) define on it. Try to create another database on another Windows 2003 server using db2move export/import, and I got this message.

SQL0286N A default table space could not be found with a page size of at
least "16384" that authorization ID "DB2ADMIN" is authorized to use.
SQLSTATE=42727

My question is do I need to create the database and tablespaces before I run the db2move import? Any others way I can do it with one command?

Thanks

Alan
Sep 12 '06 #1
2 5977
>"Alan" <in**@lsl.com.hkwrote in message news:45********@127.0.0.1...
>Guys,

Got a DB2 ver. 8.2 on Windows 2003 with four tablespaces (some field size
around varchar(2000 on it) define on it. Try >to create another database on
another Windows 2003 server using db2move export/import, and I got this
message.

SQL0286N A default table space could not be found with a page size of at
least "16384" that authorization ID "DB2ADMIN" is authorized to use.
SQLSTATE=42727

My question is do I need to create the database and tablespaces before I
run the db2move import? Any others way I >can do it with one command?

Thanks
Alan
You should use db2look to create the DDL before you do the db2move in order
to get all the object created that you will need. This will create the
tablespaces, bufferpools, foreign keys, authorizations, etc.

In the future, please post using text only (no rtf).
Sep 12 '06 #2
You need to create the db with its three default tablespaces before running db2move on the receiving system
db2move does not create the tablespaces. It just moves data by creating the tables (if import option is used).

On the source, run db2look with the proper parms to extract all ddl for the objects.
Create the default db on the target and run the outout of db2look against it. (You may have to edit the container defs. if they can't match).
Then run db2look in load option.

Since you are going forom Win to Win why not backup and restore. If containers can't match then do a redirected restore.

HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Alan" <in**@lsl.com.hka ¨¦crit dans le message de news: 45********@127.0.0.1...
Guys,

Got a DB2 ver. 8.2 on Windows 2003 with four tablespaces (some field size around varchar(2000 on it) define on it. Try to create another database on another Windows 2003 server using db2move export/import, and I got this message.

SQL0286N A default table space could not be found with a page size of at
least "16384" that authorization ID "DB2ADMIN" is authorized to use.
SQLSTATE=42727

My question is do I need to create the database and tablespaces before I run the db2move import? Any others way I can do it with one command?

Thanks

Alan
Sep 12 '06 #3

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

Similar topics

1
by: TD Matthews | last post by:
I'm hoping someone has seen this. I'm moving our dev db (8.1 FP5 for both) to a windows machine from AIX using db2move, and all goes well except with a few tables like PAYPERIOD IMPORT: -Rows...
2
by: erkki | last post by:
Hi, I am trying to move DB2 8.1 database from AIX to Windows. Following errors appears when I try to run db2move db import. <IMPORT.out> ***** DB2MOVE ***** Action: IMPORT
2
by: valerio | last post by:
Hi all, I've some problem to import data to DB2 using the db2move and db2look tools. Follow the problem : I have exported data from db2 v. 7 database on windows server, using the db2look and...
1
by: Terry | last post by:
Hi All, Im attempting to use db2move from 7.1.0 to 8.1.4. It fails to import tables defined using the columns with GENERATED ALWAYS. The error message generated follows: "SQL3550W The field...
4
by: Christos Kalantzis | last post by:
Hello I am migrating a DB from AIX DB2 7.2 to Linux DB2 8.2.2 amd_64bit Linux 2.6. I have often migrated databases from one platform to another without any issues using db2move db2move dbname...
0
by: ibm_97 | last post by:
Hi, I'd like to move 2 tables' data from schema1 in db1 to schema2 in db2. There's no schema1 in db2. I use something like the following, but I end up getting tables under schema2 in db2. Any...
2
by: Mani | last post by:
Hi Everyone, i have a doubt regarding db2move utility. I have created a database with circular logging (primary logs - 2, secondary logs - 1). I imported tables into this new db using db2move....
0
by: mikeodba | last post by:
Summary: SQL3255 Reason code 2 from db2move with DB2 v9.1 fixpack 5. on Win32. Win32 DB2 version 9.1 fixpack5 , performing DB2MOVE COPY with SCHEMAMAP between two local databases in the same...
1
by: Richard2000 | last post by:
Hi team, Has anyboby faced this issue? I'm trying to use db2move to export as400 schema content to my local windows file system. The aim is to be able to re-import it into a DB2 UDB v9 Windows...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.