Figure 121 shows how to specify the CHKMSGID keyword.
Figure 121. Specifying the CHKMSGID Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A MSGLOC(20)
00020A R RECORD1
00030A FIELD1 10A B 4 2CHECK(VN) CHKMSGID(USR1234 +
00040A QGPL/USRMSGS &MSGFLD1);
00050A MSGFLD1 12A P
00060A FIELD2 1A I 4 20VALUES('A' 'B' 'I')
00070A CHKMSGID(XYZ9999 APPLMSGS)
00080A FIELD3 3S OB 4 25RANGE(023 199)
A
When RECORD1 is read from the display screen:
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.