Producing an entity body for an HTTP message
Web-aware application programs can produce an entity body formed from a CICS® document or from a buffer of data.
About this task
CICS documents can be used as the entity body of an HTTP message. Use the EXEC CICS DOCUMENT commands to create them. They can be populated by data specified directly by the application program, and by document templates, which are portions of documents defined as CICS resources or created by another CICS program. You can store documents and document templates for reuse.
Alternatively, you can specify a buffer of data created by the application program. You might find this option more convenient for short or simple entity bodies, and you must use this option for chunked transfer-coding for the message. However, data created in this way cannot be stored for reuse so easily.