Home: Perl Programming Help: Beginner:
Parsing cobol file


Oct 16, 2011, 11:45 PM

Views: 503
Parsing cobol file

I have a textfile in cobol format, i have to parse that file using perl script in strawberry perl(windows) and find the total for all the fields, the textfile goes like this

01 Headfield.
05 field1 PIC X(06)
05 field2 PIC X(32)
05 field3 PIC X(15)
05 field4 PIC X(22)
05 field5 PIC X(02)

1. Convert::EBCDIC.
2. COBOLstorage.

the COBOLStorage module is not installing.
among these which module i have to use? and how to use?

Please help me...!!!
Thank you...Smile