Expert Answer Center > Experts On Demand > View Answer
EMAIL THIS
Experts on Demand
  EXPERTS ON DEMAND HOME     POSE A QUESTION     VIEW ANSWERS     BROWSE BY TOPIC        RSS FEEDS  
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.

HomeExperts on DemandIT Expert Webcast SeriesExpert KnowledgebaseSite Index
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts