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
 

 

Compilation options for Cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Compilation options for Cobol
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

Site Director


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

PostPosted: Wed Nov 05, 2008 11:04 am    Post subject:
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):
http://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    Post subject:
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: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Wed Nov 05, 2008 5:50 pm    Post subject:
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    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
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 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts COBOL Programming Sandpit? jodrisco COBOL Programming 6 Wed Apr 12, 2017 3:47 am


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