Re: local lockword in ASCB

2018-04-18 Thread michael . tai
When SRB suspend due to unavailable LOCAL lock
When task suspend due to unavailable CML lock
When SRB suspend due to unavailable CML lock


In the above cases, are they all queued to ASCBLSWQ?
Then what's the other 3 queue used for?
(ASCBLLWQ, ASCBLTCB, ASCBLTCS)


--
Regards,
 Michael Tai
  


 




-- Original --
From:  "Jim Mulder"<d10j...@us.ibm.com>;
Date:  Sun, Apr 15, 2018 01:13 AM
To:  "IBM-MAIN"<IBM-MAIN@LISTSERV.UA.EDU>;

Subject:  local lockword in ASCB



  Unless you are looking at a standalone dump, you should
not expect these things to be consistent.

Jim Mulder z/OS Diagnosis, Design, Development, Test  IBM Corp. 
Poughkeepsie NY

I have a question about the local lockword


ST WORKSHEET


NAMEOFFSET |  CPU 0028
PSA
TOLD  CURR TCB21C  |  
AOLD  CURR ASCB   224  |  00F48E80

LOCAL LOCAL LOCK  2EC  |  00F60E80
CLHS  LOCKS HELD  2F8  |  0001


The low order bit of CLHS is '1' which indicate the local lock is held by 
the logical processor 0028
PSALOCAL is equal to an ASCB 00F60E80, which means it's a CML lock in ASCB 
00F60E80.
I try to locate the lockword for this CML lock in ASCB 00F60E80


CBF 00F60E80 STR(ASCB)


ASCB: 00F60E80

   +0078 LLWQ.  RCTP. 008FD520  LOCK.  


Shouldn't the lockword for local suspend lock be 004n , n=logical 
processor number holding the lock.
Why ASCBLOCK is all zeros?  All zeros means the local lock for that 
address space is still available.

--
Regards,
 Michael Tai



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


local lockword in ASCB

2018-04-14 Thread Jim Mulder
  Unless you are looking at a standalone dump, you should
not expect these things to be consistent.

Jim Mulder z/OS Diagnosis, Design, Development, Test  IBM Corp. 
Poughkeepsie NY

I have a question about the local lockword


ST WORKSHEET


NAMEOFFSET |  CPU 0028
PSA
TOLD  CURR TCB21C  |  
AOLD  CURR ASCB   224  |  00F48E80

LOCAL LOCAL LOCK  2EC  |  00F60E80
CLHS  LOCKS HELD  2F8  |  0001


The low order bit of CLHS is '1' which indicate the local lock is held by 
the logical processor 0028
PSALOCAL is equal to an ASCB 00F60E80, which means it's a CML lock in ASCB 
00F60E80.
I try to locate the lockword for this CML lock in ASCB 00F60E80


CBF 00F60E80 STR(ASCB)


ASCB: 00F60E80

   +0078 LLWQ.  RCTP. 008FD520  LOCK.  


Shouldn't the lockword for local suspend lock be 004n , n=logical 
processor number holding the lock.
Why ASCBLOCK is all zeros?  All zeros means the local lock for that 
address space is still available.

--
Regards,
 Michael Tai



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


local lockword in ASCB

2018-04-14 Thread michael . tai
Hi,


I have a question about the local lockword


ST WORKSHEET


NAMEOFFSET |  CPU 0028
PSA
TOLD  CURR TCB21C  |  
AOLD  CURR ASCB   224  |  00F48E80

LOCAL LOCAL LOCK  2EC  |  00F60E80
CLHS  LOCKS HELD  2F8  |  0001


The low order bit of CLHS is '1' which indicate the local lock is held by the 
logical processor 0028
PSALOCAL is equal to an ASCB 00F60E80, which means it's a CML lock in ASCB 
00F60E80.
I try to locate the lockword for this CML lock in ASCB 00F60E80


CBF 00F60E80 STR(ASCB)


ASCB: 00F60E80

   +0078 LLWQ.  RCTP. 008FD520  LOCK.  


Shouldn't the lockword for local suspend lock be 004n , n=logical processor 
number holding the lock.
Why ASCBLOCK is all zeros?  All zeros means the local lock for that address 
space is still available.



--
Regards,
 Michael Tai

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN