OS/400 Edit Codes for Display Files

The OS/400 edit codes are the following:
1 through 4
A through D
J through Q
W through Z

Note:
The AS/400 system hardware operates with a preferred sign of F, which is equivalent to using edit code X. Edit code X causes a blank keyboard shift (position 35) to default to numeric-only (attribute Y). The display length of the field is determined by the keyboard shift and not by edit code X (the default numeric only Y attribute may add 1 position to the field for decimals). If the DATE or TIME keyword is specified with edit code X, the separator character is not displayed.

Asterisk Fill or Floating Currency Symbol for Display Files

You can optionally specify asterisk fill or floating currency symbol with edit codes 1 through 4, A through D, and J through Q.

When you specify asterisk fill, an asterisk (*) is printed for each zero that is suppressed. A complete field of asterisks is printed for a zero balance field.

When you specify floating currency symbol, the symbol appears to the left of the first significant digit. The symbol does not print on a zero balance when an edit code is used that suppresses the zero balance. (The symbol that you specify must match the system value for the currency symbol (QCURSYM). The symbol must match when the file is created. It does not have to match when the file is used.)

Note:
If an edit code is changed after a file is created, the editing specified at the time the file was created is used. The new edit code is not used unless the file is recreated.