IGYCRCTL and GnuCOBOL.

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
Post Reply
Harsh Deol
New Member
Posts: 9
Joined: Sat Nov 22, 2014 12:32 pm

IGYCRCTL and GnuCOBOL.

Post by Harsh Deol »

Hi,

We know that COBOL compiler on mainframe uses IGYCRCTL as the program to compile a program. Is the same program used by any other compiler to compile the program? Like in GnuCOBOL what is used?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: IGYCRCTL and GnuCOBOL.

Post by Robert Sample »

IGYCRCTL is specific to IBM mainframes and the COBOL language. Different languages use different programs.

GnuCOBOL translates the COBOL code into C and then uses a C compiler (typically whatever compiler is available on the specific platform) to compile the translated code.
Kishan Mathew
New Member
Posts: 6
Joined: Mon Dec 15, 2014 3:53 pm

Re: IGYCRCTL and GnuCOBOL.

Post by Kishan Mathew »

This is very interesting. Does that mean we can work with that compiler too of GnuCOBOL? I mean like modifying it?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: IGYCRCTL and GnuCOBOL.

Post by Robert Sample »

Have you modified a lot of compilers in your day? If not, be aware that they are not easy to modify (correctly). One of my professors (way back when) told my class that the rule of thumb is that compilers are about three times more difficult to write / modify than application programs, and operating systems are three times more difficult than compilers.

Furthermore, why on earth would you want to modify the C compiler used by GnuCOBOL? I cannot conceive of any modifications that would be needed to it.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”