Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2015-07-29 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls