CMCI 问题确定

CICS 管理客户机接口 (CMCI) 提供了返回码和多种类型的诊断信息,以帮助您确定错误原因。

如果 CICS 管理客户机接口从客户机接收到无效的请求,那么该请求将失败,并且 API 将在响应的 HTTP 头中返回非 OK 代码。 CICS 管理客户机接口不处理请求,也不提供其他信息。 请参阅 CICS 管理客户机接口错误消息 ,以获取这些响应代码的描述。

如果 CICS 管理客户机接口确定请求有效,那么它将返回 HTTP 200 OK 响应代码并生成 EXEC CICS 或 EXEC CPSM 调用。 如果此调用迂到任何错误,那么 API 将在响应的 XML 主体中返回诊断信息。 This information takes the form of response and reason codes in the <resultsummary> element of the XML response, and in certain cases, feedback records that provide extra information.

The <resultsummary> element contains four attributes that you can use to determine the cause of a failure:
  • api_function
  • api_response1
  • api_response1_alt
  • api_response2
  • api_response2_alt
请参阅 <resultsummary> element 以获取这些属性的描述。

If the CICS management client interface receives any exception conditions, it passes them to the client in the <errors> element of the XML response. The <errors> element is absent if the request completes successfully. The <errors> element contains one or more <feedback> elements each containing a FEEDBACK record. In the case of certain BAS errors, the <feedback> element contains an additional <installerror>, <inconsistentscope>, or <inconsistentset> element containing a BINSTERR, BINCONSC, or BINCONRS record respectively.