Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Features of Enterprise COBOL version 4 version

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
kishpra

New User


Joined: 24 May 2010
Posts: 86
Location: Pune

PostPosted: Thu Oct 18, 2012 7:05 pm    Post subject: Features of Enterprise COBOL version 4 version
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: 7904
Location: Bellevue, IA

PostPosted: Thu Oct 18, 2012 7:14 pm    Post subject: Reply to: COBOL 4
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: 86
Location: Pune

PostPosted: Thu Oct 18, 2012 7:35 pm    Post subject: Reply to: What are the features of COBOL 4 version
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Thu Oct 18, 2012 7:46 pm    Post subject: Reply to: What are the features of COBOL 4 version
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    Post subject: Re: Reply to: What are the features of COBOL 4 version
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: 1738
Location: Bloomington, IL

PostPosted: Thu Oct 18, 2012 7:54 pm    Post subject: Re: Reply to: What are the features of COBOL 4 version
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: 86
Location: Pune

PostPosted: Thu Oct 18, 2012 7:58 pm    Post subject: Reply to: What are the features of COBOL 4 version
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: 7904
Location: Bellevue, IA

PostPosted: Thu Oct 18, 2012 8:03 pm    Post subject:
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

Site Director


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

PostPosted: Thu Oct 18, 2012 8:49 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us