Does COBOL 6.2 compilation cost more ?

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
Post Reply
The Date
Registered Member
Posts: 13
Joined: Sun Nov 17, 2013 2:44 pm

Does COBOL 6.2 compilation cost more ?

Post by The Date »

Hi,

We have recently started seeing more use of CPU on our mainframes. One of the reasons is high CPU time used by compilation. We have instructions like these:
You should not need to compile production version of program to get it loaded to a test region. The only reason to compile is to ready the program for Xpediter. If the program is having DB2 bind issues when pointing to PROD, this can be fixed without recompiling the program. That said, sometimes you just can’t get it sorted without recompiling.

Please use compiling of production programs sparingly as there is a system cost and impact performance.
The bold part above, is that a common problem with COBOL 6.2?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1896
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Does COBOL 6.2 compilation more costly?

Post by Robert Sample »

I have not seen any objective data about COBOL 6.2 compiles being more expensive than COBOL 4.2 compiles, but I can see how they could be since there was a good bit added into the compiler with 6.2.
Please use compiling of production programs sparingly as there is a system cost and impact performance.
This is always true no matter what language nor version is being used. At a previous employer, programmers hated month-end because we set compiles to be discretionary (they only got CPU time when nothing else needed it) and during month-end we ran 100% CPU utilization for about 3 or 4 days. Compiles that normally ran in 5 minutes the rest of the month could easily take 5 hours or more during month-end.
The Date
Registered Member
Posts: 13
Joined: Sun Nov 17, 2013 2:44 pm

Re: Does COBOL 6.2 compilation more costly?

Post by The Date »

Thanks Robert for your reply.

Is there a suggestion so that we can start looking at to make COBOL 6.2 better? Are there some ways to do it?
User avatar
lchui
New Member
Posts: 8
Joined: Sun Sep 13, 2020 10:28 pm

Re: Does COBOL 6.2 compilation more costly?

Post by lchui »

The Date wrote: Sat Feb 26, 2022 1:11 pm Thanks Robert for your reply.

Is there a suggestion so that we can start looking at to make COBOL 6.2 better? Are there some ways to do it?

Have you visited the COBOL Migration Portal? I think you'll find a lot of useful info (i took a quick peek and there's a COBOL 6.2 Performance Tuning Guide posted). Also consider registering for the Migration/Performance Tuning webinars.

https://www.ibm.com/docs/en/cobol-zos/6 ... ortal.html

hope this helps
The Date
Registered Member
Posts: 13
Joined: Sun Nov 17, 2013 2:44 pm

Re: Does COBOL 6.2 compilation more costly?

Post by The Date »

Thanks Ichui. That's a good documentation.

How do you pronounce your name, pardon me.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”