Skip to main content

Products   >   IBM Systems   >   System z   >   z/OS   >  

APAR II11016

 

Finding the PSW and GPRs in a Language Environment® SYSMDUMP

Language Environment condition handling will often mask the original abend. For program checks (Language Environment messages CEE3201 through CEE3215), Language Environment will save the psw and registers at the time of failure in a control block called the ZMCH. This APAR is being written to help you find the ZMCH. This APAR is specifically written for those running Language Environment in a non-CICS environment, as the control block structure and condition handling changes when running under CICS.

  1. Load sysmdump into IPCS
  2. Issue command "IP SUMM FORMAT"
  3. Issue command "BOTTOM"
  4. Find the TCB with a non-zero completion code. Make sure to write this address down, as you may need it later.
  5. Issue command "F 'TCB: xxxxxxxx' PREV" where the x's represent the address of the failing TCB.
  6. Issue command "F RTM2WA"
  7. Hit pf5 to search again.
  8. Find the value in register 12.
  9. Issue the command "=1" to go into browse mode
  10. Hit enter to accept the defaults
  11. Type an "s" in the PTR field of the first address space listed and hit enter
  12. Issue command "L yyyyyyyy" where the y's represent the value obtained from reg 12

This last step should have led you to the CAA, one of Language Environment's major control blocks. The following steps will take you through verifying that this is a valid CAA. Then you will go through the chain of control blocks to find the ZMCH which will contain the values of the psw and registers at the time of failure.

  1. Verify that this is a valid CAA
    1. The value for the first word should be "xxxx0800" where the x's represent any hex digits.
    2. Issue the command "L X-18', and you should see the eyecatcher "CEECAA"
    3. If this is what you see, issue the command "L X+18" and skip to step 14
    4. Issue the command "L xxxxxxxx" where the x's represent the address of the failing TCB found in step 4.
    5. Issue the command "L X+144?"
    6. Issue the command "L X?+20?"
    7. Verify this is a CAA using steps A & B above.
    8. If this matches the above description, issue the command "L X+18" and continue to step 14.
    9. If you have not found a CAA and are running with Language Environment, you should call IBM service
  2. Issue the command "L X+2D8?" . This should lead you to the CIB which begins with the eyecatcher "CIB".
  3. Issue the command "L X+24?" . This should lead you to the ZMCH which begins with the eyecatcher "ZMCH".

You have now found the ZMCH, so you can begin locating the values you were looking for. They can be found at the following locations:

GPRs 0-15 Offset X'08'
PSW Offset X'48'
FPRs 0-6 Offset X'58'

[ Return toServices ]