On Wed, 27 Nov 2013 20:14:32 -0800, Phil Smith wrote:
>Paul Gilmartin wrote:
>> >> The names must be different. E.g. NAME RODENTB(R) and NAME RODENTI(R).
>>>Hm. Even if they're in different libraries? Why? I suppose it doesn't
>>>matter, since RODENT is never getting called. Ah, maybe that's what you
>>>meant above?
>
>>Because that name also identifies the LMOD entry in the target zone, and you
>>need two different ones, with the WXTRN resolved/unresolved, respectively.
>
>OK, so this is where I came in - I *thought* I couldn't have two things with
>the same name.
>
I have been corrected here (several times) that you can have two "things" with
the same name as long as they have different types. But in this case, they'd
both have type LMOD, so it's not allowed.
>But as you pointed out, I can call it by a different name, which has the added
>benefit of making externally visible which is which (in case someone confuses
>the load libraries).
>
It would be great if this chicanery could be documented with comments
that would appear in the output of a LIST command. Alas:
Title: SMP/E V3R6.0 for z/OS V1R13.0 Reference
Document Number: SA22-7772-16
5.15 LMOD entry (distribution and target zone)
LKED CONTROL
contains all the link-edit control cards necessary to relink-edit this load
module.
...
Comment statements are ignored and are not saved in the LMOD entry.
(Any link-edit control statement with an asterisk in column 1 is
considered
a comment statement.)
Boooo! Hiss! Why!?
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN