ALARM (Audible Alarm) keyword for display files

You use this record-level keyword to specify that the IBM® i operating system is to activate the audible alarm when this record is displayed. The alarm is of short duration.

This keyword has no parameters.

If the Error Message (ERRMSG) or Error Message Identifier (ERRMSGID) keyword is in effect, the ALARM keyword has no effect, even if also selected.

To sound the audible alarm when an active ERRMSG or ERRMSGID keyword is on the record, see MSGALARM (Message Alarm) keyword for display files.

Option indicators are valid for this keyword.

Example

The following example shows how to specify the ALARM keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00005A          R CUST
00010A  01                                  ALARM
     A