Coding Standards for Database Files › Coding Standards for Printer Files › General Considerations › Field Level › Printer File Coding Standards - Field Editing
Printer File Coding Standards - Field Editing
The following standards apply to field editing:
- Suppress signs on numeric fields where they are irrelevant, for example, on numeric codes, by means of the appropriate edit code or edit word.
- Edit dates using the DDS edit word facility, thus: EDTWRD(‘ / / 0’). This ensures that input-capable fields that are dates, are blank when zero.
- Edit time fields with EDTWRD(‘ : : 0’). This ensures that input capable fields, which represent times, are blank when zero.
- Suppress leading zeroes when displaying amounts—but print zero balances, since columns stand out better if they do not contain holes. For example,
