>         I've been trying to get a slip trap to fire in a pair of 
> STCs where STC1 PCs into STC2 and does some work, which I want to 
> take an Instruction Fetch slip on.
> 
> My basic slip trap is "SLIP SET,IF,ID=RJM1,ACTION=SVCD,PVTMOD=
> (module,offset,offset),END".
> 
> I've tried adding the home stcname as a JOBNAME, the primary STCname
> as a JOBNAME, I've tried no jobname, I've tried MODE=ALL, no mode 
> statement, and most combinations of these. Whatever combination I 
> try doesn't fire. 
> 
> I'm pretty sure I have the incantation wrong but don't know what to try.
> 
> I'm fairly sure my offset is correct and it is being used because if
> I zap the offset to be zeros I get a fine dump of both ASIDs
> 
> What am I doing wrong? Can someone show me a cross memory IF 
> sliptrap that works?

  Also specify the ASID of STC2 via the ASID parameter,
e.g. 

SLIP SET,IF,ID=RJM1,ACTION=SVCD,ASID=(asid-of-STC2),
PVTMOD=(module,offset,offset),END


  In some parts of MVS (like IPCS, or the DUMP
command), ASID and JOBNAME can be two different
ways to specify the same thing.  This is not the 
case with the SLIP command.  ASID and JOBNAME 
do different things for SLIP, especially when
cross-memory is involved.  My way of thinking
about it is that JOBNAME filters based on the
Home address space, and ASID filters based on
the address space from which instructions are 
being fetched (which is the Primary address
space).

  With respect to PVTMOD, the manual says:

"Private area modules can reside (starting at 
different addresses) in several address spaces. 
To resolve the range of addresses to be monitored
for PVTMOD to a particular address space, use
either the JOBNAME parameter with MODE=HOME or 
the ASID parameter. If neither parameter is 
specified and the module is loaded into 
several address spaces, the system might 
resolve the PER range to any one of those 
address spaces."

  Since you are trying to trap
the fetch of an instruction in STC2 when
STC1 is Home, you cannot use MODE=HOME, so
ASID is your only choice.



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