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: 10275
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: 7315

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: 1771
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: 187
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: 187
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 Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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