<cics:resource> element

The <cics:resource> element in an Atom configuration file specifies the name and type of the CICS® resource that is to be published as a feed.

Contained by:

Attributes

name="cics-resource-name"
The name of the CICS resource that provides data for the feed. This attribute is required. The name is case-sensitive, so uppercase is normally correct. The resource name must match the value of the RESOURCENAME attribute of the ATOMSERVICE resource definition that references this Atom configuration file.
type="cics-resource-type"
The type of the CICS resource. This attribute is required. The resource type is specified in lowercase. The resource type must match the value of the RESOURCETYPE attribute of the ATOMSERVICE resource definition that references this Atom configuration file.
type="tsqueue"
A temporary storage queue.
type="file"
A file.
type="program"
A program (service routine).
type="notapplic"
The resource type is not applicable.

Contains:

<cics:bind> element
The <cics:bind> element is optional and contains two optional attributes:
root="root-element-name"
Specifies the name of the top-level data structure in the XML binding. Set this attribute if you have more than one set of conversions in the XML binding.
xmltransform="XMLTRANSFORM"
Specifies the 1-32 character name of an XMLTRANSFORM resource. Set this attribute if you want to reuse an existing XMLTRANSFORM resource or want to name the resource that is dynamically created when you install the resources for the Atom feed.
<cics:fieldnames> element

Example

<cics:resource name="feedq" type="tsqueue">
     <cics:bind xmltransform="MYXMLTRANSFORM"/>
</cics:resource>