For applications that do not use BMS, CICS® Web support generates an HTML page which is in three parts: a heading section, a screen image section, and a footing section.
<!doctype html public "-//W3C//DTD HTML 3.2//EN">
<html>
<STYLE TYPE="text/css">
<!--
TABLE, TR, TD
{ padding: 0mm }
TABLE
{ width: 60% }
-->
.BRIGHT
{font-weight: bold}
{font-family: courier}
.INPUT
{font-family: courier}
</STYLE>
<head>
<title>CICS Web support screen emulation - tranid</title>
<meta name="generator" content="CICS Transaction Server/2.2.0">
<script language="JavaScript">
<!--
function dfhsetcursor(n)
{for (var i=0;i<document.form3270.elements.length;i++)
{if (document.form3270.elements[i].name == n)
{document.form3270.elements[i].focus();
document.form3270.DFH_CURSOR.value=n;
break}}}
function dfhinqcursor(n)
{document.form3270.DFH_CURSOR.value=n}
// -->
</script>
</head>
<body
onLoad="dfhsetcursor('&DFH_CURSORPOSN;')">
You
can modify the appearance of the page by providing your own heading section.
For more information, see Modifying the output from DFHWBTTA. Frrcccllll_
where
F010010078_
A hidden element (DFH_CURSOR) and a JavaScript function
(dfhinqcursor()) cooperate to return the cursor position
to the application. CICS uses the
JavaScript focus() method to position the cursor in the input
box or field specified by DFH_CURSOR. Note that focus() cannot
position the cursor over a particular character within the input box or field,
but only at the first character position.
<!doctype html public "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>CICS Web support screen emulation - tranid</title>
<meta name="generator" content="CICS Transaction Server/2.1.0">
<script language="JavaScript">
<!--
function dfhsetcursor(n)
{for (var i=0;i<document.form3270.elements.length;i++)
{if (document.form3270.elements[i].name == n)
{document.form3270.elements[i].focus();
document.form3270.DFH_CURSOR.value=n;
break}}}
function dfhinqcursor(n)
{document.form3270.DFH_CURSOR.value=n}
// -->
</script>
</head>
<body
onLoad="dfhsetcursor('&DFH_CURSORPOSN;')">
Field | Row | Starting Column |
---|---|---|
Field_1 | 2 | 2 |
Field_2 | 3 | 2 |
Field_3 | 3 | 35 |
Field_4 | 4 | 2 |
Field_5 | 4 | 35 |
Field _6 | 9 | 2 |
Field_7 | 9 | 18 |
Field_8 | 9 | 35 |
You can use the encode function of a converter program to modify the screen image section. For more information, see Using a converter program with DFHWBTTA.
<input type="submit" name="DFH_PF1" value="PF1">
<input type="submit" name="DFH_PF2" value="PF2">
<input type="submit" name="DFH_PF3" value="PF3">
<input type="submit" name="DFH_PF4" value="PF4">
<input type="submit" name="DFH_PF5" value="PF5">
<input type="submit" name="DFH_PF6" value="PF6">
<input type="submit" name="DFH_PF7" value="PF7">
<input type="submit" name="DFH_PF8" value="PF8">
<input type="submit" name="DFH_PF9" value="PF9">
<input type="submit" name="DFH_PF10" value="PF10">
<input type="submit" name="DFH_PF11" value="PF11">
<input type="submit" name="DFH_PF12" value="PF12">
<br>
<input type="submit" name="DFH_PF13" value="PF13">
<input type="submit" name="DFH_PF14" value="PF14">
<input type="submit" name="DFH_PF15" value="PF15">
<input type="submit" name="DFH_PF16" value="PF16">
<input type="submit" name="DFH_PF17" value="PF17">
<input type="submit" name="DFH_PF18" value="PF18">
<input type="submit" name="DFH_PF19" value="PF19">
<input type="submit" name="DFH_PF20" value="PF20">
<input type="submit" name="DFH_PF21" value="PF21">
<input type="submit" name="DFH_PF22" value="PF22">
<input type="submit" name="DFH_PF23" value="PF23">
<input type="submit" name="DFH_PF24" value="PF24">
<br>
<input type="submit" name="DFH_PA1" value="PA1">
<input type="submit" name="DFH_PA2" value="PA2">
<input type="submit" name="DFH_PA3" value="PA3">
<input type="submit" name="DFH_CLEAR" value="Clear">
<input type="submit" name="DFH_ENTER" value="Enter">
<input type="submit" name="DFH_PEN" value="Pen">
<input type="reset" value="Reset">
</form>
</body>
</html>
You can modify the appearance of the page by providing your own footing section. For more information, see Modifying the output from DFHWBTTA.