The characters in the expansion portion of an edit word are always written. The expansion cannot contain blanks. If a blank is required in the edited output field, specify an ampersand in the body of the edit word.
Follow these guidelines when specifying a valid edit word:
EDTWRD('____$0.__')
where _ represents a blank.
Option indicators are not valid for this keyword.
The DFT keyword cannot be specified with the EDTWRD keyword.
For more information on the EDTWRD keyword, see the EDTWRD keyword for display files.
Example:
The following example shows how to specify the EDTWRD keyword.
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A CRYCST 7 2 5 2EDTWRD(' $0. ') A
Figure 17 shows sample edit words with the program value of the field and the printed value of the field (as edited).
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.