CXML Write String

CXML Write String

Syntax:

CALL "C$XML" USING CXML-WRITE-STRING handle, data-area 

Parameters:

CXML-WRITE-STRING Op-code 48. Numeric data item that specifies the operation to perform. Each operation is defined in acucobol.def, which is included with your system.
handle USAGE handle
data-area

is either an alphanumeric data item, or a USAGE POINTER data item. If the latter, the allocated memory must have been allocated with M$ALLOC, and may not point to any other type of memory area.

On Exit:

RETURN-CODE 0 The return code is 0 if the data item was large enough to hold the xml stream, is positive if not, and that positive value is the amount of space needed to hold the stream, or is -1 to indicate an error.