Enterprise Server now supports the
CREATE,
INSERT,
RETRIEVE,
DELETE, and
SET commands of the
DOCUMENT API so that you can use documents and document templates in your application programs.
Because Enterprise Server is not started using JCL, you must use an environment variable to retrieve the PDS names of the templates' locations. You can have up to 20 PDS names, separated by a semi-colon. For example:
MYHTML=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.