Which EIB field can be used for ERROR/EXCEPTION handling?
-
EIBRESP1, EIBRESP2
-
EIBRESP, EIBRESP1
-
EIBRESP, EIBRESP2
-
EIBRESP0, EIBRESP1
In CICS, EIBRESP contains the primary response code indicating success or failure, while EIBRESP2 provides detailed reason codes explaining why an error occurred. Together they enable comprehensive error handling. Options A, B, and D incorrectly reference non-existent or improperly paired EIB fields.
To answer this question, you need to understand the fields related to ERROR/EXCEPTION handling in EIB (EXEC Interface Block).
Option A) EIBRESP1, EIBRESP2 - This option is incorrect because EIBRESP1 and EIBRESP2 are not the correct fields for ERROR/EXCEPTION handling in EIB.
Option B) EIBRESP, EIBRESP1 - This option is incorrect because EIBRESP1 is not the correct field for ERROR/EXCEPTION handling in EIB.
Option C) EIBRESP, EIBRESP2 - This option is correct because both EIBRESP and EIBRESP2 fields can be used for ERROR/EXCEPTION handling in EIB. The EIBRESP field contains the main response code, while the EIBRESP2 field contains additional information related to the error or exception.
Option D) EIBRESP0, EIBRESP1 - This option is incorrect because EIBRESP0 is not the correct field for ERROR/EXCEPTION handling in EIB.
The correct answer is C. This option is correct because both EIBRESP and EIBRESP2 fields can be used for ERROR/EXCEPTION handling in EIB.