ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakc_5.4.0.1/rzakcmstdfmsgal.htm

81 lines
4.8 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="MSGALARM (Message Alarm) keyword for display files" />
<meta name="abstract" content="Use this file- or record-level keyword to specify that the system is to sound the audible alarm when this record is displayed with an active ERRMSG, ERRMSGID, SFLMSG, or SFLMSGID keyword, or when a validity checking error is detected. The alarm is of short duration." />
<meta name="description" content="Use this file- or record-level keyword to specify that the system is to sound the audible alarm when this record is displayed with an active ERRMSG, ERRMSGID, SFLMSG, or SFLMSGID keyword, or when a validity checking error is detected. The alarm is of short duration." />
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzakcmstdfmsgal" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>MSGALARM (Message Alarm) keyword for display files</title>
</head>
<body id="rzakcmstdfmsgal"><a name="rzakcmstdfmsgal"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">MSGALARM (Message Alarm) keyword for display files</h1>
<div><p>Use this file- or record-level keyword to specify that the system
is to sound the audible alarm when this record is displayed with an active
ERRMSG, ERRMSGID, SFLMSG, or SFLMSGID keyword, or when a validity checking
error is detected. The alarm is of short duration.</p>
<div class="section"><p>This keyword has no parameters.</p>
<p>If you specify the MSGALARM
and ALARM keywords on the same record format and both are active, the alarm
sounds only once.</p>
<p>Option indicators are valid with this keyword.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example 1</h4><p>The following example shows how to specify
the MSGALARM keyword at record level.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A R RCD1
00020A MSGALARM
00030A FLD01 8A 12 10
00040A 12 ERRMSGID(XYZ0123 MSGFILE)
A</pre>
<p>When record format RCD1 is on the display and RCD1 is
put to the display again and indicator 12 is on, the message XYZ0123 from
message file MSGFILE is displayed on the message line and the workstation
alarm sounds.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example 2</h4><p>The following example shows
how to specify the MSGALARM keyword at file level.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A 01 MSGALARM
00020A R RCD1
00030A FLD01 8A 12 10
00040A 12 ERRMSGID(XYZ0123 MSGFILE)
00050A
00060A R RCD2
00070A FLD02 8A 12 10
00080A 10 ERRMSG('Message text')
A</pre>
<p>When record format RCD1 is on the display and RCD1 is
put to the display again and indicators 01 and 12 are on, the message XYZ0123
from message file MSGFILE is displayed on the message line, and the workstation
alarm sounds.</p>
<p>When record format RCD2 is on the display and RCD2 is
put to the display again and indicator 10 is on (but 01 is off), the message
text is displayed on the message line and the alarm does NOT sound.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakcmstkeyent.htm" title="You type the keyword entries that define display files in positions 45 through 80 (functions).">DDS keyword entries for display files (positions 45 through 80)</a></div>
</div>
</div>
</body>
</html>