There is no guarantee that status has *ever* been saved for any work unit. Thus it is not predictable whether the data in the IHSA is valid or not.
It's also unlikely that the ASSBIHSA of the lock holder is the right IHSA for the local lock (unless you know that it's the LOCAL lock, not a CML). It's much more likely that it's the ASSBIHSA of the lock itself (since if this is a CML, multiple tasks in "address space A" could each hold a different CML). Issuing a stop and store status to a CPU is not something you are allowed to do under z/OS. As with many things, that is reserved for use by the system. And as with all things, there is nothing that can be done to prevent you from doing it. Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
