Defining application resources
To specify the resource definitions that are required by an application, an application developer creates a resource definitions file in YAML. CICS® TS resource builder takes the resource definitions YAML file as input, along with the resource model YAML that the system programmer provides, to build a DFHCSDUP commands file.
Application developer
Application developers are constrained on what they can define in the resource definitions file by the settings in the system programmer's resource model. They can work only with the model-defined resource types and the public attributes and any values must meet standards, such as a prefix for a name, that the system programmer has set. For information about model-defined resource types and how they limit the resource definitions that can be added to the resource definitions YAML, see Creating a resource model.
A resource definitions JSON schema can be generated from the resource model. This can be used in the application developer's IDE to constrain and validate the YAML before it is run by CICS TS resource builder. See Generating a resource definitions schema.
If CICS TS resource builder has been used to import existing CSD definitions, the resource definitions YAML file that is created by the zrb import command can be used as a starting point to add more application resources or modify existing ones.
System programmer
The system programmer creates a resource model YAML file and an application constraints YAML file to set scope and standards for the application developer. When the application developer's resource definitions file is processed, these files are used as input and only resource definitions that match the model-defined resource types in these files are considered valid by CICS TS resource builder.
Tip: See Tutorial: creating resource definitions YAML to see examples of how to define
application resources, including how to use an IDE to create and validate the resource definitions
YAML.