com.ibm.cics.server

Class CicsResponseConditionException

    • Constructor Summary

      Constructors 
      Constructor and Description
      CicsResponseConditionException(java.lang.String message, com.ibm.cics.server.CicsConditionException.RESPCODE respCode, int resp2, byte[] responseCode, java.lang.Throwable cause)
      Constructor used when a condition is detected in the base product and there is no descriptive comment supplied.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      byte[] getResponseCode()
      Return the response code value for the CICS Condition represented by the CicsResponseConditionException.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CicsResponseConditionException

        public CicsResponseConditionException(java.lang.String message,
                                              com.ibm.cics.server.CicsConditionException.RESPCODE respCode,
                                              int resp2,
                                              byte[] responseCode,
                                              java.lang.Throwable cause)
        Constructor used when a condition is detected in the base product and there is no descriptive comment supplied. The responseCode value is queried from the base product.
        Parameters:
        respCode - the response code
        cause - The original reason for the error.
        message - The message associated with the problem.
        resp2 - The secondary error code associated with the error.
        responseCode - 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.
        Since CICS TS version:
        6.1
        Since package version:
        1.900.0
    • Method Detail

      • getResponseCode

        public byte[] getResponseCode()
        Return the response code value for the CICS Condition represented by the 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').

        Returns:
        response code value.
        See Also:
        CicsConditionException.getRESP2()
        Since CICS TS version:
        1.3
        Since package version:
        1.0.0