Program termination block
The program termination block (PTB), which is built by DFHAPLI in the CICS-Language Environment work area, is passed to Language Environment on a RUNUNIT_END_INVOCATION call.
It has this format (in Assembler-language code):
CELINFO DS 0F
PCHK DS 0CL32 Abend information
DS CL8
PCHK_PSW DS CL8 ..PSW
PCHKINTS DS 0CL8 ..Interrupt data
PCHK_LEN DS XL2 ../..Instruction length
PCHK_INT DS XL2 ../..Interrupt code
PCHK_ADR DS FL4 ..Exception address
PCHK_GR DS AL4 ..A(GP registers at abend)
PCHK_FR DS AL4 ..A(FP registers at abend)
PCHK_AR DS AL4 ..A(AX registers at abend)
PCHK_EX DS AL4 ..A(Registers at the last time
a CICS command was issued)
CNTCODE DS 0CL4 Continuation code
CONT1 EQU X'40' ..retry using registers
CONT2 EQU X'20' ..retry using PSW
DS BL3 Reserved
RTRY DS 0CL20
RTRY_AD DS FL4 ..Retry address
RTRY_PM DS AL4 ..A(Program mask)
RTRY_GR DS AL4 ..A(GP registers)
RTRY_FR DS AL4 ..A(FP registers)
RTRY_AR DS AL4 ..A(AX registers)