DOMSETRESULT
The optional keyword DOMSETRESULT specifies how the style sheet transformation result will be stored.
If the transformation result from input XML source to FunctionXML is going to be large, then use *FILE so the transformation result is streamed out to a temporary file. This will greatly reduce the amount of memory used by the transformation process, as the result is not stored in memory.
The default value for the DOMSETRESULT keyword is *UTF8.
The DOMSET, DOMSETMODEL and DOMSETRESULT settings are used by commands like RECEIVE for Inbound XML processing.
DOMSETRESULT |
*UTF8 |
XML transform is kept as an array UTF-8 encoded bytes. |
*STRING |
XML transform is kept as a String object. |
|
*FILE |
XML transform is steamed out to a temporary file. |
Example
SERVICE_LOAD DOMSETMODEL(*DOCUMENT) DOMSET(*STREAM) DOMSETRESULT(*FILE)