CICS

Describes the abend codes you might encounter when executing a PL/I CICS application.
EIBCALEN not set
When a program uses a COMMAREA, and EIBCALEN is not set as expected on an EXEC CICS LINK and/or on second invocations of a trancode, be sure that the variable used to specify LENGTH() in the EXEC CICS LINK is FIXED BIN(15). Some mainframe application programs are incorrectly coded with FIXED BIN(31) parameters.
PFKEYS not set on processing of Mapset
The PFKEY pressed should be written to the EIBAID field upon return to the CICS application code. If it is not, the most common reason for what appears to be a "lost" PF key is that the machine does not have a Rumba session holding "focus" at the time the key is pressed, or some confusion has occurred between pressing PFKeys in the Debugger versus the Rumba session.
'DFHESERV' Load failure (Error 198) running CICS program
If you receive an ASRA abend when executing a PL/I CICS program/transaction from the terminal:
TXKC0006E ABEND ASRA - Transaction abend

Check the console log for more information if you see the following:

Object Code error : file 'DFHESERV' 
error code: 198, pc=47A62, call=1, seg=0 
198 Load failure 10:26:05 

A CTF trace with #pgmload turned on might show a <NULL> pointer after a system call #15 (API (CBL_DATA_CONTEXT_SET)):

10:26:05.951 MF.RTS.PLI 6 1 : "DllMain " 
10:26:05.951 MF.RTS.PLI 6 1 : "DLL name (GetModuleFileName) W:\BANKDEMO-PLI\ECLIPSE\BANKDEMO\BIN\SBANK00P.dll" 
10:26:05.951 MF.RTS.PLI 6 1 : "DllMain ATTACH SBANK00P" 
10:26:05.951 MF.RTS 23 1 : 0 0 "W:\BANKDEMO-PLI\ECLIPSE\BANKDEMO\BIN\SBANK00P.dll" 61000000 
...
10:26:05.951 MF.RTS 56 1 : 15 0 0X503E4A90 
10:26:05.951 MF.RTS 57 1 : 15 0 
10:26:05.951 MF.RTS 255 3 : 198 5 "<NULL>" 
Note: To enable PL/I, check PL/I Enabled on the ESCWA PL/I tab.