IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to Find out the COBOL version used in a COBOL program?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Selvamani

New User


Joined: 19 Dec 2006
Posts: 21
Location: California

PostPosted: Fri Jul 20, 2007 3:35 am
Reply with quote

All,

Could anybody tell me how to find out the version of the COBOL used in a COBOL program. I know the compiler list gives the Version used.
But this requires me to compile each and every program to find it out.
Any other easy method please.

Thanks
Selva
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Jul 20, 2007 3:52 am
Reply with quote

Try Gilbert Saint-Flour's website for LOADXREF - Load-Library and Load-Module Analyser which will get you (among other things):
* for each load-module:
o program's member name
o program hash-code (8 hex digits)
o link-edit date (YYYY-MM-DD)
o length (hex)
o RMODE, AMODE
o link options (RENT, REUS)
o dsname
* for each CSECT in each load-module:
o name
o symbol type (CSECT, ENTRY)
o offset (from start of load-module)
o length (hex)
o Rmode/Amode flags
o Reference flags (ERef)
o hash-code (8 hex digits)
o compiler's abbreviated code
o compiler's signature (e.g. 5740CB103)
o compiler's version/modification (e.g. 0201)
o compilation date (YYYY-MM-DD)
o compilation option string (COBOL only)
o user data
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Fri Jul 20, 2007 7:44 pm
Reply with quote

Just look at AMBLIST this will give you what compiler was used,
otherwords the IBM Product ID for each compiler.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top