public class CicsResponseConditionException extends CicsConditionException
This class provides the base for those exceptions that correspond to CICS conditions for which a response code (in the EIBRCODE field of the EIB) is defined.
Modifier and Type | Method and Description |
---|---|
byte[] |
getResponseCode()
Return the response code value for the CICS Condition represented by the
CicsResponseConditionException . |
getMessage, getRESP, getRESP2
public byte[] getResponseCode()
CicsResponseConditionException
.
The response code returned is the value of EIBRCODE, a six byte field which contains the CICS response code returned after the function requested by the last CICS command to be issued by the task has been completed.
For new commands where EIBRESP and EIBRESP2 are the strategic means of interrogating the resulting condition of an executed command, byte 3 of EIBRCODE has the same value as EIBRESP. Any further information is in EIBRESP2 rather than EIBRCODE. For a normal response, this field contains HEX zeros (6 X'00').
CicsConditionException.getRESP2()