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
 

 

Find what compiler version was used to compile the program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
ksk

Active User


Joined: 08 Jun 2006
Posts: 356
Location: New York

PostPosted: Wed Jul 20, 2011 12:10 am    Post subject: Find what compiler version was used to compile the program
Reply with quote

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
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Wed Jul 20, 2011 12:13 am    Post subject: Reply to: How to Find Compiler Name
Reply with quote

You can see it from a compilation listing !
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7306

PostPosted: Wed Jul 20, 2011 12:16 am    Post subject: Reply to: How to Find Compiler Name
Reply with quote

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
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 356
Location: New York

PostPosted: Wed Jul 20, 2011 12:19 am    Post subject: Reply to: How to Find Compiler Name
Reply with quote

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
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 356
Location: New York

PostPosted: Wed Jul 20, 2011 12:23 am    Post subject:
Reply with quote

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
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1753
Location: Bloomington, IL

PostPosted: Wed Jul 20, 2011 12:28 am    Post subject:
Reply with quote

I think that this is what you want.
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 356
Location: New York

PostPosted: Wed Jul 20, 2011 12:58 am    Post subject:
Reply with quote

Thanks Akatsukami. This is very useful.
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 183
Location: Toronto, ON, Canada

PostPosted: Wed Jul 20, 2011 1:31 am    Post subject:
Reply with quote

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
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 183
Location: Toronto, ON, Canada

PostPosted: Wed Jul 20, 2011 6:32 pm    Post subject:
Reply with quote

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
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
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Who can recomend or to know a PL1 com... Miguel Fernandez DB2 0 Tue Feb 14, 2017 1:42 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm


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