RPG/400 Help
The entry in this position specifies the notation for the user date.
It also specifies the decimal notation and the separator used for numeric
literals and edit codes. The term decimal notation refers to
the character that separates whole numbers from decimal fractions. The
word separator refers to the character that separates the hundreds
position from the thousands position, the hundred thousands position from the
millions position, and so on. Below is an example of a number using a
period for the decimal notation character and commas for the separator
characters.
12,342,343.00
^ ^ ^
| | *--Decimal Notation
Separators
An entry in this position does not affect the edit words.
- Entry
- Explanation
- Blank
- Uses a period for the decimal notation, and a comma for the
separator. If position 19 is blank, uses the month/day/year
format for user date. If position 20 is blank, uses a slash as the
separator for the Y edit code.
- I
- Uses a comma for the decimal notation, and a period for the
separator. If position 19 is blank, uses the day/month/year
format for user date. If position 20 is blank, uses a period as the
separator for the Y edit code.
- J
- Uses a comma for the decimal notation, and a period for the
separator. If position 19 is blank, uses the day/month/year
format for user date. If position 20 is blank, uses a period as the
separator for the Y edit code. When you use edit codes that cause zero
balances to be printed, zero is written to the left of the decimal notation
(comma): 0,00. If the number of decimal positions in the field is
equal to the length of the field, the decimal notation (comma) is the leftmost
character printed.
- D
- Uses a period for the decimal notation, and a comma for the
separator. If position 19 is blank, uses the day/month/year
format for user date. If position 20 is blank, uses a slash as the
separator for the Y edit code.
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.