Using CMCI to update a resource definition
Update a BAS or CSD resource definition using the CICS Management Client Interface (CMCI).
Before you begin
You must have a connection with the CMCI; for more information, see Setting up access for CICS Explorer.
About this task
Complete the following steps to update a resource definition using the CMCI:
Procedure
Example
TRN1, is updated
to PRGM2.PUT http://exampledomain.com:12345/CICSSystemManagement/
CICSDefinitionTransaction/<CONTEXT>/
?CRITERIA=NAME%3TRN1
<request>
<update>
<attributes program="PRGM2"/>
</update>
</request>
The following example shows an update request for a CSD
transaction definition. In this example, the program name of the resource
called TRN1, in resource group GRP1,
is updated to PRGM2. Note that PARAMETER=CSDGROUP is
added to the URI and that the defver attribute is
excluded.PUT http://exampledomain.com:12345/CICSSystemManagement/
CICSDefinitionTransaction/<CONTEXT>/<SCOPE>/
?CRITERIA=NAME%3DAAAA&PARAMETER=CSDGROUP%28GRP1%29
<request>
<update>
<attributes program="PRGM2"/>
</update>
</request> Both the examples, updating a resource
definition and updating a CSD resource definition, return a similar
output when they complete successfully. A successful update returns
a CICSPlex SM API response message that contains
api_response1="1024" and api_response1_alt="OK" as
shown:<response xmlns:...>
<resultsummary api_response1="1024" api_response1_alt="OK".. />
<records>
...
</records>
</response>