PM78031: ABEND0C4 IN DFSYCMD0 IN SUBROUTINE CMD_YCM20 DUE TO AN INVALID POINTER IN MSGPRE_PTR.

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

Closed as program error.

Error description

Abend0c4 in DFSYCMD0 at offset x'DCC' because Register 6 has
an invalid address. The code is expectiong Reg 6 to contain
the OTMA prefix address. In subroutine Init_PRE the code
obtained a temporary prefix address and saved the pointer to
the temporary address in MSGPRE_Ptr. At the end of the
subroutine, the storage was released by the pointer was not
cleared. When the pointer is used again the abend can happen.

Local fix

Problem summary

****************************************************************
* USERS AFFECTED: All IMS V11 OTMA users issuing IMS commands *
* via Commit-then-Send (CM0) protocol. *
****************************************************************
* PROBLEM DESCRIPTION: ABEND0C4 in DFSYCMD0 due to an invalid *
* message prefix pointer (MSGPRE_PTR). *
****************************************************************
* RECOMMENDATION: INSTALL CORRECTIVE SERVICE FOR APAR/PTF *
****************************************************************
When an IMS command is issued from an OTMA client using CM0
protocol, DFSYCMD0 gets a temporary block of storage to use as
the YQAB message prefix for an insert call to the QMGR, and
stores the address in MSGPRE_PTR. After the QMGR insert call,
the storage is released. However, MSGPRE_PTR is not restored
with the prefix address that is pointed to by YTIB_PREFIX_PTR,
which can lead to an ABEND0C4.

Problem conclusion

GEN:
KEYWORDS:
*** END IMS KEYWORDS ***
DFSYCMD0 was modified to restore the message prefix pointer
after the temporary storage is released.