Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Microfocus Cobol datafiles

by kutsu (Priest)
on Feb 03, 2006 at 17:08 UTC ( #527726=note: print w/ replies, xml ) Need Help??

in reply to Microfocus Cobol datafiles

The first link returned searching for Cobol on search.cpan is Convert::IBM390 which includes an example for reading a Cobol datafile (not sure what a .cad is though). If you want to read the data printed by the datafile simply set the fd with a filler (see below) then set the filler as a comma or pipe (or other delimiter) and super search for reading from a comma delimited file.

fd data-file LABEL RECORDS ARE STANDARD DATA RECORD IS data-rec. 01 data-rec. 05 data-foo pic 9(05). 05 data-filler1 pic X(01). 05 data-bar pic X(15). 05 data-filler2 pic X(01). * etc....

Comment on Re: Microfocus Cobol datafiles
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://527726]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2014-10-21 07:11 GMT
Find Nodes?
    Voting Booth?

    For retirement, I am banking on:

    Results (98 votes), past polls