Two questions 

1)  Case 2 you say the prb before the first SVRB you are assuming there is a
SVRB (the program issued a SVC)

2) When the registers are save in the TCB psw to get that task going again
is in PSAPSWSV     - PSW SAVE AREA FOR



 

 


 DISPATCHER AND ACR
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Blaicher, Christopher Y.
Sent: Saturday, November 03, 2012 10:44 PM
To: [email protected]
Subject: Re: Most Current register values

Complicated, but I'll give it a shot.

Case 1: Cancel of a waited task.
        Indication is the first PRB has a WLIC of 01020001 and the PSW-2
points at a X'0A01'
        Registers are in the TCB

Case 2: Cancel of a looping task.
        The PRB before the first SVRB has the PSW at the time of the cancel
        Registers are in the SVRB

Of course the best place to find this type of information is in the RTM2WA.
That has the PSW and the registers at the time of the failure.

Chris Blaicher
Senior Software Engineer, Software Services Syncsort Incorporated
50 Tice Boulevard, Woodcliff Lake, NJ 07677
P: 201-930-8260  |  M: 512-627-3803
E: [email protected]


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Micheal Butz
Sent: Saturday, November 03, 2012 8:50 PM
To: [email protected]
Subject: Most Current register values



Hi,



I have posted this question a while ago but still don't have a  clear
picture when a  program is canceled



What is the most current register values   TCBGRS or RBREGS



I Know it depends where the code is executing for example if it executing a
in SVC outside of type 1 then it's in the RBREGS

The PSW would be saved in  RBOPSW





If a program is cancelled because it was looping I am guessing the most
current would be TCBGRS



The makes me wonder where the most current PSW would be



Another way of asking this when a TCB time slice is up where are the
registers and PSW saved



Thanks


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



ATTENTION: -----

The information contained in this message (including any files transmitted
with this message) may contain proprietary, trade secret or other
confidential and/or legally privileged information. Any pricing information
contained in this message or in any files transmitted with this message is
always confidential and cannot be shared with any third parties without
prior written approval from Syncsort. This message is intended to be read
only by the individual or entity to whom it is addressed or by their
designee. If the reader of this message is not the intended recipient, you
are on notice that any use, disclosure, copying or distribution of this
message, in any form, is strictly prohibited. If you have received this
message in error, please immediately notify the sender and/or Syncsort and
destroy all copies of this message in your possession, custody or control.

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

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

Reply via email to