Hello all...
I need to know if someone out there has a good reference that outlines a method of converting some very old COBOL code to more structured code. I have the "fun" %-) task of converting code written circa 1968 and converting it to be more structured, keeping the same compiler using COBOL I. I'm sure someone out there is familiar with the term "spaghetti code". This indeed is and has many 'GO TO's as well as Sections mixed with individual Paragraphs. It's quite a mess but the implications of this restructuring project are staggering, as the programs are driver programs and literally millions of dollars are at stake.
I wanted to know if there were any good reference books written that could present ideas on how to turn 'GO TO' logic paths into PERFORMs that could be written into a modular and structured program. As a programmer in mid career I'm even toying with the idea of writing a book on this myself, as this project will present many of the relevant issues. BUT if there is reference material already available, this definitely will assist in reducing the project timeframe.
Anyone have any suggestions?
Thanks,
MHW
I need to know if someone out there has a good reference that outlines a method of converting some very old COBOL code to more structured code. I have the "fun" %-) task of converting code written circa 1968 and converting it to be more structured, keeping the same compiler using COBOL I. I'm sure someone out there is familiar with the term "spaghetti code". This indeed is and has many 'GO TO's as well as Sections mixed with individual Paragraphs. It's quite a mess but the implications of this restructuring project are staggering, as the programs are driver programs and literally millions of dollars are at stake.
I wanted to know if there were any good reference books written that could present ideas on how to turn 'GO TO' logic paths into PERFORMs that could be written into a modular and structured program. As a programmer in mid career I'm even toying with the idea of writing a book on this myself, as this project will present many of the relevant issues. BUT if there is reference material already available, this definitely will assist in reducing the project timeframe.
Anyone have any suggestions?
Thanks,
MHW