View previous topic :: View next topic
|
Author |
Message |
ksk
Active User
Joined: 08 Jun 2006 Posts: 355 Location: New York
|
|
|
|
Hi,
We want to find out what compiler version was used to compile our COBOL programs. For example, we can compile COBOL programs with
VS COBOL, COBOL II etc...
We would like to find out which are compiled with VS COBOL and we want to compile all these with COBOL II compiler.
Is there any way to find out the compiler name we have compiled?
I appreciate your help. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
You can see it from a compilation listing ! |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Do you mean, from a load or object library you want to look at previously compiled programs and see what compiler was used? |
|
Back to top |
|
|
ksk
Active User
Joined: 08 Jun 2006 Posts: 355 Location: New York
|
|
|
|
Thanks Enrico. We have load library for all the compiled COBOL programs. When I am seeing the load module of that particular program, I am not able see any word like VS COBOL or COBOL II.
Is this the right place to check or is there any other way to check? |
|
Back to top |
|
|
ksk
Active User
Joined: 08 Jun 2006 Posts: 355 Location: New York
|
|
|
|
Bill,
Yes, I want to check from Load Library to enquire which compiler was used to compile the program?
If this is not the right way can you suggest me how can we find? |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
I think that this is what you want. |
|
Back to top |
|
|
ksk
Active User
Joined: 08 Jun 2006 Posts: 355 Location: New York
|
|
|
|
Thanks Akatsukami. This is very useful. |
|
Back to top |
|
|
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
The below jcl can be run to give you the csect translator codes in an easy to read format.
Code: |
//LMOD EXEC PGM=AMBLIST
//SYSPRINT DD SYSOUT=*
//LMODIN DD DISP=SHR,DSN=load_library
//SYSIN DD *
LISTIDR DDN=LMODIN,MEMBER=?????? |
|
|
Back to top |
|
|
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
AMBLIST is an IBM supplied utility. You can read about it in the z/OS MVS Diagnosis: Tools and Services Aids - Chapter 15 |
|
Back to top |
|
|
|