I just spent an hour trying to figure out why an alternate entry point didn't 
work via an ALIAS binder control statement, before finally realizing it was 
because the main module entry point is assembler (CLASS B_TEXT) and the 
alternate entry I wanted was to IBM Enterprise COBOL for z/OS v6 (CLASS C_CODE).

This is not permitted. Now that I know it, I see the restriction is documented 
in the z/OS MVS Program Management: User's Guide and Reference:

      "Note: If the module contains multiple text classes, all entry points 
must be defined in the same class."

My question is, *why* do all entry points have to be in the same class? I 
thought a directory alias entry is just an offset into the module.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to