<?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="LAN device connection initiation" /> <meta name="abstract" content="In an SNA environment you can determine which server initiates the connection request and which server waits for an incoming connection request." /> <meta name="description" content="In an SNA environment you can determine which server initiates the connection request and which server waits for an incoming connection request." /> <meta name="DC.Relation" scheme="URI" content="rzajyconnectinglandevices.htm" /> <meta name="DC.Relation" scheme="URI" content="rzajylancnntmrandlancnnrty.htm" /> <meta name="DC.Relation" scheme="URI" content="rzajyconfailureandcntrlrdesc.htm" /> <meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" /> <meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" /> <meta name="DC.Format" content="XHTML" /> <meta name="DC.Identifier" content="rzajylandeviceconinitiation" /> <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>LAN device connection initiation</title> </head> <body id="rzajylandeviceconinitiation"><a name="rzajylandeviceconinitiation"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">LAN device connection initiation</h1> <div><p>In an SNA environment you can determine which server initiates the connection request and which server waits for an incoming connection request.</p> <p> To have your server initiate the connection, you can configure the controller description to dial the destination. If no connection is established, your controller description automatically switches to answer mode.</p> <p>To have your server wait for incoming calls, you can configure the controller description to answer the incoming calls. You specify the mode through the Initial connection (INLCNN) field of the controller description:</p> <div class="section"><h4 class="sectiontitle">Dial mode (SNA)</h4><p>SNA controller descriptions use dial mode to send a connection request to a remote device. Dial mode typically starts when varying on the controller description. However, if the DIALINIT parameter is set to *DELAY, dial mode will not begin until an application opens a file that uses the connection. During the dialing process, the server polls the remote device to determine if the device is available. If the remote device is available, the connection process continues. Successful connection is still possible even if the local and remote devices dial each other simultaneously.</p> <p>The controller description fields below set the frequency and duration of the poll:</p> <ul><li>LAN connection retry (LANCNNRTY) determines the number of times your server polls the remote device. </li> <li>LAN connection timer (LANCNNTMR) determines the length of time between each poll. </li> </ul> <p>If the remote device answers the poll within the time specified by the parameters, your server proceeds with establishing the connection. If not, your server sends an inquiry message (CPA58E0 or CPA57EF) to the configured message queue. This message indicates that a connection attempt failed and that the controller description is now in answer mode.</p> </div> <div class="section"><h4 class="sectiontitle">Answer mode (SNA)</h4><p>If you specify answer mode, the input/output adapter (IOA) does not originate connection requests, but will respond to incoming connection requests. Servers with controller descriptions that are configured with dial mode will initiate and accept connection requests. However, APPC controllers that are user owned (CTLOWN = *USER) must be varied on before the server can respond to connection requests.</p> </div> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rzajyconnectinglandevices.htm" title="The correct line and controller descriptions will help you achieve successful connections.">Connect LAN devices</a></div> </div> <div class="relref"><strong>Related reference</strong><br /> <div><a href="rzajylancnntmrandlancnnrty.htm" title="The LAN connection timer (LANCNNTMR) and LAN connection retry (LANCNNRTY) parameters of your controller description define the frequency and persistence of polling the remote station to establish a connection">LANCNNTMR and LANCNNRTY</a></div> <div><a href="rzajyconfailureandcntrlrdesc.htm">Connection failure and controller descriptions</a></div> </div> </div> </body> </html>