The DECEDIT keyword specifies the character used as the decimal point for edited decimal numbers and whether or not leading zeros are printed.
If *JOBRUN is specified, the DECFMT value associated with the job at runtime is used. The possible job decimal formats are listed in the following table:
Job Decimal Format | Decimal Point | Print Leading Zeros | Edited Decimal Number |
---|---|---|---|
blank | period (.) | No | .123 |
I | comma (,) | No | ,123 |
J | comma (,) | Yes | 0,123 |
If a value is specified, then the edited decimal numbers are printed according to the following possible values:
'Value' | Decimal Point | Print Leading Zeros | Edited Decimal Number |
---|---|---|---|
'.' | period (.) | No | .123 |
',' | comma (,) | No | ,123 |
'0.' | period (.) | Yes | 0.123 |
'0,' | comma (,) | Yes | 0,123 |
If DECEDIT is not specified, a period (.) is used for editing numeric values.