IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Compilation options for Cobol


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ch.prashant

New User


Joined: 16 Sep 2006
Posts: 27
Location: Hyderabad

PostPosted: Wed Nov 05, 2008 9:53 am
Reply with quote

what are the compile options in Cobol, how to get the details on comparing load libs, how to read loadlibs, can we get source code from loadlib..Do you have any idea about P71CBL, P71IVISC compilers


Is this a universal program PGM=IGYCRCTL,if so can u give me details what this program do for compilation

Do u guys aware of Microfocus cobol and how it is related with Mainframe Cobol
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Nov 05, 2008 11:04 am
Reply with quote

Hello,

If you run a compile, the first part of the output is a list of the options. You might also look ikn the COBOL documentation (use the IBM Manuals link at the top of the page) for more detail.

Quote:
how to get the details on comparing load l
Why do you want to compare load?
Quote:
how to read loadlibs
Loadlibs are typically not read. They contain mostly unreadable executable code.
Quote:
can we get source code from loadlib
No, not directly.

Quote:
Do you have any idea about P71CBL, P71IVISC compilers
I expect these are local compile procedures - they are not industry standard.
Quote:
Is this a universal program PGM=IGYCRCTL,if so can u give me details what this program do for compilation
This program is the compiler. It is what compiles your program.

Quote:
Do u guys aware of Microfocus cobol and how it is related with Mainframe Cobol
MicroFocus COBOL is another product that compiles cobol code (and much more). I've used it extensively on UNIX and some on Windows. On those platforms, it is a very good product. For more information, look at (probably mianframe express):
www.microfocus.com/products/mfeee/index.asp
Back to top
View user's profile Send private message
S Nilofer Rahi

New User


Joined: 04 Nov 2008
Posts: 3
Location: Hyderabad

PostPosted: Wed Nov 05, 2008 11:39 am
Reply with quote

Hello,

The default options that were set up when your compiler was installed are in effect for your program unless you override them with other options.To check the default compiler option of your installation, do a compile & check in the compilation listing.

Compiler options can be passed to COBOL compiler program(IGYCRCTL) through the PARM in JCL.


The various Compiler options are:-
APOST,DBCS,LIB,NUMBER,QUOTE,CMPR2,CURRENCY,SEQUENCE,WORD,DATEPROC,INTDATE,YEARWINDOW,LANGUAGE,LINECOUNT,LIST,MAP,OFFSET,OFFSET,SOURCE,SPACE,TERMINAL,XREF,ADV,FASTSRT,OPTIMIZE,DUMP,FLAG & many more.



Quote:
Is this a universal program PGM=IGYCRCTL,if so can u give me details what this program do for compilation


IGYCRCTL is a COBOL compiler that prepares a COBOL source program for execution by producing a machine-language object module. The object module produced by the compiler must be processed by the linkage editor, IEWL, before the compiled program is ready for execution. (This is the compiler for the current IBM Enterprise COBOL for z/OS product; there have been several previous IBM COBOL compilers over the years, with different names, as well as compilers for various other programming languages.)
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Nov 05, 2008 5:50 pm
Reply with quote

There's a manual link at the top of the page -- it can be used to get to the COBOL Programming Guide, which talks about all the compiler options that can be set as well as their meaning and some of the implications of using one versus another.

Programmers can override site default options by using PARM= in JCL, but they can also use the PROCESS (CBL) statement to override options. This statement goes in the source code before IDENTIFICATION DIVISION.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top