ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddm_5.4.0.1/rbae5estcom.htm

71 lines
4.7 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="Establish a DRDA or DDM connection over TCP/IP" />
<meta name="abstract" content="To initiate a DDM server job that uses TCP/IP communications support, the DRDA application requester or DDM source system will connect to the well-known port number 446 or 447." />
<meta name="description" content="To initiate a DDM server job that uses TCP/IP communications support, the DRDA application requester or DDM source system will connect to the well-known port number 446 or 447." />
<meta name="DC.subject" content="TCP/IP communications, establishing" />
<meta name="keywords" content="TCP/IP communications, establishing" />
<meta name="DC.Relation" scheme="URI" content="rbae5sockcon.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="rbae5estcom" />
<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>Establish a DRDA or DDM connection over TCP/IP</title>
</head>
<body id="rbae5estcom"><a name="rbae5estcom"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Establish a DRDA or DDM connection over TCP/IP</h1>
<div><p>To initiate a DDM server job that uses TCP/IP communications support,
the DRDA<sup>®</sup> application
requester or DDM source system will connect to the well-known port number
446 or 447.</p>
<div class="example"> <div class="fignone" id="rbae5estcom__drdaddm"><a name="rbae5estcom__drdaddm"><!-- --></a><span class="figcap">Figure 1. DRDA/DDM TCP/IP server</span><br /><div class="imageleft"><img src="rv4w205.gif" alt="This figure is described in the following text." /></div><br /></div>
</div>
<div class="section"><p>The DDM server also listens on port 448, but only for use with
Secure Sockets Layer (SSL) connections, which are not supported by <span class="keyword">DB2 Universal Database™ for iSeries™</span> application requesters or
DDM clients. <span>1</span>. The DDM listener program must have been
started (by using the <span class="cmdname">STRTCPSVR SERVER(*DDM)</span> command, for
example) to listen for and accept the client's connection request. The DDM
listener, on accepting this connection request, will issue an internal request
to attach the client's connection to a DDM server job <span>2</span>. This server
job might be a prestarted job or, if the user has removed the QRWTSRVR prestart
job entry from the QUSRSYS or user-defined subsystem (in which case prestart
jobs are not used), a batch job that is submitted when the client connection
request is processed. The server job will handle any further communications
with the client.</p>
</div>
<div class="section"><p>The initial data exchange that occurs includes a request that
identifies the user profile under which the server job is to run <span>3</span>.
After the user profile and password (if it is sent with the user profile ID)
have been validated, the server job will swap to this user profile as well
as change the job to use the attributes, such as CCSID, defined for the user
profile <span>4</span>.</p>
</div>
<div class="section"><p>The functions of connecting to the listener program, attaching
the client connection to a server job and exchanging data and validating the
user profile and password are comparable to those performed when an APPC program
start request is processed.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5sockcon.htm" title="Several concepts pertain specifically to the TCP/IP communications support used by DRDA and DDM.">TCP/IP communication support concepts for DDM</a></div>
</div>
</div>
</body>
</html>