Recording in the Logrec data set

The system records the entire SDWA (including the fixed length base, the variable length recording area, and the recordable extensions) in the logrec data set under the following circumstances, depending on the type of recovery routine:
  • FRRs

    The system automatically records the SDWA in the logrec data set for the first FRR, unless the FRR specifies RECORD=NO on the SETRP macro. Subsequent FRRs that require recording in the logrec data set must specify RECORD=YES on SETRP.

  • ESTAE-type recovery routines

    The system does not automatically record the SDWA in the logrec data set for any ESTAE-type recovery routines. The mainline routine can request recording through the RECORD parameters on the ESTAE, ESTAEX, and FESTAE macros. The recovery routine can request recording through the RECORD parameter on the SETRP macro.

    The recovery routine can also override whatever the mainline routine requests. If the recovery routine specifies RECORD=YES (or RECORD=NO) on SETRP, the system will (or will not) record the SDWA in the logrec data set, regardless of what the mainline routine specifies on ESTAE, ESTAEX, or FESTAE. The recovery routine can honor what the mainline routine requests by specifying RECORD=IGNORE on SETRP.

    Note: The routine that defines an ESTAI routine or an ARR cannot request recording. ESTAI routines and ARRs can request recording only through the SETRP macro.