Using CMCI to create a resource definition
Create 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 .
About this task
Procedure
Example
POST http://exampledomain.com:12345/CICSSystemManagement/
CICSDefinitionTransaction/<CONTEXT>/
<request>
<create>
<attributes name="NAME" defver="1" program="test"/>
</create>
</request>
This example shows what to send to the CMCI
to create a CSD transaction definition. Note that the CSD
parameter
and the csdgroup
attribute are added to the XML,
and that the defver
attribute is excluded.POST http://exampledomain.com:12345/CICSSystemManagement/
CICSDefinitionTransaction/<CONTEXT>/<SCOPE>/
<request>
<create>
<parameter name="CSD"/>
<attributes name="resourceName" program="test" csdgroup="CSDGR"/>
</create>
</request>
Both the examples, creating a BAS resource
definition and creating a CSD resource definition, return a similar
output when they complete successfully. A successful create 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>