The sample programs and copy books, The program error program 410 – IBM SC33-1683-02 User Manual

Page 442

Advertising
background image

The sample programs and copy books

Two source-level versions of the default program are provided: DFHPEP, coded in
assembler language, and DFHPEPD, coded in C. Both are in the
CICSTS13.CICS.SDFHSAMP library. There is an assembler-language macro,
DFHPCOM, and a corresponding C copy book, DFHPCOMD, that you can use to
define the communication area. These are found in the CICSTS13.CICS.SDFHMAC
and CICSTS13.CICS.SDFHC370 libraries, respectively.

You can code your program error program in any of the languages supported by
CICS, but you must always name it DFHPEP.

*

* Debugging information (program, PSW, registers and execution key at

* time of abend, hit storage indicator). If the abend occurred in a

* DPL server program running remotely, only program is meaningful.

*

PEP_COM_DEBUG

DS

0F

PEP_COM_ABPROGRAM

DS

CL8

Program causing abend

PEP_COM_PSW

DS

CL8

PSW at abend

*

(codes ASRA, ASRB, AICA, ASRD)

PEP_COM_REGISTERS

DS

CL64

GP registers at abend

*

(registers 0-15)

PEP_COM_KEY

DS

X

Execution key at abend

*

(ASRA and ASRB only)

PEP_COM_USER_KEY

EQU

9

User key

PEP_COM_CICS_KEY

EQU

8

CICS key

*

PEP_COM_STORAGE_HIT

DS

X

Storage type hit by 0C4

*

(ASRA only)

PEP_COM_NO_HIT

EQU

0

No hit, or not 0C4

PEP_COM_CDSA_HIT

EQU

1

CDSA hit

PEP_COM_ECDSA_HIT

EQU

2

ECDSA hit

PEP_COM_ERDSA_HIT

EQU

3

ERDSA hit

PEP_COM_RDSA_HIT

EQU

4

RDSA hit

PEP_COM_EUDSA_HIT

EQU

5

EUDSA hit

PEP_COM_UDSA_HIT

EQU

6

EUDSA hit

*

PEP_COM_SPACE

DS

X

Subspace/basespace

PEP_COM_NOSPACE

EQU

0

PEP_COM_SUBSPACE

EQU

10

Abending task was in

*

subspace

PEP_COM_BASESPACE

EQU

11

Abending task was in

*

basespace

PEP_COM_PADDING

DS

CL2

Reserved

*

*

Return code

*

PEP_COM_RETURN_CODE

DS

F

PEP_COM_RETURN_OK

EQU

0

PEP_COM_RETURN_DISABLE

EQU

4

Disable transaction

*

*

Additional Program status word information

*

PEP_COM_INT

DS

CL8

PSW interrupt codes

*

*

length of DFHPEP_COMMAREA

PEP_COM_LEN EQU *-PEP_COM_STANDARD

Figure 15. Source of DFHPEP communication area (assembler-language) (Part 2 of 2)

the program error program

410

CICS TS for OS/390: CICS Customization Guide

Advertising