Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2007
    Posts
    84

    Unanswered: 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.

  2. #2
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    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

  3. #3
    Join Date
    Feb 2007
    Posts
    84
    Thanks for your advice. I downloaded a Hex editor. Plus you can look at it in Unix with "od -c filename | more".

  4. #4
    Join Date
    Jan 2007
    Location
    Jena, Germany
    Posts
    2,721
    "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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •