ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaiw_5.4.0.1/rzaiwexitsample.htm

105 lines
5.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="concept" />
<meta name="DC.Title" content="Sample Telnet exit programs" />
<meta name="abstract" content="You can download sample TELNET exit programs to assist you in writing exit programs." />
<meta name="description" content="You can download sample TELNET exit programs to assist you in writing exit programs." />
<meta name="DC.Relation" scheme="URI" content="rzaiwprogramtypes.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiwexitsample" />
<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>Sample Telnet exit programs</title>
</head>
<body id="rzaiwexitsample"><a name="rzaiwexitsample"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Sample Telnet exit programs</h1>
<div><p>You can download sample TELNET exit programs to assist you in writing
exit programs.</p>
<p> Example programs are available to help you use Telnet exit points on your
server.</p>
<p>The sample download contains the following resources:</p>
<ul><li><strong>Example Create Telnet exit program CL utility code (TELCRT)</strong><p>Use
this code example to create, install, or register Telnet exit programs. It
is written in i5/OS<sup>®</sup> Command
Language (CL) programming language.</p>
</li>
<li><strong>Example Delete Telnet exit program CL utility code (TELDLT)</strong><p>Use
this code example to uninstall and delete Telnet exit programs from your i5/OS system.
It is written in i5/OS CL programming language.</p>
</li>
<li><strong>The basic example Telnet initialization exit program (DEVINIT1)</strong><p>The
basic Telnet initialization exit program (DEVINIT1) lets you screen Telnet
clients. You decide who is allowed to connect to your Telnet server and who
is not. This example is basic because it is not designed to take advantage
of the many other functions available to Telnet exit programs. The advanced
Telnet exit program is designed to take advantage of those functions.</p>
<p>It
is recommended you start with the basic Telnet initialization exit program
until you understand how it works, and then migrate to the advanced Telnet
initialization exit program if you require Virtual Device mapping or other
advanced functions.</p>
</li>
<li><strong>The advanced example Telnet initialization exit program (DEVINIT2)</strong><p>The
advanced Telnet initialization (logon) exit program uses the access lists
MAP and DISALLOW. By using the MAP list instead of the simpler ALLOW list,
the advanced initialization program exploits more of the exit point interface
than the basic version. It allows you to set or override Telnet session settings
which is a function you normally see in Client Access environments. Here are
some examples of the kinds of session settings:</p>
<ul><li>Select a particular Virtual Terminal device for this session</li>
<li>Bypass the sign-on panel</li>
<li>Set up NLS support</li>
</ul>
</li>
<li><strong>The example Telnet termination exit program (DEVTERM)</strong><p>DEVTERM
QCSRC is a simple logging program which logs a disconnect message.</p>
<p>This
is a companion program to both DEVINIT1 QCSRC and DEVINIT2 QCSRC. The termination
messages it logs can be matched up with the initialization messages to determine
Telnet session duration.</p>
</li>
</ul>
<div class="section"><h4 class="sectiontitle">Telnet exit program sample files</h4><p>There are two file
formats available for download: ZIP and SAVF. Both formats contain the same
files.</p>
<p>The .zip files are in a format that is compatible with PCs. Choose
the .zip file to download the program and information files to your PC, unzip
them, then transfer them to your iSeries™ server. You'll need to rename
most of files once you get them to your iSeries server.</p>
<p>A
.savf file is an i5/OS save file. Download it to your PC, then transfer
it to your iSeries server.
You can create a temporary library on your iSeries and
transfer the save file to that. Unpack the save file in the temporary library
and follow the instructions in the readme file.</p>
<p>Click the link for the
file format you want, then choose <span class="uicontrol">Save</span>.</p>
<div class="note"><span class="notetitle">Note:</span> By
using the code examples, you agree to the terms of the <a href="codedisclaimer.htm">Code license and disclaimer information</a>.</div>
<ul><li><a href="telnet.zip">telnet.zip</a> (924 KB)</li>
<li><a href="telnet.savf">telnet.savf</a> (5.45 MB)</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiwprogramtypes.htm" title="This topic provides information about using exit programs for your Telnet server.">Use Telnet exit point programs</a></div>
</div>
</div>
</body>
</html>