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


in reply to Accessing flat files on the mainframe

My question is how do I access these flat files using a perl script to run these queries?

Depends on the file, but one common approach is:

open FILE, '<', $filename; while (<FILE>) { # ... do something here ... }
Can I use DBD and DBI to hit these flat files using the access I have available?

Possibly. It's tough to give any specific help without knowing what your queries look like, and what the files look like. If you were to post samples both, the value of the responses here will increase substantially.


_______________
DamnDirtyApe
Those who know that they are profound strive for clarity. Those who
would like to seem profound to the crowd strive for obscurity.
            --Friedrich Nietzsche