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
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
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
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.)
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
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.