Roger Bowler found out (almost 20 years ago):
The compiler generates an END statement with ZYQENT as "entry point". Under Z/OS this requires that the input to the linkage editor needs to have a CSECT of this name, and, in for the loader, ine has to specify EP=ZYQENT.
The LKED problem can be circumvented by concatenating an INCLUDE SYSLIB(ZYQENT) + an ENTRY ZYQENT.
Roger Bowler found out (almost 20 years ago): The compiler generates an END statement with ZYQENT as "entry point". Under Z/OS this requires that the input to the linkage editor needs to have a CSECT of this name, and, in for the loader, ine has to specify EP=ZYQENT.
The LKED problem can be circumvented by concatenating an INCLUDE SYSLIB(ZYQENT) + an ENTRY ZYQENT.