Creating a channel description document
Create a channel description document when your service provider application uses a channel interface with many containers.
About this task
Procedure
Channel schema
The channel description document must conform to the following schema:
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.ibm.com/xmlns/prod/CICS/channel"
xmlns:tns="http://www.ibm.com/xmlns/prod/CICS/channel"
elementFormDefault="qualified">
<element name="channel">
1
<complexType>
<sequence>
<element name="container" maxOccurs="unbounded" "unbounded" minOccurs="0">
2
<complexType>
<sequence>
<element name="structure" minOccurs="0">
3
<complexType>
<attribute name="location" type="string" use="required"/>
<attribute name="structure" type="string" use="optional"/>
</complexType>
</element>
</sequence>
<attribute name="name" type="tns:name16Type" use="required"/>
<attribute name="type" type="tns:typeType" use="required"/>
<attribute name="use" type="tns:useType" use="required"/>
</complexType>
</element>
</sequence>
<attribute name="name" type="tns:name16Type" use="optional" />
</complexType>
</element>
<simpleType name="name16Type">
<restriction base="string">
<maxLength value="16"/>
</restriction>
</simpleType>
<simpleType name="typeType">
<restriction base="string">
<enumeration value="char"/>
<enumeration value="bit"/>
</restriction>
</simpleType>
<simpleType name="useType">
<restriction base="string">
<enumeration value="required"/>
<enumeration value="optional"/>
</restriction>
</simpleType>
</schema>
- This element represents a CICS channel.
- This element represents a CICS container within the channel.
- A structure can only be used with 'bit' mode containers. The 'location' attribute indicates the location of a file that maps the contents of container. The 'structure' attribute may be used in C and C++ to indicate the name of structure.