Q
Problem solve Get help with specific problems with your technologies, process and projects.

Migrating from COBOL 2.2 to 3.3

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.
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.

This was last published in March 2005

Dig Deeper on IBM system z and mainframe systems

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close