The IBM Debug Tool has a load module analyzer feature that I have used to determine which applications modules were compiled with OS/VS COBOL in preparation for migration to Enterprise COBOL V5.1. It will list all compilers used for each CSECT in the module and will also tell you if a program was written in assembler. On our system the JCL I used was in SYS1.DEBUG.SEQASAMP(EQAWLMA). It can also list some compiler options used for these compilers. The JCL lists the available options. This worked for PDS. I don't know if it can handle a PDSE. I would think the latest release would be able to.
Enterprise COBOL COBOL for MVS & VM VS COBOL II Enterprise PL/I z/OS XL C/C++ Disclaimer: This is an opinion of my own and not that of IBM. Thank You, Paul Strauss IBM Global Services z/OS MVS and Program Products Department F2VE 150 Kettletown Rd. Southbury, CT 06488 (203) 272-2758 [email protected] From: Ken MacKenzie <[email protected]> To: [email protected] Date: 02/13/2015 11:35 AM Subject: How to identify program language from program object Sent by: IBM Mainframe Discussion List <[email protected]> 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? 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. ---------------------------------------------------------------------- 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
