Page 1 of 1

migrating cobol v3 to v4

PostPosted: Sat Jan 16, 2010 1:25 am
by pillai
We are planning to migrate mainframe Cobol from V3 to V4. Do we need to recompile the programs. Thanks

Re: migrating cobol v3 to v4

PostPosted: Sat Jan 16, 2010 1:39 am
by Robert Sample
Why would you think you need to recompile the programs? Have you checked the Language Reference manual to see what the differences are between version 3 and 4? If there are incompatibilities, they are usually very well documented in the manual.

It is rare for there to be a need to recompile programs just because the compiler version changed. Most of IBM's compilers are compatible with the previous compilers so even changing compilers hasn't required recompile of programs in many cases.

Re: migrating cobol v3 to v4

PostPosted: Sat Jan 16, 2010 1:40 am
by dick scherrer
Hello,

What are you calling COBOL V3 and V4? These are not any of the standard "names". On an IBM mainframe, there are things like Enterprise COBOL and VS COBOL and others. . .

Are you actually migrating from one place to another or is this just an upgrade?

Is this (or something like it) shown on the first line of a compile output?
PP 5655-S71 IBM Enterprise COBOL for z/OS 4.1.0

Does the "old" compiler output show something like 3.x.n?