z/OS DFSMStvs Administration Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example of a DD statement requesting trace

z/OS DFSMStvs Administration Guide
GC52-1388-00

//KSDS01 DD DSN=VSAM.DATA.SET,DISP=SHR,
//     AMP=('TRACE=(PARM1=F00203000010',
//     'HOOK=(1,5),KEY=C1C2C3C4F7F8,PARM2=F123456789AB)')
The TRACE= on this DD statement activates the R/M trace for VSAM.DATA.SET. The R/M trace records are written out when the following conditions are met:
  1. The record being processed has a key that begins with the character string ABCD78 as specified by KEY=C1C2C3C4F7F8.
  2. Record management returns to the caller (HOOK 1) or returns from a call to EOV (HOOK 5) as specified by HOOK=(1,5).

When these conditions are met, R/M trace writes to GTF the following data as requested by PARM1: ABP, ACB, AMB, AMBL, EDB, LPMB, and PLH The 10 in byte 5 of PARM1 requests the ABP, ACB, AMBL, EDB, LPMB be traced only on the first call to R/M trace. PARM2 has no effect on tracing because PARM1, byte 5 bit 5 (trace AIX, PATH, or UPGRADE processing) was not specified.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014