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: 91
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: 8086
Location: East Dubuque, Illinois, USA

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: 91
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: 10272
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: 1763
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: 91
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: 8086
Location: East Dubuque, Illinois, USA

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
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 2 Tue May 09, 2017 6:31 pm


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