Abend error recording in the logrec data set

The system diagnostic work area (SDWA) is passed among the various levels of system and user recovery (STAE, ESTAE, and FRR) routines. It is used to pass information among the recovery routines and to collect and record information about the environment in which the error occurred. The O/C/EOV recovery routines put the following information in the SDWA:
Table 1. O/C/EOV Recovery Routine Parameter List
Offset Dec(Hex) Length Name Description
0 (0) 1 RRFUNCTN Identifies which O/C/EOV or DADSM function was in control at the time the error occurred.
  ...1 ..11 RRFOPEN Open.
  ...1 .11. RRFOPENJ Open, Type=J.
  ...1 .1.. RRFCLOS Close.
  ...1 .111 RRFTCLOS Close, Type=T.
  ..11 .111 RRFEOV End-of-Volume.
  ...1 1111 RRFFEOV FEOV.
  .1.. .... RRFRJFCB Read JFCB.
  1... .... RRFDADSM Indicates that one of the following DADSM functions was in control at the time the error occurred.
  1.1. .... RRFALLOC DA space allocation.
  1.11 .111 RRFEXTND Extend.
  1..1 .1.. RRFPRLSE Partial release.
  11.. 111. RRFLSPAC LSPACE.
  1..1 1.11 RRFOBTN Obtain.
  1..1 111. RRFRENAM Rename.
  1..1 11.1 RRFSCRTH Scratch.
1 (1) 1 RRFLAGS1 Identifies the functions that have received control from the O/C/EOV and DADSM modules.
  .1.. .... RRFUSREX User exit routine in control.
  ..1. .... RRFAMEXG Access method executor in control.
  ...1 .... RRFAMEXR Access method executor returned control.
  .... 1... RRFAMSTR Access method executor string (for example, VTAM® or VSAM) in control.
  .... .1.. RRFNSL User's NSL routine given control.
  .... ..1. RRFSMF SMF in control.
  .... ...1 RRFTRACE Trace routine in control.
2 (2) 1 RRFLAGS2 Indicates key functions completed.
  1... .... RRFFIN1 First object module of the function has completed.
  ..1. .... RRFENQPW Enqueue on the PASSWORD data set.
  ...1 .... RRFQMNGR QMNGR component given control.
  .... ..1. RRFPRDET The O/C/EOV problem determination routines have been given control.
  .... ...1 RRFENQUL Enqueue on a user label track.
3 (3) 1 RRFLAGS3 Indicates the type of termination that is in progress.
  .1.. .... RRFNRTCA No SDWA (STAE diagnostic work area, previously called RTCA) was passed.
  ..1. .... RRFINFC Final pass made by the FORCE CLOSE function.
  ...1 .... RRFFCEXC FORCE CLOSE executor in control.
  .... 1... RRFTERM Special termination entry.
4 (4) 4 RR1WRKAR Address of the recovery routine work area.
8 (8) 4 RR1RETRY First-level recovery routine bypass address.
12 (C) 4 RRXRETRY For O/C/EOV, this is the recovery routine executor bypass address.
   

RRUCBPTR

For DADSM, this is the UCB address.
16 (10) 4 RRMLRTRY O/C/EOV retry pointer.
20 (14) 4 RRFWORK Internal communications word.
24 (18) 4 RRFWORK1 Internal communications word.