Shmuel wrote: <begin extract> INCLUDE specifies the name of a member, not the name of a CSECT, and you nost certainly can have two members of a library containing the same CSECT name. The OP needs to disclose more data in order to diagnose his problem. <end extract>
and he is of course quite right. It is occasionally convenient to have two differently named object modules for two different versions of the same CSECT, RSECT, or the like in a PDS[E], but this scheme should really only be used by very knowledgable and experienced people; and even for them there are better, more robust ways to do such things. If, as I suspect, the OP is trying to replace an entry point and its associated code that does NOT correspond to a separate CSECT, he can do that too. The binder's inclusion unit is indeed a CSECT, RSECT, or the like; but it can resolve external references in one of them to one of N others. As Shmuel says, we need to know more. John Gilmore, Ashland, MA 01721 - USA ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
