Re: LINK EP/EPLOC= usage
Thanks Peter ALIAS are all CSECTS I did get it working Thanks you -Original Message- From: IBM Mainframe Discussion List On Behalf Of Peter Relson Sent: Wednesday, April 15, 2020 8:32 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage As all of the responders have made clear, CSECT and ENTRY in the assembler source are not directly relevant. Only NAME and ALIAS (typically via binder control statements) are relevant. CSECT and ENTRY are data that the binder uses to know to which location the ALIAS is to apply. If the ALIAS name is found as a CSECT / ENTRY, then the binder uses that location. If the ALIAS name is not a CSECT / ENTRY, it defaults to using the module entry (as defined or defaulted by the binder). There are limits to the number of aliases the binder will let you create. Then IDENTIFY can add to the mix. There are no practical limits to the number of IDENTIFY's you can go (obviously at some point you run out of storage to hold CDEs). The approach to IDENTIFY a GETMAINed area is not a programming interface. Use at your own risk. Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage
As all of the responders have made clear, CSECT and ENTRY in the assembler source are not directly relevant. Only NAME and ALIAS (typically via binder control statements) are relevant. CSECT and ENTRY are data that the binder uses to know to which location the ALIAS is to apply. If the ALIAS name is found as a CSECT / ENTRY, then the binder uses that location. If the ALIAS name is not a CSECT / ENTRY, it defaults to using the module entry (as defined or defaulted by the binder). There are limits to the number of aliases the binder will let you create. Then IDENTIFY can add to the mix. There are no practical limits to the number of IDENTIFY's you can go (obviously at some point you run out of storage to hold CDEs). The approach to IDENTIFY a GETMAINed area is not a programming interface. Use at your own risk. Peter Relson z/OS Core Technology Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage
It's here https://ia801904.us.archive.org/28/items/bitsavers_ibm360osR21LoaderRel20PLMDec70_11418201/GY28-6714-1_Loader_Rel20_PLM_Dec70.pdf Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: Tuesday, April 14, 2020 6:20 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage Don't see it https://archive.org/download/bitsavers_ibm360osR1LinkageEditorFRel15PLMJan68_13021701/Y28-6667-0_Linkage_Editor_F_Rel15_PLM_Jan68.pdf Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Tuesday, April 14, 2020 4:59 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage Get an old PLM for the Linkage Editor and Loader. In an appendix it documents the parameter list for IDENTIFY that the LOADER uses. But these days I can't imagine an application that didn't require at least above the line. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Tuesday, April 14, 2020 7:52 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage I'd be willing to do it below the line. How do you do it? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Tuesday, April 14, 2020 4:21 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage > 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. How much are you willing to bet? But you probably want to do it above the bar, and there I can't help you. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Tuesday, April 14, 2020 6:52 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage 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:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, April 14, 2020 12:59 PM To: IBM-MAIN@LISTSERV.UA.EDU 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of > Joseph Reichman [reichman...@gmail.com] > Sent: Tuesday, April 14, 2020 7:35 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with
Re: LINK EP/EPLOC= usage
Don't see it https://archive.org/download/bitsavers_ibm360osR1LinkageEditorFRel15PLMJan68_13021701/Y28-6667-0_Linkage_Editor_F_Rel15_PLM_Jan68.pdf Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Tuesday, April 14, 2020 4:59 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage Get an old PLM for the Linkage Editor and Loader. In an appendix it documents the parameter list for IDENTIFY that the LOADER uses. But these days I can't imagine an application that didn't require at least above the line. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Tuesday, April 14, 2020 7:52 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage I'd be willing to do it below the line. How do you do it? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Tuesday, April 14, 2020 4:21 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage > 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. How much are you willing to bet? But you probably want to do it above the bar, and there I can't help you. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Tuesday, April 14, 2020 6:52 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage 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:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, April 14, 2020 12:59 PM To: IBM-MAIN@LISTSERV.UA.EDU 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of > Joseph Reichman [reichman...@gmail.com] > Sent: Tuesday, April 14, 2020 7:35 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send em
Re: LINK EP/EPLOC= usage
Get an old PLM for the Linkage Editor and Loader. In an appendix it documents the parameter list for IDENTIFY that the LOADER uses. But these days I can't imagine an application that didn't require at least above the line. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Tuesday, April 14, 2020 7:52 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage I'd be willing to do it below the line. How do you do it? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Tuesday, April 14, 2020 4:21 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage > 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. How much are you willing to bet? But you probably want to do it above the bar, and there I can't help you. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Tuesday, April 14, 2020 6:52 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage 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:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, April 14, 2020 12:59 PM To: IBM-MAIN@LISTSERV.UA.EDU 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of > Joseph Reichman [reichman...@gmail.com] > Sent: Tuesday, April 14, 2020 7:35 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access i
Re: LINK EP/EPLOC= usage
I'd be willing to do it below the line. How do you do it? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Tuesday, April 14, 2020 4:21 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage > 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. How much are you willing to bet? But you probably want to do it above the bar, and there I can't help you. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Tuesday, April 14, 2020 6:52 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage 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:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, April 14, 2020 12:59 PM To: IBM-MAIN@LISTSERV.UA.EDU 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of > Joseph Reichman [reichman...@gmail.com] > Sent: Tuesday, April 14, 2020 7:35 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage
> 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. How much are you willing to bet? But you probably want to do it above the bar, and there I can't help you. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Tuesday, April 14, 2020 6:52 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage 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:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, April 14, 2020 12:59 PM To: IBM-MAIN@LISTSERV.UA.EDU 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of > Joseph Reichman [reichman...@gmail.com] > Sent: Tuesday, April 14, 2020 7:35 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage
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:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, April 14, 2020 12:59 PM To: IBM-MAIN@LISTSERV.UA.EDU 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of > Joseph Reichman [reichman...@gmail.com] > Sent: Tuesday, April 14, 2020 7:35 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage
Had the entry address 31 bit address and high order bit wasn't on and I just entry statement for BINDER and HLASM -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: Tuesday, April 14, 2020 4:13 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage I'd have to see the relevant HLASM and BINDER statements plus the error message. 0C is Entry address is not within an eligible load module; entry address was not added; what did you specify for ENTRY=? What was the RMODE? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Joseph Reichman [reichman...@gmail.com] Sent: Tuesday, April 14, 2020 3:59 PM To: IBM-MAIN@LISTSERV.UA.EDU 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on > behalf of Joseph Reichman [reichman...@gmail.com] > Sent: Tuesday, April 14, 2020 7:35 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage
I'd have to see the relevant HLASM and BINDER statements plus the error message. 0C is Entry address is not within an eligible load module; entry address was not added; what did you specify for ENTRY=? What was the RMODE? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Joseph Reichman [reichman...@gmail.com] Sent: Tuesday, April 14, 2020 3:59 PM To: IBM-MAIN@LISTSERV.UA.EDU 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of > Joseph Reichman [reichman...@gmail.com] > Sent: Tuesday, April 14, 2020 7:35 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of > Joseph Reichman [reichman...@gmail.com] > Sent: Tuesday, April 14, 2020 7:35 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage
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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Joseph Reichman [reichman...@gmail.com] Sent: Tuesday, April 14, 2020 7:35 AM To: IBM-MAIN@LISTSERV.UA.EDU 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage got abend 806
I think the binder statement is ALIAS. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, April 14, 2020 8:39 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage got abend 806 Are you referring to the binder option or Statement On Apr 14, 2020, at 11:28 AM, Charles Mills wrote: > > Did you have an alias in a STEPLIB or the like? CSV cannot know what was in > your assembly and bind but not externalized in a STEPLIB PDS. > > Charles > > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Joseph Reichman > Sent: Tuesday, April 14, 2020 7:26 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: LINK EP/EPLOC= usage got abend 806 > > I had both an assembler entry and a binder entry and got program not found > >> On Apr 14, 2020, at 9:39 AM, Charles Mills wrote: >> >> 1.. Can certainly be any type of entry point: CSECT, ENTRY, IDENTIFY, etc. >> It >> has to be "visible" to MVS contents management: a PDS member name, a PDS >> member alias, IDENTIFY issued by a running program, etc. >> >> 2. There probably is a limit, but it is certainly in the double digits or >> higher. The assembler and binder manuals presumably tell you. >> >> Charles >> >> >> -Original Message- >> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On >> Behalf Of Joseph Reichman >> Sent: Tuesday, April 14, 2020 4:36 AM >> To: IBM-MAIN@LISTSERV.UA.EDU >> 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN >> >> -- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage got abend 806
Are you referring to the binder option or Statement On Apr 14, 2020, at 11:28 AM, Charles Mills wrote: > > Did you have an alias in a STEPLIB or the like? CSV cannot know what was in > your assembly and bind but not externalized in a STEPLIB PDS. > > Charles > > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Joseph Reichman > Sent: Tuesday, April 14, 2020 7:26 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: LINK EP/EPLOC= usage got abend 806 > > I had both an assembler entry and a binder entry and got program not found > >> On Apr 14, 2020, at 9:39 AM, Charles Mills wrote: >> >> 1.. Can certainly be any type of entry point: CSECT, ENTRY, IDENTIFY, etc. >> It >> has to be "visible" to MVS contents management: a PDS member name, a PDS >> member alias, IDENTIFY issued by a running program, etc. >> >> 2. There probably is a limit, but it is certainly in the double digits or >> higher. The assembler and binder manuals presumably tell you. >> >> Charles >> >> >> -Original Message- >> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On >> Behalf Of Joseph Reichman >> Sent: Tuesday, April 14, 2020 4:36 AM >> To: IBM-MAIN@LISTSERV.UA.EDU >> 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN >> >> -- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage got abend 806
Did you have an alias in a STEPLIB or the like? CSV cannot know what was in your assembly and bind but not externalized in a STEPLIB PDS. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, April 14, 2020 7:26 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LINK EP/EPLOC= usage got abend 806 I had both an assembler entry and a binder entry and got program not found On Apr 14, 2020, at 9:39 AM, Charles Mills wrote: > > 1.. Can certainly be any type of entry point: CSECT, ENTRY, IDENTIFY, etc. It > has to be "visible" to MVS contents management: a PDS member name, a PDS > member alias, IDENTIFY issued by a running program, etc. > > 2. There probably is a limit, but it is certainly in the double digits or > higher. The assembler and binder manuals presumably tell you. > > Charles > > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Joseph Reichman > Sent: Tuesday, April 14, 2020 4:36 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage got abend 806
I had both an assembler entry and a binder entry and got program not found On Apr 14, 2020, at 9:39 AM, Charles Mills wrote: > > 1.. Can certainly be any type of entry point: CSECT, ENTRY, IDENTIFY, etc. It > has to be "visible" to MVS contents management: a PDS member name, a PDS > member alias, IDENTIFY issued by a running program, etc. > > 2. There probably is a limit, but it is certainly in the double digits or > higher. The assembler and binder manuals presumably tell you. > > Charles > > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Joseph Reichman > Sent: Tuesday, April 14, 2020 4:36 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage
Thanks On Apr 14, 2020, at 9:39 AM, Charles Mills wrote: > > 1.. Can certainly be any type of entry point: CSECT, ENTRY, IDENTIFY, etc. It > has to be "visible" to MVS contents management: a PDS member name, a PDS > member alias, IDENTIFY issued by a running program, etc. > > 2. There probably is a limit, but it is certainly in the double digits or > higher. The assembler and binder manuals presumably tell you. > > Charles > > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Joseph Reichman > Sent: Tuesday, April 14, 2020 4:36 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LINK EP/EPLOC= usage
1.. Can certainly be any type of entry point: CSECT, ENTRY, IDENTIFY, etc. It has to be "visible" to MVS contents management: a PDS member name, a PDS member alias, IDENTIFY issued by a running program, etc. 2. There probably is a limit, but it is certainly in the double digits or higher. The assembler and binder manuals presumably tell you. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, April 14, 2020 4:36 AM To: IBM-MAIN@LISTSERV.UA.EDU 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN