Process to capture a SYSMDUMP from an online ISPF screen / session.
search cancel

Process to capture a SYSMDUMP from an online ISPF screen / session.

book

Article ID: 26289

calendar_today

Updated On:

Products

RC Compare for DB2 for z/OS Bind Analyzer for DB2 for z/OS SQL-Ease for DB2 for z/OS SYSVIEW Performance Management Option for DB2 for z/OS Plan Analyzer for DB2 for z/OS Subsystem Analyzer for DB2 for z/OS Database Analyzer for DB2 for z/OS Fast Unload for DB2 for z/OS Fast Check for DB2 for z/OS Fast Index for DB2 for z/OS Rapid Reorg for DB2 for z/OS Database Management for DB2 for z/OS - Administration Suite Database Management for DB2 for z/OS - Performance Suite Database Management for DB2 for z/OS - Recovery Suite Database Management for DB2 for z/OS - SQL Performance Suite Database Management for DB2 for z/OS - Utilities Suite

Issue/Introduction

What are the required steps to capture a SYSMDUMP online from an ISPF session?

Resolution

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. Other "debugging tool" products may also need to be disabled. Replace ABNLIGNR with the appropriate DD name from KD Article 36585: Disable "debugging tools" to get full SYSMDUMP

  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. Terse and upload the SYSMDUMP dataset (in binary) to the ftp directory associated with the support issue