I've put together a process driven by REXX.  It calls AMBLIST and then 
processes AMBLIST's report - done this way for quickness, I may 
investigate doing it via assembler and reading the IDR data directly at a 
later stage.

It examines the product-code, where available, and adds a description to 
the report based on the data here: 
http://gsf-soft.com/Documents/PRODCODES.html

This lists all CSECTs making up a program object and will allow our 
developers to identify any old stuff that may not work with the latest and 
greatest compiler together with its compile date and time.

So, for example, you might get:

                .
                .
CSECT:    ABCDE  
          5655S7100     41    00    03/10/2011                 Enterprise 
COBOL for z/OS V4 
CSECT:    ZYXWV  
          5648A2500     22    01    06/14/2005                 COBOL for 
OS/390 and VM V2 
                .
                .

What the developers do with their new found information is up to them.


Ken MacKenzie 
Pramerica Systems Ireland Limited 
is a private company limited by shares 
incorporated and registered in the Republic of Ireland with registered 
number 319900 
and registered office at 6th Floor, South Bank House, Barrow Street, 
Dublin 4, Ireland. 




From:   Paul Gilmartin <[email protected]>
To:     [email protected], 
Date:   16/02/2015 15:25
Subject:        Re: How to identify program language from program object
Sent by:        IBM Mainframe Discussion List <[email protected]>



On Mon, 16 Feb 2015 10:16:10 -0500, Shmuel Metz (Seymour J.) wrote:
>
>I'm not sure what Sri h Kolusu meant by "signature bytes"[1], but
>program objects contain IDR data, which include the compiler version.
>I don't know of an ISPF panel to display those, but it wouldn't be
>hard to slap together a RYO dialog.
>
>[1] My first guess was eye catchers, but those are associated with
>    individual csects rather than the entire load module.
> 
Of course a program object may contain CSECTs from a mixture of
program languages.  I don't know what answer the OP wants in that
case.

-- gil

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


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

Reply via email to