Analyzing the logrec data set

Information written by recovery routines to the logrec data set is used primarily to monitor incidents—both when retry of a failure is attempted and when percolation to the next recovery routine takes place. To get a dump of the logrec data set, use the IFCEREP0 service aid as described in z/OS MVS Diagnosis: Tools and Service Aids.

IFCEREP0 formats the standard area—the first 404 bytes—of each SDWA into a series of titles, each followed by pertinent data found in the standard area. IFCEREP0 will put the variable area—the last 108 bytes—of each SDWA in an alphanumeric or hexadecimal format, whichever is appropriate.

The VIO recovery modules, IDDWIFRR and IDAVBPR1, put the data in the variable area in alphanumeric format so that the following messages can be constructed.

Module IDAVBPR1 constructs a diagnostic message of the following format:
jobname,VIO,modname,addresses
where:
jobname
Specifies an 8-byte job name from the TIOT.
modname
Specifies the VIO module in control, or last in control, when the error was detected.
addresses
Specifies a list of addresses of the pertinent control blocks that existed at the time of the error. The list supplied depends on the module in control at the time of error. The format and list for each module are as follows:
Module
Format and List
IDAVBPC1
A(DSPC)=a
IDAVBPO1
A(DSPC)=a,A(VOP1)=a
IDAVBPP1
A(DSPC)=a,A(BUFC)=a
IDAVBPS1
A(DSPC)=a
where:
a
is the address of the control block.
DSPC
locates the DSPCT header.
VOP1
locates the VOPEN parameter list passed to module IDAVBPO1.
BUFC
locates the VREADWR parameter list passed to module IDAVBPP1.
Module IDDWIFRR constructs a diagnostic message of the following format:
JOBNAME=jobname,VIO LMOD=IDDWI,function,addresses
where:
jobname
Specifies an 8-byte job name from the TIOT.
function
Specifies a code that indicates which VIO module was in control, or last in control, when the error was detected. If the code is WIEXCP, then module IDDWIAPP, IDDWICPI, or IDDWITRM was in control. If the code is WICLOSE, module IDDWICLS was in control. If the code is WIJOURN, module IDDWLIRN was in control.
addresses
Specifies a list of addresses of the pertinent control blocks that existed at the time of the error. The list supplied depends on the module in control at the time of error. The format and list for each module are as follows:
Module
Format and List
IDDWIAPP
A(IOB)=a,A(VDSCB)=a
IDDWICLS
A(VDSCB)=a
IDDWICPI
A(IOB)=a,A(VDSCB)=a
IDDWIJRN
A(TCB)=a,A(VDSCB)=a
IDDWITRM
A(IOB)=a,A(VDSCB)=a
where:
a
is the address of the control block.
IOB
locates the input/output block.
TCB
locates the task control block.
VDSCB
locates the virtual data set control block.