CALL statement implicit program name resolution in COBOL
When a COBOL CALL statement omits an explicit PROGRAM‑ID, the compiler must decide which program name to use for the implicit reference. The language standard does not prescribe this rule, so implementations vary: some compilers resolve the call to the host program’s name, while others use the containing module’s name. In a local development environment the