The below is from a problem dump:
15.44.58 STC04344 SARVETX1 SARVTAM2_XP1G0000_VT TASK ABENDED S0C4 CPU= 0.00 LOGON=2021/004 15:44:46
15.45.00 STC04344 SARVDRV1 SARVTAM2_XP1G0000_VT TERMINAL CONNECTED
15.45.01 STC04344 SARATH93 ** VTAM ** TSOFT Logon Complete
15.46.40 STC04344 SARATH94 ** VTAM ** TSOFT Logoff Complete
15.46.40 STC04344 SARVSTA1 SARVTAM2_XP1G0000_VT Recovery-S0C4
15.46.40 STC04344 EBCOCMD1 --> DUMP CONID='SARVTAM2_XP1G0000_VT' (Dump non task data, EBCVTSTA)
15.46.40 STC04344 EBCODMP1 EBCOPDMP 12.2 02/13/14 16.12 STARTED-DUMP
15.46.40 STC04344 EBCODMP9 EBCOPDMP 12.2 02/13/14 16.12 ENDED
15.46.44 STC04344 CAPE022I SARXMS2P SARXMS2P ABENDED S0C4 IN PROGRAM UNKWN1 AT OFFSET +03F22E.
15.46.44 STC04344 SEND 'CAPE022I SARXMS2P SARXMS2P ABENDED S0C4 IN PROGRAM UNKWN1 AT OFFSET +03F22E.
USER=(SARVTAM)
15.46.44 STC04344 IEA995I SYMPTOM DUMP OUTPUT 288
288 SYSTEM COMPLETION CODE=0C4 REASON CODE=00000011
288 TIME=15.46.40 SEQ=37636 CPU=0000 ASID=0170
288 PSW AT TIME OF ERROR 078D2000 9E03F22E ILC 6 INTC 11
288 ACTIVE MODULE ADDRESS=00000000_1E03E000 OFFSET=0000122E
288 NAME=RMOGAM
288 DATA AT PSW 1E03F228 - C0604111 2004D21F 10003008
288 AR/GR 0: 7F552D30/00000000 1: 00000000/1F614FE4
288 2: 00000000/1F60E000 3: 00000000/1E139C68
288 4: 00000000/9E045F52 5: 00000000/1E0D8BF0
288 6: 00000000/1E0D9DEC 7: 00000000/9E0D9DF0
288 8: 00000000/1E0D8BF0 9: 00000000/1E0FDE38
288 A: 00000000/0000F098 B: 00000000/1E0469F0
288 C: 00000000/1E03F1F0 D: 00000000/1E0DDD58
288 E: 00000000/9E04651E F: 01000002/1E03F1F0
288 END OF SYMPTOM DUMP
15.46.44 STC04344 SARVETX1 SARVTAM2_XP1G0000_VT TASK ABENDED S0C4 CPU= 0.00 LOGON=2021/004 15:45
What is causing the above abend?
Release : View 12.2
The problem occurred because there was a Deliver Distribution ID of ALLPAGES that referenced over 525,000 reports, and each time the ALLPAGES ID was used in EXP mode, and a Report ID of * was used, the S0C4 error would occur.
Rather than apply the below fix, the customer thought it better that there should be a cleanup of their Deliver databases, so that there would not be the ability to reference that number of reports.
Once the cleanup of the Deliver databases occurred, the S0C4 problem no longer occurred.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Nonetheless, Deliver 12.2 fix ST16080 was created to resolve the problem:
APAR #: ST16080
Product: DLVR Release: 12.2 Solution #: 39 Type: T
OS: OS Group: OMXCOM GBL SUP 1
Title: S0C4 ABEND IN VIEW WHEN DISTID REFERENCES LARGE REPORT LIST
************* VERSION 0 OPEN, UPDATED JAN 05 2021 13:46 *****************
PROBLEM DESCRIPTION:
S0C4 abend in RMOGAM module when View online user performs primary selection
in EXP mode and user's distid references 524,288 or more reports in the
Deliver database.
SYMPTOMS:
S0C4 abend after pressing enter key on View Primary Selection Menu in EXP
mode.
IMPACT:
User is unable to display list of reports in View in EXP mode.