This statement has the following parameter:
Parameters
|
Description
|
Flags
|
A numeric literal or identifier of a numeric data item with a value that represents one or more data conversion flags.
|
Description
The
XML SET FLAGS statement establishes the setting of the flags that are used for internal data conversion for import and export. Valid flag
values are specified in the copy file, 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.
Note:
- These flag values are 78-level constant-names defined in
lixmldef.cpy. They are case insensitive and require the use of the hyphen character.
- On export and import of nonnumeric items, the
PF-Trailing-Spaces and
PF-Leading-Spaces flags are ignored for edited and
FILLER data items; that is, leading and trailing spaces are preserved for edited and
FILLER data items. On export of nonnumeric data items, the
PF-Leading-Spaces flag is ignored except for right justified data items; that is leading spaces are preserved except for right justified data
items. This note applies regardless of whether the default flags or user-specified flags are in effect. (The
PF-Trailing-Spaces and
PF-Leading-Spaces flags do not affect conversion of numeric data items.)
A status value is returned in the data item
XML-Status of
XML-data-group, which is defined in the copy file
lixmldef.cpy.
Example
XML SET FLAGS
MY-FLAGS.
IF NOT XML-OK GO TO Z.