DOCUMENT APIs

Enterprise Server now supports the following DOCUMENT API:
  • CREATE
  • INSERT
  • RETRIEVE
  • DELETE
  • SET

If the templates used by your application are defined as members of a PDS where the PDS defaults to DFHHTML, you need to setup the environment variable DFHHTML. This variable allows concatenation of up to 20 PDS names, where the names can be separated by a semi-colon. For example:

DFHHTML=MYPDS.HTML.LEVEL1;MYPDS.HTML.LEVEL2; MYPDS.HTML.LEVEL3;... MYPDS.HTML.LEVEL20
DOCUMENT support has the following limitations:
  • DOCUMENT CREATE and DOCUMENT INSERT do not support HOSTCODEPAGE
  • DOCUMENT RETRIEVE does not support CHARACTERSET and CLNTCODEPAGE
  • You cannot create a document from, or insert into a document, a previously-retrieved document which contains tags embedded by CICS.
  • DOCUMENT CREATE and DOCUMENT INSERT do not support the #include command within a template.
  • RECFM V is not supported for PDS associated to a DOCTEMPLATE definition. You must use RECFM Line sequential or Fixed instead.