The answer to your second question -- untested of course -- is almost certainly yes. Basically, a COBOL program compiled and linked on z/OS Vn will run on any z/OS Vm where m is greater than or equal to n. Could be COBOL II compiled on OS/360 or whatever, and it will almost certainly run on z/OS V2R4.
Going the other direction is somewhat more problematic. I would not assume it would work, absent official assurances from the IBM languages team. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Richards, Robert B. (CTR) Sent: Thursday, August 19, 2021 9:20 AM To: [email protected] Subject: COBOL and LE version question One of my fellow sysprogs has asked me to get an answer to the follow question: Will a load module compiled with COBOL v6.3 and linked with LE v2.4 on z/OS 2.4 operate on z/OS v2.3 with LE v2.3 runtime libraries? Don’t shoot the messenger! 😊 I will, however, also ask the slightly inverse question: Will a load module compiled with COBOL v4.2 and linked with LE v2.3 operate on z/OS v2.4 with LE v2.4 runtime libraries? Bob ---------------------------------------------------------------------- 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
