Good Compiler of Cobol



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Good Compiler of Cobol

Postby Alison Oliveira » Wed Mar 14, 2012 2:16 am

Hi for all...
What is the best compiler of Cobol for windows???
Alison Oliveira
 
Posts: 37
Joined: Fri Jan 20, 2012 9:08 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Good Compiler of Cobol

Postby enrico-sorichetti » Wed Mar 14, 2012 2:32 am

all depends on Your metrics for ranking
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Good Compiler of Cobol

Postby BillyBoyo » Wed Mar 14, 2012 2:53 am

And looking for replies on a Mainframe forum might only work if you want one which is mainframe compatible.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Good Compiler of Cobol

Postby Alison Oliveira » Fri Mar 16, 2012 12:00 am

Witch is compatible with mainframe??
Alison Oliveira
 
Posts: 37
Joined: Fri Jan 20, 2012 9:08 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Good Compiler of Cobol

Postby Robert Sample » Fri Mar 16, 2012 12:34 am

COBOL is a standard language. As long as the language standard is followed, from the COBOL standpoint there is little difference between the different versions of COBOL. Some will have SCREEN SECTION for screen I/O, some will implement different DISPLAY / ACCEPT functions but all the basics (data types, Procedure Division verbs) will be the same (alhtough the I/O verbs can vary somewhat).

None of the PC compilers will be executable-module compatible with the mainframe; the underlying architectures are too different. So from this standpoint, no PC compiler will be "compatible with mainframes".

Asking for "the best" is like asking "how high is up"? The answer is ... it depends. By "best" do you want the fastest compile time? the smallest executable module? the fastest executing module? the closest to IBM Enterprise COBOL? most compatible with Windows? cheapest to purchase? some other measure you haven't described? And different compilers will do better at some of these criteria but none of them will excel at all of the criteria.

I've used the MicroFocus compiler in the past and it has a compile-time switch that allows you to follow Enterprise COBOL standards, for example. On the other hand, it was not cheap when I was using it -- something like $1000 per programmer IIRC. There's a COBOL for GCC that is free, but it generates C code that is then compiled through the GCC compiler -- totally different approach from the mainframe. Open COBOL is another free compiler, but it runs in CYGWIN so you must install that onto your Windows box, then run Open COBOL through CYGWIN not through Windows. But I've tested some mainframe programs under Open COBOL and in many cases the only thing that has to change is the SELECT statements (and sometimes not even them).
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post