We are migrating from COBOL 2.2 to 3.3. What kind of problems can we expect? Will we need to recompile everything? I have heard of problems when COBOL 2 programs call COBOL 3 programs, have you experienced that? (I suspect the people who experienced this problem did not recompile everything.) Thanks for any help you can offer.
QUESTION POSED ON: 23 MAR 2005
QUESTION ANSWERED BY: Tom Ross
All of your questions are answered in the COBOL Migration Guide, or you can go to SHARE and see my COBOL Migration Presentation in Boston in August.
The biggest problem would be if you have any programs that must be compiled with the CMPR2 compiler option. If you do, some conversion may be necessary. If all of your programs use NOCMPR2, then any one or many programs can be compiled with the newer compiler at any time, with no source code changes.
You NEVER have to recompile everything with IBM COBOL, unless you are doing something wrong. For example, the "VS COBOL II mixed with newer COBOL programs" problem is caused by having down-level bootstrap routines (IGZEBST) linked into your modules. The solution is to relink with REPLACE, but if you recompile everything you eliminate any references to the bad module and the problem is also fixed.
Again, all of this is described in detail in the Migration Guide.
|
 |
|