http://www.perlmonks.org?node_id=157013

smorri has asked for the wisdom of the Perl Monks concerning the following question:

I am needing to convert a file exported from DB2 into a text based ascii file. I don't care what the delimiter or format once it gets out of .ixf format. Any ideas?

Originally posted as a Categorized Question.

  • Comment on How do I convert a DB2 .ixf file to an ascii delimited file?

Replies are listed 'Best First'.
Re: How do I convert a DB2 .ixf file to an ascii delimited file?
by perlplexer (Hermit) on Apr 06, 2002 at 18:20 UTC
    I couldn't find anything that you can immediately use neither on google nor on CPAN. However, I did find the actual file format description, which you can get here.
    Do you have access to the database from which the extract file was created? If so, you may consider using DBD::DB2 and DBI to extract the needed data yourself and then store it in whatever format you like.
    Or you can write a module for parsing IXF files and submit it to CPAN. :)

    --perlplexer