RICHINMINN
Programmer
- Dec 31, 2001
- 138
This is a large IBM/DB2 shop, and I've just gotten a big bundle of programs to support. The programmer who wrote these programs started out the Procedure Division as follows:
PROCEDURE DIVISION.
CONTINUE.
FIRST-PARAGRAPH-NAME.
....
My question is: What good does it do to stick that "CONTINUE" in there as the first line of code in the PROCEDURE DIVISION?
I've been writing COBOL code for 20+ years, most of it spent on non-IBM platforms. What I've noticed is that IBM programmers do a lot of things in one particular way because that's the way that their professor in college did it, or their mentor at the first programming job they held. A lot of what IBM programmers do carry all the way back to the '50s when programmers were working on mainframe systems that make today's PCs look like supercomputers.
So what's up with this "CONTINUE"?
Rich (in Minn.)
PROCEDURE DIVISION.
CONTINUE.
FIRST-PARAGRAPH-NAME.
....
My question is: What good does it do to stick that "CONTINUE" in there as the first line of code in the PROCEDURE DIVISION?
I've been writing COBOL code for 20+ years, most of it spent on non-IBM platforms. What I've noticed is that IBM programmers do a lot of things in one particular way because that's the way that their professor in college did it, or their mentor at the first programming job they held. A lot of what IBM programmers do carry all the way back to the '50s when programmers were working on mainframe systems that make today's PCs look like supercomputers.
So what's up with this "CONTINUE"?
Rich (in Minn.)