Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2007
    Posts
    6
    Rep Power
    0

    Arrow Convertin a .DAT file into readable format

    Hello friends,

    I have a XXXXXXXXX.DAT file which i will take from production server it contains thousands of records each record contains nearly 100 fields.

    In that 100 fields one field called coat_ind=0 i want change this field coat_ind=1 and set the value back to the file

    I think i need to read the file in readable format then finding the field and changing it.But, dont know how to read tht

    can some one help me on this.




    thanks in advance,
    Janakiram Attuluri.
    Last edited by janakiram.attuluri; 12-06-2007 at 01:12 PM.

  2. #2
    Programmist is offline Member
    Join Date
    Nov 2007
    Posts
    7
    Rep Power
    0

    Default

    Usually *.DAT files are binary files. If this is the case, then it's is going to be tough, unless you know the format of the file. If it's a text file (which is possible) then your job will be much easier. If you're not sure, try to open it with a text editor.

Similar Threads

  1. Timestamp in SQL format
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-10-2008, 11:37 AM
  2. Replies: 0
    Last Post: 11-06-2007, 02:20 PM
  3. Date format display in CSV file after exporting
    By latha in forum Advanced Java
    Replies: 0
    Last Post: 08-03-2007, 08:09 AM
  4. Code format
    By Eric in forum XML
    Replies: 1
    Last Post: 07-06-2007, 07:42 AM
  5. show a RTF FORMAT
    By Jack in forum Advanced Java
    Replies: 2
    Last Post: 07-04-2007, 03:37 AM

Posting Permissions

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