IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Features of Enterprise COBOL version 4 version


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kishpra

New User


Joined: 24 May 2010
Posts: 92
Location: Pune

PostPosted: Thu Oct 18, 2012 7:05 pm
Reply with quote

Hi,

What are the features of COBOL 4 version?

Also if a program is compiled with COBOL 4 instead of COBOL 3, will it lead to performance improvement?


Thanks.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Thu Oct 18, 2012 7:14 pm
Reply with quote

Assuming you mean Enterprise COBOL version 4 instead of version 3 when you reference COBOL4 and COBOL 3, you can click on the IBM Manuals link at the top of the page and read up on the changes in 4.1 as well as 4.2. A brief review indicates performance improvements only to XML PARSE and XML GENERATE, so it is unlikely that a COBOL program not using these verbs will show any difference in perfromance whether compiled in 3.4 or 4.1 or 4.2 or ....
Back to top
View user's profile Send private message
kishpra

New User


Joined: 24 May 2010
Posts: 92
Location: Pune

PostPosted: Thu Oct 18, 2012 7:35 pm
Reply with quote

Thanks.

But I have read that there are some functions which can improve the mathetical operations in COBOL 4. Can anyone give me details on the added featues in COBOL 4 alongwith their advanatges?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 18, 2012 7:46 pm
Reply with quote

Quote:
Can anyone give me details on the added featues in COBOL 4 alongwith their advanatges?


any reason that we should rewrite the manuals ? icon_evil.gif
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Thu Oct 18, 2012 7:51 pm
Reply with quote

kishpra wrote:
Thanks.

But I have read...


Where did you read that?
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Oct 18, 2012 7:54 pm
Reply with quote

kishpra wrote:
Can anyone give me details on the added featues in
COBOL 4 alongwith their advanatges?

Why, yes. I recommend the Enterprise COBOL V4.2 Language Reference.
Back to top
View user's profile Send private message
kishpra

New User


Joined: 24 May 2010
Posts: 92
Location: Pune

PostPosted: Thu Oct 18, 2012 7:58 pm
Reply with quote

Thanks for the information.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Thu Oct 18, 2012 8:03 pm
Reply with quote

You keep using the term "COBOL 4". Terminology is critical in IT, where similar terms may mean very different things. On the mainframe, it is "Enterprise COBOL version 4" -- NOT "COBOL 4". If you Google "COBOL 4", you will get back links to Micro Focus COBOL and Fujitsu netCOBOL as well as Enterprise COBOL. So if you use "COBOL 4" then you need to specify WHICH compiler you are referencing.

And IBM manuals are pretty thorough at providing information about what changed from release to release. If you don't find anything in the manual about mathematical functions being improved by a given release of the COBOL compiler, then it is a pretty safe bet to say that those functions will run the same from release to release. Detailed testing may find small differences in CPU time, but that could be due to external factors rather than language changes.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Oct 18, 2012 8:49 pm
Reply with quote

Hello,

Quote:
Also if a program is compiled with COBOL 4 instead of COBOL 3, will it lead to performance improvement?
What lead to this becoming a issue/concern?

In most (every one i'm familiar with) organizations, software is upgraded by management decision rather than performance considerations. Quite often the decision is based on keeping the software reasonabley current or to make some new feature(s) available.

If there is some problem calculation code, suggest it be placed in a test module for investigation. Look at the expanded code and understand the generated code. Look at the variables used - they may not be the best "PICTURE" for these fields.

If you have something more specific, someone may have a suggestion.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top