Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Different types of cobol in mainframe?

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

New User


Joined: 12 Aug 2005
Posts: 12

PostPosted: Wed May 27, 2009 10:50 pm    Post subject: Different types of cobol in mainframe?
Reply with quote

I am wondering, what is the original version and name of the cobol used in the normal ibm mainframe, how many types of cobol are there and can u please suggest me what are the different versions of cobol in the whole mainframe world, what is vs cobol II, micro focus cobol, cobol mvs/esa, vs cobol III, ibm cobol...Can anyone please just hilite which cobol is for which mainframe computer, no need of deep understanding jus the versions... I am really confused by reading many answers ? thanks a lot in advance.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Wed May 27, 2009 11:02 pm    Post subject: Reply to: Different types of cobol in mainframe?
Reply with quote

http://www-03.ibm.com/servers/eserver/zseries/zos/le/history/cobmvs.html
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Wed May 27, 2009 11:40 pm    Post subject:
Reply with quote

There are COBOL variants other than what is in the link enrico posted, however these COBOL variants (such as the Micro Focus COBOL you mentioned) tend not to run on the mainframe -- or if they do run on a mainframe, they are not widely used on it.

IIRC, and it's quite possible I don't, the first COBOL available on what is now referred to as a mainframe was System/360 COBOL, available on the System 360 machines back in the mid to late 1960's. I was using a 360/30 as late as 1974 or 1975, but I don't remember what the COBOL was called on it.
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 May 28, 2009 12:30 am    Post subject:
Reply with quote

Hello,

It is not really clear what you want to learn. . . .

Quote:
what are the different versions of cobol in the whole mainframe world
If you really mean the whole mainframe world, there are mainframe systems that are not IBM mainframes. . .

Quote:
I am really confused by reading many answers
If you explain the confusion, someone may be able to clarify.

For my $.02, the only cobol compiler that one needs to be concerned about is the one in use on that particular system. If you change systems regularly (as some of us do), you learn to find out quickly what is used in your current environment.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu May 28, 2009 12:40 am    Post subject:
Reply with quote

ctuserman wrote:
I am really confused by reading many answers



Which is probably why he does not bother to google:
http://www.google.de/search?hl=en&q=%22History+of+COBOL%22&btnG=Google+Search&aq=o&oq=
Back to top
View user's profile Send private message
ctuserman
Currently Banned

New User


Joined: 12 Aug 2005
Posts: 12

PostPosted: Thu May 28, 2009 7:15 pm    Post subject: Reply to: Different types of cobol in mainframe?
Reply with quote

So you mean to say that there are other version's of mainframe other than IBM , which use different versions of COBOL. I am clear from the google with the search key " history of cobol" , and got version like cobol 68, 74.85 and 2002 where as in the IBM site I got other versions like OS/VS COBOL V1.2.4
VS COBOL II V1.3.x
VS COBOL II V1.4.0
COBOL/370™ 1.1
COBOL for MVS & VM V1R2
COBOL for OS/390 & VM V2R1
COBOL for OS/390 & VM V2R2
Enterprise COBOL for z/OS & OS/390 V3R1
Enterprise COBOL for z/OS & OS/390 V3R2
Enterprise COBOL for z/OS V3R3
Enterprise COBOL for z/OS V3R4
Enterprise COBOL for z/OS V4R1

so what is the difference between 'cobol for mvs & VM' and 'Enterprise cobol ', you mean its just an updated version....and any idea like which mainframe will use micro-focus cobol. So my understanding is IBM mainframe's earlier version of cobol is VS COBOL II and now its been updated to Enterprise COBOL, is that right. And is anybody using COBOL 2002 which I read that its an objected oriented COBOL. Is it a failure ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Thu May 28, 2009 7:36 pm    Post subject:
Reply with quote

Quote:
and any idea like which mainframe will use micro-focus cobol.
What are you calling a mainframe? And why are you not using the Micro Focus web site to answer this?

Quote:
version like cobol 68, 74.85 and 2002
These are not versions in the sense that they are compilers. They are the standards put out by the international COBOL standards committees that have defined what COBOL is over the years. IBM does not have a COBOL 74 compiler -- they have compilers that are compliant with COBOL 74 to some degree.

The types of questions you're asking sound like student questions. You really need to go to the manuals section and read the COBOL material. The questions you're asking may have quite complex answers, such as from the Language Reference:
Quote:
APPENDIX1.7 Appendix G. Industry specifications

Enterprise COBOL supports the following industry standards:

* ISO COBOL standards

o ISO 1989:1985, Programming languages - COBOL

ISO 1989:1985 is identical to ANSI INCITS 23-1985 (R2001), Programming Languages - COBOL

o ISO/IEC 1989/AMD1:1992, Programming languages - COBOL: Intrinsic function module

ISO/IEC 1989/AMD1:1992 is identical to ANSI INCITS 23a-1989 (R2001), Programming Languages - Intrinsic Function Module for COBOL

o ISO/IEC 1989/AMD2:1994, Programming languages - Correction and clarification amendment for COBOL

ISO/IEC 1989/AMD2:1994 is identical to ANSI INCITS 23b-1993 (R2001), Programming Language - Correction Amendment for COBOL

All required modules are supported at the highest level defined by the standard.

The following optional modules of the standard are supported:

o Intrinsic Functions (1 ITR 0,1)

o Debug (1 DEB 0,2)

o Segmentation (2 SEG 0,2)

The Report Writer optional module of the standard is supported with the optional IBM COBOL Report Writer Precompiler and Libraries (5798-DYR).

The following optional modules of the standard are not supported:

o Communications

o Debug (2 DEB 0,2)

* ANSI COBOL standards

o ANSI INCITS 23-1985 (R2001), Programming Languages - COBOL

o ANSI INCITS 23a-1989 (R2001), Programming Languages - Intrinsic Function Module for COBOL

o ANSI INCITS 23b-1993 (R2001), Programming Language - Correction Amendment for COBOL

All required modules are supported at the highest level defined by the standard.

The following optional modules of the standard are supported:

o Intrinsic Functions (1 ITR 0,1)

o Debug (1 DEB 0,2)

o Segmentation (2 SEG 0,2)

The following optional modules of the standard are not supported:

o Communications

o Debug (2 DEB 0,2)

* International Reference Version of ISO/IEC 646, 7-Bit Coded Character Set for Information Interchange

* The 7-bit coded character set defined in American National Standard X3.4-1977, Code for Information Interchange

Enterprise COBOL has the following restrictions related to COBOL standards:

* OPEN EXTEND is not supported for ASCII-encoded tapes (CODE-SET STANDARD-1 or STANDARD-2).

* When division by zero occurs in an arithmetic expression and an ON SIZE ERROR phrase is not specified, processing abnormally terminates.

* The overlay capability of the segmentation module is not supported.

See the Enterprise COBOL Programming Guide for specification of the compiler options and Language Environment runtime options that are required to support the above standards.

Enterprise COBOL supports OO to some degree, although I've never tested any of these features and could not tell you how complete the support is. Does that mean it is COBOL 2002 compliant? Nope, but it doesn't mean it's not either -- you'd have to dig much deeper to determine that.
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us