 |
|
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.
- Load sysmdump into IPCS
- Issue command "IP SUMM FORMAT"
- Issue command "BOTTOM"
- Find the TCB with a non-zero completion code. Make sure to
write this address down, as you may need it later.
- Issue command "F 'TCB: xxxxxxxx' PREV" where the x's represent
the address of the failing TCB.
- Issue command "F RTM2WA"
- Hit pf5 to search again.
- Find the value in register 12.
- Issue the command "=1" to go into browse mode
- Hit enter to accept the defaults
- Type an "s" in the PTR field of the first address space listed
and hit enter
- 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.
- Verify that this is a valid CAA
- The value for the first word should be "xxxx0800" where the x's
represent any hex digits.
- Issue the command "L X-18', and you should see the eyecatcher
"CEECAA"
- If this is what you see, issue the command "L X+18" and skip to
step 14
- Issue the command "L xxxxxxxx" where the x's represent the
address of the failing TCB found in step 4.
- Issue the command "L X+144?"
- Issue the command "L X?+20?"
- Verify this is a CAA using steps A & B above.
- If this matches the above description, issue the command "L
X+18" and continue to step 14.
- If you have not found a CAA and are running with Language
Environment, you should call IBM service
- Issue the command "L X+2D8?" . This should lead you to the CIB
which begins with the eyecatcher "CIB".
- 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' |
|