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 > Db2 asntdiff utility

View Poll Results: DB2 ASNTDIFF Utility?
AVAILABLE 0 0%
NOT AVAILABLE 0 0%
D'ONT KNOW 0 0%
Multiple Choice Poll. Voters: 0. You may not vote on this poll

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-09-12, 04:34
nevil_dabre nevil_dabre is offline
Registered User
 
Join Date: Feb 2012
Posts: 6
Lightbulb Db2 asntdiff utility

Hi ALL,

I tried to run following command on Linux server with DB2 9.1v.

db2 asntdiff -f queries.asntdiff

But it failed to run and thowred SQL10004N error means command not recognized.

Is ASNTDIFF Utility limited to specific version of DB2 and if it's available then how to use it.

Regards,
Neville
Reply With Quote
  #2 (permalink)  
Old 02-09-12, 06:39
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
It is not a DB2 command, but a utility, so just enter the name of the program on the command line:

asntdiff -f queries.asntdiff
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 02-09-12, 07:32
nevil_dabre nevil_dabre is offline
Registered User
 
Join Date: Feb 2012
Posts: 6
Question

Hello Marcus_A,

i have tried the same but still facing same error.

can i get this utility program online to download?
Reply With Quote
  #4 (permalink)  
Old 02-09-12, 07:45
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
I am using 9.7 and it is available. You may want to open the DB2 LUW InfoCenter webpage doc for version 9.1 (V9) and search to see if you can find it. It might not be availble in 9.1.

If you want to try and copy it from a 9.7 release (probably in the $HOME/sqllib/bin directory) you could download a trial version of DB2 9.7 and get it from there, but no guarantee that it work if you try to run it in 9.1.

BTW, DB2 9.1 LUW will no longer be supported by IBM after Apr 30, 2012 (except under special extended support contract)​​​, so maybe time to upgrade to 9.7.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #5 (permalink)  
Old 02-09-12, 08:56
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
it is in sqllib/bin
also for 9.1
do NOT invoke this from the db2 prompt - just cmd line
type the command - see the error and publish
__________________
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
  #6 (permalink)  
Old 02-23-12, 01:15
nevil_dabre nevil_dabre is offline
Registered User
 
Join Date: Feb 2012
Posts: 6
Need More help

Hi all,

Thanks for all your help...
Now i want to execute following scenario :

There are two databases exact replica of each other and both of them are different in location.

I use ODI tool to update target DB, but while doing it i get some mismatch in some Tables.
Now to check the remaining records i wan to execute asntdiff command and store the records at target db temporary table.

Thanks
Neville
Reply With Quote
  #7 (permalink)  
Old 02-23-12, 05:51
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Quote:
Originally Posted by nevil_dabre View Post
Now to check the remaining records i wan to execute asntdiff command and store the records at target db temporary table.
Do you have any question? I am sure you have read asntdiff in documentation.
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #8 (permalink)  
Old 02-29-12, 01:06
nevil_dabre nevil_dabre is offline
Registered User
 
Join Date: Feb 2012
Posts: 6
Hi,
i read many articles and help topic over it.
But i still confuse over how to specify the name of the two tables and respective databases.

Please provide me the detailed info of it.

Regards,
Neville
Reply With Quote
Reply

Tags
asntdiff, compare two tables, db2

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