DECEDIT(*JOBRUN | 'value')

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:

Table 44. DECEDIT with *JOBRUN
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:

Table 45. DECEDIT with 'value'
'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.

Note:
Zeros to the right of a decimal point are always printed.


[ Top of Page | Previous Page | Next Page | Contents | Index ]