If the return code for a API command request is 4 or higher, then the response from the CICS Configuration Manager server includes diagnostic data in addition to the usual return code, reason code, and task number. This diagnostic data reflects the original error code that caused the problem, matching the first error message in the CCVLOG data set in the server CICS® region for this task.
⋮
<OutputData>
<ReturnCode> return_code </ReturnCode> 1
<ReasonCode> reason_code </ReasonCode>
<TaskNo> CICS_task_number </TaskNo>
<DiagData>
<RC> return_code </RC> 1
<RSN> reason_code </RSN>
<INFO> nnnnnnnn </INFO> 2
<INFO2> nnnnnnnnnnnnnnnn </INFO2>
<RESP> nnnnnnnnnnnnnnnn </RESP> 3
<RESP2> nnnnnnnn </RESP2>
<EIBFN> last_CICS_function_requested </EIBFN>
</DiagData>
⋮
<ExceptionData> 4
<ErrorElement>
<Target>
<ObjName> resource_name </ObjName>
<ObjGroup> resource_group </ObjGroup>
<ObjType> resource_type </ObjType>
<LocationType> Context | CSD </LocationType>
<LocationName> location_name </LocationName>
</Target>
<Messages> 5
<MsgLostCount> lost_count </MsglostCount> 6
<MsgCount> returned_count </MsgCount>
<MsgElement> message_text </MsgElement>
More message elements…
</Messages>
</ErrorElement>
</ExceptionData>
⋮
</OutputData>
⋮
For commands that act on a single object, the exception data follows the diagnostic data. For commands that act on multiple objects, each list element in the response contains separate exception data.