Despite the name, CBT file 321, COBANAL will scan all the compiler option bits in a load library member and tell you what it found if it knows the version of the compiler. I'm pretty sure it supports a couple of versions of PL/1, so that may get you the answers you need. The SUMMARY DD output will show the compiler version of each load module in a library (if it can figure it out).
It will also identify the compiler and version used for a number of other languages besides PL/1, including COBOL (obviously), C/C++, FORTRAN, RPG, EzTrieve. It's not perfect, but it catches an awful lot. See the SYSPRINT DD output for the compiler option details per member, and the SUMMARY DD output for a one-line overview of what it finds for each member. SYSIN input can be used to specify a list of specific members, or use PARM for a single member or all members. HTH Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Fred Kaptein Sent: Wednesday, June 22, 2016 4:36 PM To: [email protected] Subject: Determine version of a compiled PL/1 module. Hello, We are going through an upgrade of PL/1. The user has asked if there is anyway to determine which version of PL/1 a particular module was compiled under. Does any one know of a sure way? Thank you. -- 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
