Figure 125 shows how to specify the CLRL keyword.
Figure 125. Specifying the CLRL Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A R RECORD1 CLRL(5)
00020A FLD1 5 3 2
00030A FLD2 10 OB 5 2
00040A FLD3 10 I 6 2
00050A*
00060A R RECORD2 CLRL(*NO)
00070A FLD1 5 2 2 2
00080A FLD2 5 H
00090A FLD3 10 I 4 2
00100A*
00110A R RECORD3 CLRL(*END)
00120A FLD1 5 B 5 2
00130A FLD2 5 I 8 2
A
Lines 3, 4, 5, 6, and 7 are cleared before RECORD1 is displayed. In RECORD2, no lines are cleared, and when the record is displayed, it will overlay anything already displayed. Lines 5 through 24 are cleared before RECORD3 is displayed.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.