I would recommend using the IBM Debug Tool or COBANAL.  But you could also
use AMBLIST or the PDS HISTORY subcommand.

  Product     Product                          Compiler  Module
  Code        Name                             Signature Prefix

COBOL
  5655-G53    Enterprise COBOL for z/OS V3     5655G5300 IGY,IGZ
  5655-S71    Enterprise COBOL for z/OS V4     5655S7100 IGY,IGZ

Regards,
John K


  5655-S16   Debug Tool Version 8 Release 1.2  Load Module Analyzer
2012/01/12  06:44  Page  1
 EQAIN:
 SELECT MEMBER=GLLOGMOD
  5655-S16   Debug Tool Version 8 Release 1.2  Load Module Analyzer
2012/01/12  06:44  Page  2
           Load Module  TRIDJK.LOAD(GLLOGMOD)
 CSECT     Sg  Offset Len/Ent  Program-ID  Trn-Date    Program-Description
 GLLOGMOD           0    12E1   5655S7100  2010/05/06  Enterprise COBOL for
z/OS and OS/390 Version 4



 COBANAL V1.41 - SUMMARY Report.  Dataset=TRIDJK.LOAD
                 PARM=SYSIN
                     |Translate||--C o m p i l e r  R e l a t e d--| |--L K
E D   O p t i o n s--|
 Program   Language  CICS COBOL  Compiler          LE  DATA RM  RENT AM
LKED ATTRIBUTES           COMPDATE
 --------- --------- ---- ------ ----------------- --- ---- --- ---- ---
------------------------- -----------
 GLLOGMOD  COBOL                 COBOL/ENT V4.1.0  YES  31  ANY NO   31
06.May.2010



Patrick Roehl of the IBM Mainframe Discussion List <[email protected]>
wrote on 01/11/2012 04:24:57 PM:

> Given a load library and a list of member names, I want to be able to
> perform these steps in a batch assembler program:
>
> 1) Load a program load module into storage
> 2) Determine if the program is COBOL or something else (the only other
thing
> it would likely be is assembler)
> 3) If COBOL, access the compile timestamp.  From casual observation this
> appears to be in the form of YYYYMMDDHHSS and prefixed with the
PROGRAM-ID.
>
> I assume a standard LOAD can be used to load the module into storage for
> inspection.  The questions are:
>
> 1) Is there a sure-fire way to determine if the loaded program is COBOL?
> 2) How do I navigate to the COBOL compile timestamp?
>
> The programs only need to be identified as Enterprise COBOL or not.
>
> Thanks for any tips, pointers, and references you can provide.

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

Reply via email to