I have not tried the exact combination of SRC and MAC with the same name but as far back as 1995 (MVS/ESA 4.3) I have used various DATAx with the same name as a MAC, SRC, PROC, SAMP, etc with no apparent conflict.
In any event, the ++LMOD control statement supports up to two DD names in the SYSLIB operand. Between that and ++JCLIN control cards, you should have no trouble generating the two versions you want. :>: -----Original Message----- :>: From: IBM Mainframe Discussion List [mailto:[email protected]] On :>: Behalf Of Phil Smith :>: Sent: Tuesday, November 26, 2013 10:39 AM :>: To: [email protected] :>: Subject: SMP/E question :>: :>: I have a load module that contains a WXTRN reference. If the WXTRN :>: resolves, it gets called to do specialized processing in some :>: specialized environments; the goal was to maximize code reuse. :>: :>: So here's the question. It will reveal (once again) how weak my SMP/E :>: knowledge is, so prepare to be entertained but please be gentle! :>: :>: I need to generate both versions of the load module via SMP/E. Will that :>: work? So the APPLY step needs to point to a different SYSLMOD DD for :>: that second link, I assume, but are there other "gotchas" here? ISTR :>: being surprised that I couldn't have BANANA (assembler source deck :>: member) and BANANA (macro) in the same SMP/E, um, thingy (CSI?), even :>: though they were in different libraries. But since this is output, not :>: input, I'm hoping it's possible. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
