87 lines
4.8 KiB
HTML
87 lines
4.8 KiB
HTML
|
<?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="MSGCON (Message Constant) keyword for display files" />
|
||
|
<meta name="abstract" content="Use this field-level keyword to indicate the text for constant fields is contained in a message description." />
|
||
|
<meta name="description" content="Use this field-level keyword to indicate the text for constant fields is contained in a message description." />
|
||
|
<meta name="DC.subject" content="MSGCON (Message Constant) keyword, Message Constant (MSGCON) keyword" />
|
||
|
<meta name="keywords" content="MSGCON (Message Constant) keyword, Message Constant (MSGCON) keyword" />
|
||
|
<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="rzakcmstdfmscon" />
|
||
|
<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>MSGCON (Message Constant) keyword for display files</title>
|
||
|
</head>
|
||
|
<body id="rzakcmstdfmscon"><a name="rzakcmstdfmscon"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">MSGCON (Message Constant) keyword for display files</h1>
|
||
|
<div><p>Use this field-level keyword to indicate the text for constant
|
||
|
fields is contained in a message description.</p>
|
||
|
<div class="section"><p>If the message description does
|
||
|
not exist at DDS compile time, the file will not be created. If you change
|
||
|
the message description, you need to create the file again if you want the
|
||
|
display file to contain the updated message.</p>
|
||
|
<div class="p">The format of the keyword
|
||
|
is: <pre>MSGCON(length message-ID [library-name/]message-file-name)</pre>
|
||
|
</div>
|
||
|
<p>The
|
||
|
length parameter specifies the maximum length of the message description.
|
||
|
The length can be from 1 to 132 bytes. If the message description is less
|
||
|
than the length specified, the remaining bytes are padded with blanks (hex
|
||
|
40). If the message description is longer than the length specified, the message
|
||
|
description is truncated to the specified length and a warning message appears.</p>
|
||
|
<p>The
|
||
|
message-ID parameter specifies the message description that contains the text
|
||
|
to use as the value of the constant field.</p>
|
||
|
<p>The message-file-name parameter
|
||
|
identifies the message file that contains the message description. The library-name
|
||
|
parameter is optional.</p>
|
||
|
<p>The MSGCON keyword must be explicitly specified
|
||
|
for the field. The MSGCON keyword cannot be used to initialize a named field.</p>
|
||
|
<p>The
|
||
|
DFT and MSGCON keywords are functionally equivalent. If you specify the DFT
|
||
|
and MSGCON keywords for the same field, the MSGCON keyword is ignored and
|
||
|
the file is not created.</p>
|
||
|
<div class="p">The MSGCON keyword cannot be specified with
|
||
|
any of the following keywords: <p>DATE<br />
|
||
|
DFT<br />
|
||
|
EDTCDE<br />
|
||
|
EDTWRD<br />
|
||
|
TIME</p>
|
||
|
</div>
|
||
|
<p>Option indicators are not valid for changing the value
|
||
|
of the message line, but they are valid for conditioning the presence or absence
|
||
|
of the message on the display.</p>
|
||
|
</div>
|
||
|
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
|
||
|
the MSGCON keyword.</p>
|
||
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
|
00010A R RECORD1
|
||
|
00020A 2 1MSGCON(10 MSG0001 MESSAGE/MSGF)
|
||
|
A</pre>
|
||
|
<p>MSG0001 in message file MSGF in library MESSAGES contains
|
||
|
the message text.</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>
|