DPC-IN-DATA

Controls whether the DECIMAL-POINT IS COMMA clause (if specified) applies to output from the XML GENERATE and JSON GENERATE statements.

Syntax:

>>-.---.--.---DPC-IN-DATA-"opt"--.---><
   +-/-+  +-NODPC-IN-DATA--------+

Parameters:

opt
Can be one of the following:
XML
DECIMAL-POINT IS COMMA affects XML GENERATE output only.
JSON
DECIMAL-POINT IS COMMA affects JSON GENERATE output only.
ALL
DECIMAL-POINT IS COMMA affects output for both statements.

Properties:

Default: DPC-IN-DATA"XML"
Phase: Syntax check
$SET: Initial

Dependencies:

DIALECT"ENTCOBOL" sets DPC-IN-DATA"XML".

Comments:

If NODPC-IN-DATA is specified, the DECIMAL-POINT IS COMMA clause (if specified) has no effect on the output from either statement.