91 lines
3.8 KiB
HTML
91 lines
3.8 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
||
|
<title>Distributed 5250 Emulation Model</title>
|
||
|
<!-- Begin Header Records ========================================== -->
|
||
|
<!-- 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. -->
|
||
|
<!-- VT2A SCRIPT A converted by B2H R4.1 (346) (CMS) by HOLTJM at -->
|
||
|
<!-- RCHVMW2 on 5 Feb 1999 at 07:56:18 -->
|
||
|
<!-- File restructured for V5R2 -->
|
||
|
<!-- End Header Records -->
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<!-- Java sync-link -->
|
||
|
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
|
||
|
</script>
|
||
|
|
||
|
<a name="Top_Of_Page"></a>
|
||
|
|
||
|
<h2>Distributed 5250 Emulation Model</h2>
|
||
|
|
||
|
<p>The Virtual Terminal Client/Server Model example shows a model for a
|
||
|
distributed systems environment between a work station and an
|
||
|
iSeries. The client program resides on the work station, while the server
|
||
|
program resides on the iSeries<SUP>(TM)</SUP>. This model is similar to the way the iSeries
|
||
|
supports an iSeries Access work station function.</p>
|
||
|
|
||
|
<p><strong><a name="FIGDESC">Virtual Terminal Client/Server Model
|
||
|
Example</a></strong></p>
|
||
|
|
||
|
<p align="center"><img src="RBAFX603.gif" alt="Virtual Terminal Client/Server Model Example"></p>
|
||
|
|
||
|
<p>The client program running on the work station shown in the example
|
||
|
does the following:</p>
|
||
|
|
||
|
<ul>
|
||
|
<li>Accepts data from the server program and displays the data on the work station
|
||
|
display</li>
|
||
|
|
||
|
<li>Accepts data from the work station keyboard</li>
|
||
|
|
||
|
<li>Converts the data from the format required by the work station display and keyboard
|
||
|
to the format required by the server program (5250 data stream)</li>
|
||
|
|
||
|
<li>Sends the data to the server program on the iSeries</li>
|
||
|
</ul>
|
||
|
|
||
|
<p>The link between the client program and server program uses DOS and i5/OS<SUP>(TM)</SUP>
|
||
|
communications support. This may be LU 6.2, TCP/IP, or some other
|
||
|
communications protocol.</p>
|
||
|
|
||
|
<p>You can write a server application program in any iSeries-supported
|
||
|
high-level language (HLL), such as the ILE C programming language. The server
|
||
|
program provides work station support for the system acting as the server. The
|
||
|
virtual terminal APIs allow a server program to read and write virtual terminal
|
||
|
data. Virtual terminal data is always in a 5250 data stream format. See the
|
||
|
<cite>IBM 5494 Functions Reference</cite> book, SC30-3533, for more information
|
||
|
on 5250 data streams. This book can be viewed online through the <a href=
|
||
|
"http://www.elink.ibmlink.ibm.com/public/applications/publications/cgibin/pbi.cgi?CTY=US" target="_blank">IBM
|
||
|
Publications Center</a><img src="www.gif" alt="Link outside Information Center">.</p>
|
||
|
|
||
|
<p>The virtual terminal APIs provide an interface between the server program
|
||
|
and the virtual terminal supported by the i5/OS licensed program. The virtual
|
||
|
terminal represents the i5/OS link between the server program and the iSeries
|
||
|
application and is managed entirely by the i5/OS licensed program.</p>
|
||
|
|
||
|
<p>The iSeries application is a licensed program or a user-written application
|
||
|
that performs a standard data transfer to a work station. This application can
|
||
|
be written in any iSeries-supported HLL.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<hr>
|
||
|
<table align="center" cellpadding="2" cellspacing="2">
|
||
|
<tr align="center">
|
||
|
<td valign="middle" align="center">
|
||
|
<a href="#Top_Of_Page">Top</a> |
|
||
|
<a href="vt1a.htm">Virtual Terminal APIs</a> |
|
||
|
<a href="aplist.htm">APIs by category</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|