Why not use the DB2 Addresses Spaces like DSNMSTR and DSNIRLM?  I am not
sure the DSNDBM1 (Data Base Management) ASID would be issuing the STCK for
SELECT.  Perhaps the DSNMSTR would be more likely?

Of course I am unclear what your final requirement for this trap is.  Are
you looking for those that do a SELECT CURRENET TIMESTAMP or is there
another reason for the trap.  I am sure we can come up with alternative
methods like GTF for tracking a process.

Lizette


> 
> I'm trying to trap DB2's processing of a SELECT CURRENT TIMESTAMP request.
> This request goes through DB2's DSNDBM1 region. The STCK instruction which
> retrieves the current timestamp is located in DB2 load module DSNXGRDS, in
> CSECT DSNXVCTS.
> 
> I did an AMBLIST to locate the offset of CSECT DSNXVCTS within module
> DSNXGRDS.
> 
> I executed the SELECT CURRENT TIMESTAMP command using QMF under
> TSO/ISPF.
> 
> Here's the SLIP I set, as displayed on console:
> 
> ID=DB2A,PER-IF,ENABLED(INACTIVE)
> ACTION=SYNCSVCD,SET BY CONS USERJLE,PRCNTLIM=10,00
> MATCHLIM=1,0,PVTMOD=DSNXGRDS,00B02000,00B02180,MODE=ANY,ALL
> ASID=0047,0052
> SDATA=SQA,LSQA,RGN,LPA,CSA,SWA,SUMDUMP
> 
> The ASID's listed are my TSO user's and the DSNDBM1 address space's,
> respectively.
> 
> I'm here because nothing was trapped. Any ideas why?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to