IBM Mainframe Discussion List <[email protected]> wrote on 
09/27/2012 07:02:40 PM:

> I have a customer who is having a hard loop trying to get a CML lock.
> 
> The program (SS-PC) is issuing a STORAGE macro (against the primary 
address
> space). At the timer that the job is canceled, the linkage stack shows a
> getmain. Analyze shows that the task is holding the CPU lock and waiting 
on
> the CML lock,. I see no holders,

  I would suggest taking what IPCS ANALYZE says about locks
with several grains of salt for a dump which is not a standalone dump. 
It is not be possible to be suspended for a lock while holding the 
CPU lock.

 I do not understand what you mean by "a hard loop trying 
to get a CML lock."  If a program is looping doing a 
SETLOCK OBTAIN,TYPE=CML,MODE=COND,etc,   that would generally
be a bad idea. 

Jim Mulder   z/OS System Test   IBM Corp.  Poughkeepsie,  NY

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to