Detail View 2007

Datum

13.08.2007

 

Keywords

Can I still use the VS COBOL II compiler and the precompiler step for Version 8?

up
davor
weiter

DB2 ist ein Produkt der
IBM Corporation. Bitte
Copyright-  und Trademark-Hinweise beachten!


http://www-1.ibm.com/support/docview.wss?rs=865&context=SSEPEK&dc=DB510&dc=DB520&dc=D800&dc=D900&dc=DA900&dc=DA800&dc=DA440&dc=D600&dc=D700& dc=DB540&dc=DB400&dc=DA410&dc=DA450&dc=DA430&uid=swg21166881&loc=en_US&cs=UTF-8&lang=all

VS COBOL II compiler & Version 8
 Technote (FAQ)

Problem
We have a lot of VS COBOL II programs and are still using the compiler. Can I still use the VS COBOL II compiler and the precompiler step for Version 8?

Solution
If you want to have full support for your applications, then you should be using a supported compiler. VS COBOL II support ended in 2001. DB2® V8 supports Enterprise COBOL V3.4 or later. Other COBOL compilers are no longer supported. OS/VS COBOL has been out of support since roughly 1994.
The key resource is the COBOL Migration Guide, GC27-1409. You can find this document at:
http://www.ibm.com/software/awdtools/cobol/zos/library/ or http://publibfp.boulder.ibm.com/epubs/pdf/igy3mg10.pdf

You need to make some basic choices . Key questions and guidance are in the first chapter. Most customers will stage migration. Do you have Enterprise COBOL V3.4now? Is that release the one that developers use? Old load modules are not a problem with DB2 or COBOL. Precompiling is the challenge.
If new development and changes to old programs switch to the new compiler, that is a possible migration strategy.

If you are migrating to current compilers, then one new addition may help you with the staging. A precompiler that is almost identical to the one in Version 7 is delivering on Version 8 with APAR PK46170. This change is helpful if you have programs that do not compile, but you should use the new compiler whenever possible. You need to convert the old programs while you use Version 8. The old precompiler does not change the statments about support, but limited testing has been performed with this precompiler and VS COBOL II. This precompiler supports only DB2 Version 7 SQL.

If you are using the NOCMPR2 compiler option, your programs are very compatible with the newer compiler. No changes are required. See the COBOL Migration Guide for a detailed discussion.

You don't have to recompile everything if you don't want to. You can recompile any one or many programs on your own schedule. You do need to do a run-time migration to run your VS COBOL II programs under the new COBOL run-time library which is Language Environment.

DB2 generates some COBOL code that IBM® expects to fail on old compilers, although IBM has not tested it.


Related information
Presentation: Planning your migration to Version 8 Searchable APAR database



P.S. Please pass my address to anyone interested in DB2 HOTLINE - thank you.

With kind regards
Michael Dewert, Software Group
DB2 Development
DB2 Information Management Software

© Gernot Ruban