CBT file 321, COBANAL, not perfect but definitely finds Enterprise (at least up 
to 4.x as far as I remember) and OS/VS COBOL, COBOL II, even some very old 
COBOL V4.  Also finds FORTRAN versions, some PL/1 versions, some EZTrieve 
versions and of course Assembler.

Full disclosure: I have contributed some small bits to the continuing 
development of COBANAL, but I am not the maintainer.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Ken MacKenzie
Sent: Friday, February 13, 2015 11:36 AM
To: [email protected]
Subject: How to identify program language from program object

In the old days, as far as I remember though I can't prove it, you used to 
be able to look at a load library member, check for a certain string (e.g. 
C2 mm/dd/yy hh:mm:ss) and establish that the module - or even modules had 
been compiled as COBOL II.

Wit the advent of program objects on PDSEs and Enterprise COBOL we don't 
appear to have that luxury.  Does anyone know of any way to identify the 
language type of modules.  We have File-AID at this site and it can 
identify the CSECTs within a module but it doesn't seem to be able to tell 
me what COBOL version was used 

As we prepare to establish Enterprise COBOL 5.1 as the default, I've been 
asked by developers if it is possible to give them a list of what programs 
were compiled with which compiler and given that our "load libraries" are 
now almost 100% PDSE it's proving tricky.

Any thoughts?
--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to