DOCTEMPLATE resources

A DOCTEMPLATE resource defines the attributes of a document template.

A document template is a unit of information that is used to construct a document. A document template can contain fixed text, and symbols that represent text whose value is supplied by an application program. Document templates can be created by a CICS® application, or retrieved from an external source. For more information, see CICS documents and document templates.

The template can reside in one of the following places:
  • An MVS partitioned data set (specified by the DDNAME and MEMBERNAME attributes)
  • A temporary storage queue (specified by the TSQUEUE attribute)
  • A transient data queue (specified by the TDQUEUE attribute)
  • A CICS program (specified by the PROGRAM attribute)
  • A CICS file (specified by the FILE attribute)
  • A z/OS® UNIX System Services file (specified by the HFSFILE attribute)
The template can also be returned by an exit program (specified by the EXITPGM attribute).

For information about working with BAS, see Working with BAS document template resource definitions.