How do I capture a SYSMDUMP from an online screen?

Document ID : KB000026289
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

What steps do I need to do in order to capture a SYSMDUMP online from an ISPF session?

Answer:

To capture a SYSMDUMP online, follow the steps below:

  1. Enter the ISPF PARMS option then select ENVIRON, the ISPF ENVIRON Command Settings screen is displayed. The ENVIRON command can also be used to go
    directly to the ENVIRON Command Settings screen.

  2. Enter "/" to select option on the first line to enable an online abend

    / Enable a dump for a subtask abend when not in ISPF TEST mode

  3. Ensure DDNAME field is set to SYSMDUMP.

    DDNAME . . . SYSMDUMP (DDNAME for TERMTRAC ON, ERROR, or DUMP.)

  4. PF3 out.

  5. Allocate a SYSMDUMP dataset.


    The dataset can be pre-defined using ISPF 3.2, making sure the dataset has one of the following attributes:

    DCB=(LRECL=4160,BLKSIZE=see below,RECFM see below)
    RECFM=F,BLKSIZE=4160
    RECFM=FB,BLKSIZE=4160
    RECFM=FBS,BLKSIZE=n*4160 (where n=1,2,3,...),

    and ample space CYLS(250,250)

  6. Access the ISPF COMMAND shell (option 6) and issue the following commands:

    FREE FI(SYSUDUMP)
    FREE FI(SYSABEND)
    FREE FI(SYSMDUMP)
    ALLOC FI(SYSMDUMP) MOD DA('XXXXXX.XXX.SYSMDUMP')

    NOTE: The above DA is the one that has been previously allocated.

    NOTE: In an environment where ABEND-AID is active, add the following command to the list in step 6 above, ahead of the ALLOC for SYSMDUMP:

    ALLOC FI(ABNLIGNR) DUMMY

    This will prevent ABEND-AID from intercepting the dump.

  7. Recreate the abend. When the abend occurs, ENABLE SUBTASK ABEND will appear on the screen along with a READY prompt.

  8. Press ENTER. This will write the abend to the SYSMDUMP DD.
  9. Please terse and upload the SYSMDUMP dataset (in binary) to the ftp directory associated with the support issue.