TIMER (Timer) Keyword for Intersystem Communications Function Files--Example

Figure 428 shows how to specify the TIMER keyword.

Figure 428. Specifying the TIMER Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A          R RCD1                      TIMER(002512)
A          R RCD2                      TIMER(&FIELD1);
A            FIELD1         6S  P
A
A

On an output operation to RCD1, the timer will be set to 0 hours, 25 minutes, and 12 seconds. On an output operation to RCD2, the timer will be set to the value that has been set in FIELD1.