The IDENTIFY macro/service is used to match a name
to an address to create an entry point (that entry-point
can later be used on ATTACH for example.)
I'm having some situations where IDENTIFY "sometimes"
works, but sometimes it gives me a return-code of 12
in R15. Return code 12 says:
Entry Address is not within an eligible load module;
entry address was not added.
The address is actually within the load module invoking
the IDENTIFY macro, and that load module was kicked off
with a TSO CALL (which presumably does a LOAD or LINK
to get the program running?)
I say this is "sometimes" - because sometimes it works.. it
seems to depend on changes to the program.
I thought, perhaps, there were some alignment requirements
on the address (since it change when I edit the program.)
But double-word aligning the entry point (and verifying
that the address is actually double-word aligned) didn't
seem to change anything...
I'll keep looking - I imagine it's a "head-slapper" - but I was just
wondering if anyone had bumped into this before.
- Thanks -
- Dave Rivers -
--
[email protected] Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN