• rocky_498 (10/24/2013)


    Here is the Sample Data

    ID,DISTRIBUTOR BCITY,ACCOUNT ID TYPE,ACCOUNT ID

    DS,BP9744524,CARLSBAD,D,BR9307299,UNKNOWN

    I can Open this .DAT file in Notepad. Client just want above format files in .DAT format.

    Please guide me or you want more information, let me know.

    Thank You.

    That looks like standard CSV format.

    .DAT does not define a file format, it's just a file name, nothing more. You can write directly to a flat file with a .DAT extension, no need for any renames.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.