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 > Is there a way to read binary files?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-15-10, 12:56
rockycj rockycj is offline
Registered User
 
Join Date: Feb 2007
Posts: 62
Is there a way to read binary files?

I'm on DB2 V9.1 LUW.
I received this error on the production hadr machine last night and this morning in the db2diag.log:

2010-03-14-22.10.48.583876-300 I556025A162 LEVEL: Warning
PID:1007642 TID:1 NODE:000 Title: SQLP_DBCB
Dump File:/home/db2inst1/sqllib/db2dump/10076421.000


But this file /home/db2inst1/sqllib/db2dump/10076421.000 is in binary. Does anyone know how to read binary files or is there a tool that can be use that is open-source?

Thank you for your help!

CC

Last edited by rockycj; 03-15-10 at 12:59.
Reply With Quote
  #2 (permalink)  
Old 03-15-10, 13:41
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,473
Those files are really meant for IBM support to look at. You should be able to use a hex editor to look at them.

Andy
Reply With Quote
  #3 (permalink)  
Old 03-15-10, 15:32
rockycj rockycj is offline
Registered User
 
Join Date: Feb 2007
Posts: 62
Thanks for your advice. I downloaded a Hex editor. Plus you can look at it in Unix with "od -c filename | more".
Reply With Quote
  #4 (permalink)  
Old 03-15-10, 15:57
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,578
"hexdump -C <file>" is also a good approach. But what you want to do with the knowledge, I don't understand.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
Reply

Thread Tools
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