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

99 lines
5.3 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="HTML (Hypertext Markup Language) keyword for display files" />
<meta name="abstract" content="Use this field-level keyword on an unnamed constant field to have Hypertext Markup Language tags sent along with the 5250 data stream." />
<meta name="description" content="Use this field-level keyword on an unnamed constant field to have Hypertext Markup Language tags sent along with the 5250 data stream." />
<meta name="DC.subject" content="HTML (Hyper Text Markup Language) keyword, Hyper Text Markup Language (HTML) keyword" />
<meta name="keywords" content="HTML (Hyper Text Markup Language) keyword, Hyper Text Markup Language (HTML) 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="rzakcmstdfhtml" />
<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>HTML (Hypertext Markup Language) keyword for display files</title>
</head>
<body id="rzakcmstdfhtml"><a name="rzakcmstdfhtml"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">HTML (Hypertext Markup Language) keyword for display files</h1>
<div><p>Use this field-level keyword on an unnamed constant field to have
Hypertext Markup Language tags sent along with the 5250 data stream.</p>
<div class="section"><p>If the data stream is sent to a 5250 Workstation Gateway device,
the HTML tags will be processed on the HTML browser. If the data stream is
not sent to a 5250 Workstation Gateway device, the HTML keyword is ignored.</p>
<div class="p">The
format of this keyword is: <pre>HTML('value')</pre>
or <pre>HTML(&amp;program-to-system-field);</pre>
</div>
<p>A parameter is required for the HTML keyword. The parameter
must be a valid HTML tag enclosed in single quotation marks, or in a program-to-system
field. The program-to-system field can be any legal length and must be alphanumeric
(A in position 35). The DDS compiler will not check the HTML syntax of the
specified parameter. The browser that receives the HTML at run time will check
the syntax.</p>
<div class="p">The following keywords are not allowed with the HTML keyword:
<p>COLOR<br />
DATE<br />
DFT<br />
DSPATR<br />
EDTCDE<br />
EDTWRD<br />
HLPID<br />
MSGCON<br />
NOCCSID<br />
OVRATR<br />
PUTRETAIN<br />
SYSNAME<br />
TIME<br />
USER</p>
</div>
<p>Option indicators are not valid for this keyword. However,
option indicators are allowed on the constant field.</p>
<p>The HTML keyword
is not allowed in a field of a subfile record.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the HTML keyword:</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A
A R RECORD
A 7 20HTML('&lt;TITLE&gt;')
A 7 20HTML(&amp;TAG);
A 7 21HTML('&lt;/TITLE&gt;')
A TAG 20A P</pre>
<p>HTML is a tag language
where the order of the tags determines when they are processed. Row and column
have no meaning in an HTML document. In this case, the row and column determine
the order in which the HTML tags are sent to the browser. If the constant
fields that contain the HTML keyword have the same row and column value, they
will be processed in the order that they appear in the DDS source. For information
about how to resolve HTML field overlap, see Chapter 6 of the <a href="../books/sc415715.pdf" target="_blank">Application Display Programming
book</a><img src="wbpdf.gif" alt="Link to PDF" />.</p>
<p>If
the ENHDSP (Enhanced Display) parameter on the CRTDSPF is set to *NO, the
HTML keyword will be ignored. This will give users the ability to turn off
the HTML keywords without recompiling.</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>