See if the packages are valid for the sps.
select valid, pkgname from syscat.procedures.
How does the tool migrate the SP's? Does it do a put procedure, or a build
?
Dan Callahan IT Specialist
603-472-4121 t/l 525-4121
[Email address protected]
[Email address protected]
"Harish Reddy V.
"
<db2udbdba-ezmlms To
hield-x95515402.x "LazyDBA Discussion"
[Email Address Removed] <[Email address protected]
a.com> cc
12/30/2004 04:10 Subject
AM RE: Requried soluriont --- Very
urgent----Error when migrating from
Oracle 9i to DB2 UDB V8.1 ---
Required help to list procedures
Hi All,
Further to my earlier question we were able to migrate the tables from
oracle to db2ese. We have tried to migrate the stored procedures too. We
were able to see the stored procedures getting migrated in the deployment
log file in the Migration Toolkit. But when I check the stored procedures
in the control center, we were unable to stored procedure.Then we have
tried to migrate the single stored procedure, we got the error message
saying that stored procedure already present.We have dropped the stored
procedure using command line and again migrated the stored procedure and
deployed it in the db2. After 2nd attempt also we were unable to trace the
SP in the control center. Can anybody help me out how to see the stored
procedure from Control Center as well as from command line (Syntax
required).
Appreciate an early response from you guys
Thanks & Regards
Harish Reddy
-----Original Message-----
From: Harish Reddy V.
[mailto:db2udbdba-ezmlmshield-x71041447.[Email address protected]
Sent: Thursday, December 30, 2004 10:17 AM
To: LazyDBA Discussion
Subject: RE: Requried soluriont --- Very urgent----Error when migrating
from Oracle 9i to DB2 UDB V8.1
Hi,
With the support you have provided to us, we were able to migrate the full
database except some foriegn key issues. The migration of full DB has taken
7hrs this time where as earlier it has taken only 45min only. We are trying
to find the excat reason ,I would like to know anybody in the group has
come across such as situation after you have created 2 tablespaces with
16kb and 32kb page size and tried to migrate the oracle db to db2 udb .
Thanks in advance.
Thanks & Regards,
Harish Reddy
-----Original Message-----
From: Praveen Chengalathu
[mailto:db2udbdba-ezmlmshield-x24498740.[Email address protected]
Sent: Wednesday, December 29, 2004 8:58 PM
To: LazyDBA Discussion
Subject: RE: Requried soluriont --- Very urgent----Error when migrating
from Oracle 9i to DB2 UDB V8.1
Apologies...it should be tablespaces that you need to create...and also the
BP's with these pagesizes for these tablespaces....
-----Original Message-----
From: Praveen Chengalathu
[mailto:db2udbdba-ezmlmshield-x18713043.[Email address protected]
Sent: 29 December 2004 11:00
To: LazyDBA Discussion
Subject: RE: Requried soluriont --- Very urgent----Error when migrating
from Oracle 9i to DB2 UDB V8.1
You will have to create two bufferpools, one with 8K pagesize and the other
one with 16K pagesize and then run the DDL's below.
Look at DB2 SQL Reference for syntax.
-----Original Message-----
From: Harish Reddy V.
[mailto:db2udbdba-ezmlmshield-x56509203.[Email address protected]
Sent: 29 December 2004 07:26
To: LazyDBA Discussion
Subject: Requried soluriont --- Very urgent----Error when migrating from
Oracle 9i to DB2 UDB V8.1
Hi,
We are in the process of migrating tables from Oracle 9i to DB2 using IBM
Migration toolkit. We were able to migrate the 102 tables directly where as
with other 15 tables we are facing the problem as described below .Please
find the error script below.
CREATE TABLE BSS_AI_ALLOC_SUMMARY( OPS_PLAN_NO FLOAT, ACT_CODE VARCHAR(10),
BRAND VARCHAR(4000), BUDGET DECIMAL(14,6), TONNAGE DECIMAL(12,6), CATEGORY
VARCHAR(4000), BRAND_CODES VARCHAR(4000), ALLOCATED_TO_AREAS VARCHAR(1)
DEFAULT 'B', CAT_CODE VARCHAR(4000), DISCOUNT DECIMAL(10,2) )DB21034E The
command was processed as an SQL statement because it was not a valid
Command Line Processor command. During SQL processing it returned:SQL0286N
A default table space could not be found with a page size of at least
"16384" that authorization ID "SOL2USER" is authorized to use.
SQLSTATE=42727
CREATE TABLE BSS_ADD_WRITEBACK_BDG( CHG_ALLOC_REQ_NO INTEGER NOT NULL,
OPS_PLAN_NO FLOAT NOT NULL, ACT_CODE VARCHAR(10) NOT NULL, CURR_STAGE
SMALLINT DEFAULT 1, CURR_SUB_STAGE SMALLINT DEFAULT 1, CHG_REQ_STATUS
VARCHAR(1) DEFAULT 'P', AUTO_MANUAL VARCHAR(1), APPR_ROLE INTEGER,
ADD_OR_WRITEBACK VARCHAR(1), GSM_OR_RSM VARCHAR(1), REASON VARCHAR(2000),
CREATED_BY INTEGER, CREATED_ON DATE, MODIFIED_ON DATE, MODIFIED_BY INTEGER,
REMARKS VARCHAR(2000) )DB21034E The command was processed as an SQL
statement because it was not a valid Command Line Processor command.
During SQL processing it returned:SQL0286N A default table space could not
be found with a page size of at least "8192" that authorization ID
"SOL2USER" is authorized to use. SQLSTATE=42727
CREATE TABLE BSS_ALLOC_SUMMARY( OPS_PLAN_NO FLOAT, ACT_CODE VARCHAR(10),
BRAND VARCHAR(4000), BRANCH VARCHAR(50), BUDGET DECIMAL(14,6), TONNAGE
DECIMAL(12,6), CATEGORY VARCHAR(4000), SALES_HIER_NO INTEGER,
ALLOCATED_TO_AREAS VARCHAR(1) DEFAULT 'B', BRAND_CODES VARCHAR(4000),
BRANCH_CODE VARCHAR(10), CAT_CODE VARCHAR(4000), DISCOUNT DECIMAL(10,2)
)DB21034E The command was processed as an SQL statement because it was not
a valid Command Line Processor command. During SQL processing it
returned:SQL0286N A default table space could not be found with a page
size of at least "16384" that authorization ID "SOL2USER" is authorized to
use. SQLSTATE=42727
CREATE TABLE BSS_AI_HIST_ALLOC_SUMMARY( OPS_PLAN_NO FLOAT, ACT_CODE
VARCHAR(10), VERSION SMALLINT, BRAND VARCHAR(4000), BUDGET DECIMAL(14,6),
TONNAGE DECIMAL(12,6), CATEGORY VARCHAR(4000), BRAND_CODES VARCHAR(4000),
ALLOCATED_TO_AREAS VARCHAR(1) DEFAULT 'B', CAT_CODE VARCHAR(4000), DISCOUNT
DECIMAL(10,2) )DB21034E The command was processed as an SQL statement
because it was not a valid Command Line Processor command. During SQL
processing it returned:SQL0286N A default table space could not be found
with a page size of at least "16384" that authorization ID "SOL2USER" is
authorized to use. SQLSTATE=42727
Somebody from this group help us out in resolving the issue.
Thanks in advance
Thanks & Regards,
V.Harish Reddy
---------------------------------------------------------------------
PLEASE CLICK REPLY-ALL TO SEND A REPLY TO EVERYONE
website: http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
---------------------------------------------------------------------
PLEASE CLICK REPLY-ALL TO SEND A REPLY TO EVERYONE
website: http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
---------------------------------------------------------------------
PLEASE CLICK REPLY-ALL TO SEND A REPLY TO EVERYONE
website: http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
---------------------------------------------------------------------
PLEASE CLICK REPLY-ALL TO SEND A REPLY TO EVERYONE
website: http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
---------------------------------------------------------------------
PLEASE CLICK REPLY-ALL TO SEND A REPLY TO EVERYONE
website: http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
DB2 & UDB email list listserv db2-l LazyDBA home page