Document services
This section describes JCICS support for the commands in the DOCUMENT application programming interface.
Class Document maps to the EXEC
CICS DOCUMENT API.
The default no-argument
constructor for class Document creates a new document
in CICS®. The constructor Document(byte[] docToken) accepts a document token for an
existing document that has previously been created. For example, another
program can create a document and pass its document token to the Java™ application in a COMMAREA or
container.
Constructors for class DocumentLocation map to the AT and TO keywords of the EXEC CICS DOCUMENT API.
Setters and getters for class SymbolList map to the SYMBOLLIST, LENGTH, DELIMITER, and UNESCAPE keywords of the EXEC CICS DOCUMENT API.
| Methods | JCICS class | EXEC CICS Commands |
|---|---|---|
| create*() | Document | DOCUMENT CREATE |
| append*() | Document | DOCUMENT INSERT |
| insert*() | Document | DOCUMENT INSERT |
| addSymbol() | Document | DOCUMENT SET |
| setSymbolList() | Document | DOCUMENT SET |
| retrieve*() | Document | DOCUMENT RETRIEVE |
| get*() | Document | DOCUMENT |