If the IDENTIFY failed then it is a cinch that LINK won't find it! You know the entry point has to be within an existing load module? You *cannot* do (what would be a very useful thing) a GETMAIN, build or copy some code into it, and then IDENTIFY it with an entrypoint.
MVS internally has some trick whereby it does that but you and I cannot. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Joseph Reichman Sent: Tuesday, April 14, 2020 12:59 PM To: [email protected] Subject: Re: LINK EP/EPLOC= usage I have a number of CSECTS in the load module I added an assembler entry and binder entry it failed after adding a binder alias it worked I did try the identify before I re-linked with binder alias however I got a x’c’ return code from identify On Apr 14, 2020, at 3:54 PM, Seymour J Metz <[email protected]> wrote: > > 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 ---------------------------------------------------------------------- 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
