View previous topic :: View next topic |
Author |
Message |
jmp2i Beginner
Joined: 01 Oct 2003 Posts: 1 Topics: 1 Location: france ( le chesnay )
|
Posted: Wed Oct 01, 2003 5:01 pm Post subject: cobol compiler option into a load-module |
|
|
hello
do you know how to retrieve the cobol compiler options into a load module
where the options are stored
and where a dsect describing it
1 for OS/VS cobol
2 for COB II 1.1 , 1.2 and 1.4
thank you
_________________ jmp2i |
|
Back to top |
|
|
slade Intermediate
Joined: 07 Feb 2003 Posts: 266 Topics: 1 Location: Edison, NJ USA
|
Posted: Thu Oct 02, 2003 12:10 am Post subject: |
|
|
Hi jmp2i,
I'm having trouble understanding what you're looking for.
You say: Quote: |
into a load module
|
Do you mean "from a load module"?
You say: Quote: |
where a dsect describing it
|
I don't know what that means.
To get the discussion started, let me take a guess and you can let me know if this is what you're looking for.
The compiler options selected for a COBOL pgm are contained within its first 100 bytes (approx). They are represented by a series of bits, each denoting a selected option. Among other data contained therein are the compiler name and version.
I'm not sure but I'd guess that the sequence and meaning of the option bit can change from compiler to compiler and from version to version. Their values can usually be found in the associated Pgmr's Guide. With COBOLII they were in the Debugging Guide.
You don't say how you want to use this info. Do you want to access and display this info from a utility for one pgm at a time or do it for a list of pgms? Do you want to look at the bits through ISPF edit for an individual module? Do you want to run this process in a production environment?
Each of these choices present different problems and might dictate the choice of an approach.
Regards, Jack. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
|
|