I think there are codes imbedded in the executable that represent the compiler used.  Offhand I don't know what those are, but if you have IBM File Manager you can use the "Load Module Information" function and it will display it.  For example, "Enterpr.COBOL for z/OS V6R4" is what shows for the module I just looked at.  The function is 3.10.1 of File Manager.
------------------------------
Frank Swarbrick
------------------------------
                                                
					
                                                    
        
                                                
				
                                                
                                                Original Message:
Sent: Mon September 08, 2025 10:44 AM
From: Kristin Rangel
Subject: CICS COBOL Versions
Does anyone know how to run something to determine what level of COBOL a program was compiled against?
------------------------------
Kristin Rangel
Senior Project Manager - Data, Governance & Master Data Management
NJ Courts
Trenton
------------------------------