ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddp_5.4.0.1/rbal1estcom.htm

76 lines
5.3 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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. The DDM server also listens on port 448, but only for use with connections, which are not supported by DB2 Universal Database for iSeries application requesters or DDM clients." />
<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. The DDM server also listens on port 448, but only for use with connections, which are not supported by DB2 Universal Database for iSeries application requesters or DDM clients." />
<meta name="DC.subject" content="TCP/IP communications, establishing, subsytem, user-defined" />
<meta name="keywords" content="TCP/IP communications, establishing, subsytem, user-defined" />
<meta name="DC.Relation" scheme="URI" content="rbal1sockcon.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/strtcpsvr.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="rbal1estcom" />
<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="rbal1estcom"><a name="rbal1estcom"><!-- --></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. The DDM server also listens on port 448, but only for use with
connections, which are not supported by <span class="keyword">DB2 Universal Database™ for iSeries™</span> application
requesters or DDM clients.</p>
<div class="example"> <div class="fignone" id="rbal1estcom__rbal1drdaddm"><a name="rbal1estcom__rbal1drdaddm"><!-- --></a><span class="figcap">Figure 1. DRDA/DDM TCP/IP server</span><br /><div class="imageleft"><img src="rv4w205.gif" alt="DRDA/DDM TCP/IP Server" /></div><br /></div>
</div>
<div class="section"><p><span>1</span>. The DDM listener program must have been started (by
using the Start TCP/IP Server (STRTCPSVR SERVER(*DDM)) to listen for and accept
the client's connection request.</p>
<p>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>.
</p>
<p>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="rbal1sockcon.htm" title="There are several concepts that pertain specifically to the TCP/IP communications support used by DRDA and DDM.">TCP/IP communication support concepts for DDM</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/strtcpsvr.htm">Start TCP/IP Server (STRTCPSVR) command</a></div>
</div>
</div>
</body>
</html>