This statement has the following parameter:
Parameter |
Description |
---|---|
Flags |
A numeric integer literal or an identifier of a numeric integer data item, the value of which is used to set the data conversion flags for XML Extensions. |
The XML SET FLAGS statement establishes the setting of the flags that are used for internal data conversion. Valid flag values are specified in the copybook, lixmldef.cpy. The initial setting of the flags has the following flag values set: PF-Leading-Spaces, PF-Trailing-Spaces, PF-Leading-Minus, and PF-Rounded.
In managed code the Flags argument is restricted to a PIC X(4) COMP-X data item or equivalent. See Managed Code Considerations for more information.
A status value is returned in the data item XML-data-group, which is defined in the copybook, lixmldef.cpy.
XML SET FLAGS MY-FLAGS. IF NOT XML-OK GO TO Z.