If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > getting error in db2look utility

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-25-11, 00:33
harsh.v harsh.v is offline
Registered User
 
Join Date: Aug 2011
Posts: 36
getting error in db2look utility

Hi All,
I am working on db2 8.2 on AIX platform.
I am facing issues with db2look command:
when I issued the command db2look -d dbname -t tabname -x -e -a
it is giving me the error :


unhod54:uding604 :/db2data/uding604/sqllib/bnd> db2look -d XXX -t Tabname -x -e -a
-- Generate statistics for all creators
-- The db2look utility will consider only the specified tables
-- Creating DDL for table(s)
-- This CLP file was created using DB2LOOK Version 8.2
-- Timestamp: Fri Nov 25 10:56:35 IST 2011
-- Database Name: UDING604
-- Database Manager Version: DB2/6000 Version 8.2.5
-- Database Codepage: 819
-- Database Collating Sequence is: UNIQUE


CONNECT TO UDING604;
SQL0818N A timestamp conflict occurred. SQLSTATE=51003

But this command is running fine with the option -a, if given alone.
Rest of the options are giving problems.
Can any on has faced the same issues or having some ideas over the same.


Regards,
Harsh Verma
Reply With Quote
  #2 (permalink)  
Old 11-25-11, 01:55
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
try to rebind the db2look package..
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 11-25-11, 02:20
harsh.v harsh.v is offline
Registered User
 
Join Date: Aug 2011
Posts: 36
Have already done that, but no result:


db2 bind db2look.bnd

LINE MESSAGES FOR db2look.bnd
------ --------------------------------------------------------------------
SQL0061W The binder is in progress.
SQL0091N Binding was ended with "0" errors and "0" warnings.


db2look -d xxxxx -t xxxL -x -e -a
-- Generate statistics for all creators
-- The db2look utility will consider only the specified tables
-- Creating DDL for table(s)
-- This CLP file was created using DB2LOOK Version 8.2
-- Timestamp: Fri Nov 25 12:54:46 IST 2011
-- Database Name: xxx
-- Database Manager Version: DB2/6000 Version 8.2.5
-- Database Codepage: 819
-- Database Collating Sequence is: UNIQUE


CONNECT TO xxxx;
SQL0818N A timestamp conflict occurred. SQLSTATE=51003
Reply With Quote
  #4 (permalink)  
Old 11-25-11, 07:15
harsh.v harsh.v is offline
Registered User
 
Join Date: Aug 2011
Posts: 36
Thumbs up

Issue has been resolved by binding db2lkfun.bnd

Regards,
Harsh Verma
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On