Figure 131 shows how to specify the CSRINPONLY keyword.
Figure 131. Specifying the CSRINPONLY Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A CSRINPONLY A R RECORD1 A 1 10'ONE--:' A FIELD1 10A I 1 20TEXT('ONE') A 2 10'TWO--:' A FIELD2 10A I 2 20TEXT('TWO') A 3 10'THREE--:' A FIELD3 10A I 3 20TEXT('THREE') A 4 10'FOUR--:' A FIELD4 10A I 4 20TEXT('FOUR') A 5 10'OUT--:' A FIELD5 10A O 5 20TEXT('OUT') A
Figure 131 shows RECORD1 is defined with input, output, and constant fields. Since CSRINPONLY was specified, the user will only be able to position the cursor in either FIELD1, FIELD2, FIELD3, or FIELD4. FIELD5 and all other areas of the display are not accessible by the cursor.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.