MSGLOC (Message Location) Keyword for Display Files--Examples

Figure 216 and Figure 217 show how to specify the MSGLOC keyword.

Figure 216. Specifying the MSGLOC Keyword (Example 1)

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A                                      MSGLOC(1)
A

In Figure 216, the message line is moved to line 1 for the primary display size. (Without the DSPSIZ keyword, the primary display size is the 24 x 80 display.)

Figure 217. Specifying the MSGLOC Keyword (Example 2)

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A                                      DSPSIZ(*DS3 *DS4)
A                                      MSGLOC(1)
A  *DS4                                MSGLOC(1)
A

The message line is moved to line 1 for both the primary display size 1 and the secondary display size 2.