OK, this is all leading me to think this can work. Let me add a few details.
The module source and CSECT name are RODENT; the entry points are HAMSTER, MOUSE, and RAT. [No, these are not the actual names!] Nobody ever calls RODENT: they call HAMSTER, MOUSE, or RAT. In batch, the RODENT module (already out there, in use, so that name can't change) is (usually) called dynamically, though it can be statically linked as well. In IDMS, the same code (the three functions share a bunch of code) needs to say "Ah, look, an ICM of the address of the WXTRN is non-zero, so I need to call that function to do some IDMS magick". So if there's a RODENT in BATCHLIB and one in IDMSLIB (and no, of course I'm not going to call the libraries that!), this would Just Work. And it sounds like I can do that, by having two sections in the APPLY stuff, with different SYSLMOD DDs. Correct? ...phsiii ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
