c62ap90 wrote:COBOL and PL1 are different languages so you cannot mix COBOL statements with PL1 and you cannot mix PL1 statements with COBOL statements. You can however run an application (job stream) with both COBOL and PL1 since they both are compiled to a executable load.
I'd note that you cannot include COBOL and PL/I code in the same source
module, as a single module must compile under a single compiler*. However, a COBOL routine may call a PL/I routine, and vice versa, in the same load
* -- Almost always. I did once see a source module that would compile under both C and FORTRAN; it was an entry in the Obfuscated C Contest
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day