Figure 40 shows how to specify the EDTCDE and EDTWRD keywords for a physical file.
Figure 40. Specifying the EDTCDE and EDTWRD Keywords
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A R RECORD
A
A PRICE 5 2 EDTCDE(J)
A
A SALES 7 2 EDTCDE(K $)
A
A SALARY 8 2 EDTCDE(1 *)
A
A BALANCE 7 2 EDTWRD('$ 0. &CR')
A
A DATE 6 0 EDTCDE(Y)
A
The fields PRICE, SALES, SALARY, and DATE have editing specified. No new editing needs be specified when they are referred to by a display or printer file. This standardizes the editing of these fields for applications that refer to these fields.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.