DEFINE DOCTEMPLATE

Defines the attributes of a CICS Application Document Template.
Keyword Description
Doctemplate(name) Name of the Document Template record. Can be up to eight characters in length. Acceptable characters are A through Z, 0 through 9, $, @ and #.
Group(groupname) Names the group the connection definition belongs to. Mandatory. groupname can be up to eight characters in length. Acceptable characters are A through Z, 0 through 9, $, @ and #. Do not specify a group name starting with DFH, as Mainframe Subsystem Support (MSS) uses that prefix for system groups.
Description(text) Describes the bundle. Optional. text can be up to 60 characters in length, with no restrictions except that if you use a left parenthesis you must ensure that there is a matching right parenthesis.
TEmplatename(name) The name by which the template is known to application programs.
File(name) A CICS file that contains the template.
Appendcrlf(YES|NO) When YES, CICS deletes trailing spaces and appends a carriage return for each logical record of the template.
TYpe (ASCII|EBCDIC|BINARY) The format of the template contents:
  • ASCII - Template contents is parsed as ASCII text when loaded.
  • EBCDIC - Template contents is parsed as EBCDIC text when loaded.
  • BINARY - No parsing of the template contents is done.
TSqueue(tsqueue) A temporary storage queue containing the template.
TDqueue(tdqueue) A transient storage queue containing the template.
Program(program) The CICS program that contains the template.
Exitpgm(program) The exit program that generates this template.
DDname(name) The partitioned data set (PDS) containing the template. Default is DFHHTML.
Membername(name) A member in the PDS containing the template.
Hfsfile(string) Path to a z/OS UNIX System Services file containing the template.

Example

DEFINE DOCTEMPLATE(SAMPDOCT) GROUP(SAMPGRP)
DESCRIPTION(Sample MVS PDS TEMPLATE)
       TEMPLATENAME(MY TEMPLATE NAME) DDNAME(MYDDNAME)
       MEMBERNAME(MYMEMBER) APPENDCRLF(YES) TYPE(EBCDIC)