Find out whether a DOCTEMPLATE is installed.
INQUIRE DOCTEMPLATE >>-INQUIRE DOCTEMPLATE(data-value)------------------------------> .-----------------------------. V | >----+-------------------------+-+----------------------------->< +-APPENDCRLF(cvda)--------+ +-DDNAME(data-area)-------+ +-DSNAME(data-area)-------+ +-EXITPGM(data-area)------+ +-FILE(data-area)---------+ +-HFSFILE(data-area)------+ +-MEMBER(data-area)-------+ +-PROGRAM(data-area)------+ +-TDQUEUE(data-area)------+ +-TEMPLATENAME(data-area)-+ +-TEMPLATETYPE(cvda)------+ +-TSQUEUE(data-area)------+ '-TYPE(cvda)--------------'
Conditions: END, ILLOGIC, NOTFND, NOTAUTH
This
command is threadsafe.
The INQUIRE DOCTEMPLATE command allows you to determine whether a particular DOCTEMPLATE is installed (defined in the current execution of your CICS system).
You can also browse through all of the DOCTEMPLATE installed in your system by using the browse options (START, NEXT, and END) on INQUIRE DOCTEMPLATE commands. See Browsing resource definitions for general information about browsing, including syntax, exception conditions, and examples.