I'm putting this in terms of load modules; things are similar but more complicated for program objects.
Normally your main program has an assembler ENTRY statement that determines the entry point for the true name, and an ALIAS statement matching an ENTRY or CSECT name generates an alias entry with that name and entry point. You can override the entry point with a link editor ENTRY statement. Yes, if you load a module then you can add a named entry point with IDENTIFY and then do, e.g., LINK, to that name. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Joseph Reichman [[email protected]] Sent: Tuesday, April 14, 2020 7:35 AM To: [email protected] Subject: LINK EP/EPLOC= usage Hi I am wondering regarding the link macro what defines an entry point is it only the main entry point i.e the CSECT Name or can it be defined by an Assembler or for that matter Linkage editor ENTRY statement. I am also understanding that you can make an entry point for Link to be satisfied dynamically via IDENTIFY Lastly if entry point is not only the main CSECT name is there any limit on the number of entry points in a load module Thanks ---------------------------------------------------------------------- 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
